FjallaFork2/tpl/category.html

109 lines
4.0 KiB
HTML
Raw Permalink Normal View History

2017-03-29 22:49:38 +02:00
{{tpl:extends parent="__layout.html"}}
<tpl:Block name="head-title">
<title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
</tpl:Block>
<tpl:Block name="meta-robots">
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
</tpl:Block>
<tpl:Block name="meta-entry">
<meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription encode_html="1" cut_string="180" remove_html="1"}}" />
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
</tpl:Block>
<tpl:Block name="head-linkrel">
<tpl:Entries no_content="1">
<tpl:EntriesHeader>
<tpl:Pagination>
<tpl:PaginationIf end="0">
<link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
</tpl:PaginationIf>
<tpl:PaginationIf start="0">
<link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
</tpl:PaginationIf>
</tpl:Pagination>
</tpl:EntriesHeader>
</tpl:Entries>
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
</tpl:Block>
<tpl:Block name="body-tag"><body class="dc-category"></tpl:Block>
<tpl:Block name="main-content">
<div id="content-info">
<h2><tpl:CategoryParents><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:CategoryParents>
{{tpl:CategoryTitle encode_html="1"}}</h2>
{{tpl:CategoryDescription}}
<tpl:CategoryIf has_entries="1">
<p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a>
<tpl:SysIf operator="or" comments_active="1" pings_active="1">
<a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a>
</tpl:SysIf>
</p>
</tpl:CategoryIf>
</div>
<tpl:CategoryFirstChildren>
<tpl:CategoriesHeader>
<div id="subcategories">
<h3>{{tpl:lang Subcategories}}</h3>
<ul>
</tpl:CategoriesHeader>
<li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
<tpl:CategoriesFooter>
</ul>
</div>
</tpl:CategoriesFooter>
</tpl:CategoryFirstChildren>
<tpl:Entries>
<a href="{{tpl:EntryURL}}">
<div id="p{{tpl:EntryID}}" class="post-view {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
<!-- # Entry with an excerpt -->
<tpl:EntryIf extended="1">
<p>
{{tpl:EntryFirstImage size="s" class="right" with_category="1"}}{{tpl:EntryExcerpt remove_html="1" encode_html="1"}}<span class="readmore-ellipsis">...</span>
</p>
</tpl:EntryIf>
<!-- # Entry without excerpt -->
<tpl:EntryIf extended="0">
<p>
{{tpl:EntryFirstImage size="s" class="right" with_category="1"}}{{tpl:EntryContent remove_html="1" encode_html="1" cut_string="300"}}
<span class="readmore-ellipsis">...</span>
</p>
</tpl:EntryIf>
2017-03-29 22:49:38 +02:00
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
</div>
</a>
<tpl:EntriesFooter>
<tpl:Pagination>
<p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">
{{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
<tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
</a></tpl:PaginationIf></p>
</tpl:Pagination>
</tpl:EntriesFooter>
2017-03-29 22:49:38 +02:00
</tpl:Entries>
</tpl:Block>