Also support "last X" REST interface
This commit is contained in:
61
templates/moz-modern/index.tpl
Normal file
61
templates/moz-modern/index.tpl
Normal file
@ -0,0 +1,61 @@
|
||||
{if $is_embedded != true}
|
||||
{if $is_xhtml}
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
{else}
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
{/if}
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
|
||||
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
|
||||
<link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
|
||||
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
|
||||
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
|
||||
{if $entry_id}
|
||||
<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}" />
|
||||
{/if}
|
||||
|
||||
{serendipity_hookPlugin hook="frontend_header"}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{else}
|
||||
{serendipity_hookPlugin hook="frontend_header"}
|
||||
{/if}
|
||||
|
||||
<div id="serendipity_banner">
|
||||
<h1><a class="homelink1" href="{$serendipityBaseURL}">{$head_title|@default:$blogTitle}</a></h1>
|
||||
<h2><a class="homelink2" href="{$serendipityBaseURL}">{$head_subtitle|@default:$blogDescription}</a></h2>
|
||||
</div>
|
||||
|
||||
<div id="mainpane">
|
||||
{if $leftSidebarElements > 0}
|
||||
<div id="serendipityLeftSideBar">{serendipity_printSidebar side="left"}</div>
|
||||
{/if}
|
||||
|
||||
{if $rightSidebarElements < 1}
|
||||
<div id="content_left">
|
||||
{elseif $leftSidebarElements < 1}
|
||||
<div id="content_right">
|
||||
{else}
|
||||
<div id="content">
|
||||
{/if}
|
||||
{$CONTENT}
|
||||
{$raw_data}
|
||||
</div>
|
||||
|
||||
{if $rightSidebarElements > 0}
|
||||
<div id="serendipityRightSideBar">{serendipity_printSidebar side="right"}</div>
|
||||
{/if}
|
||||
|
||||
<div id="copyright">Powered by <a href="http://www.s9y.org/">serendipity</a>, Design by <a href="http://supergarv.de/">Garvin Hicking</a>. Smile, you're on the candid credit line!</div>
|
||||
</div>
|
||||
{serendipity_hookPlugin hook="frontend_footer"}
|
||||
{if $is_embedded != true}
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
Reference in New Issue
Block a user