{{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">
	<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />

	<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>

		<link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
	</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 class="post">
		    <h2 class="post-title">&#187; {{tpl:lang Category}} : <tpl:CategoryParents><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:CategoryParents>{{tpl:CategoryTitle encode_html="1"}}</h2>
		<div class="entry">{{tpl:CategoryDescription}}</div>

     <tpl:CategoryIf has_entries="1">
		<div class="metacat">
        <div class="cat">
        <!-- # cat/ss-cat -->
          <tpl:CategoryFirstChildren>
		      <tpl:CategoriesHeader><p>{{tpl:lang Subcategories}}<span class="item"></tpl:CategoriesHeader><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a><tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition>
		      <tpl:CategoriesFooter></span></p></tpl:CategoriesFooter>
          </tpl:CategoryFirstChildren>
         <!-- # flux -->
		      <img alt="{{tpl:lang This category's entries Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><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></span>
		      <tpl:SysIf comments_active="1">
		      <img alt="{{tpl:lang This category's comments Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><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></span>
		      </tpl:SysIf>
        </div>
    </div>
		  </tpl:CategoryIf>
		  
      </div>
      
	    <tpl:Entries>
    <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">

		<h2 class="post-title"><a
		href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>

	    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
	    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
    
		<!-- # Entry with an excerpt -->
		<tpl:EntryIf extended="1">
		  <div class="entry">{{tpl:EntryExcerpt}}</div>
		  <p class="read-it"><a href="{{tpl:EntryURL}}"
		  title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
		  reading}}</a><span class="readmore-ellipsis">...</span></p>
		</tpl:EntryIf>

		<!-- # Entry without excerpt -->
		<tpl:EntryIf extended="0">
		  <div class="entry">{{tpl:EntryContent}}</div>
		</tpl:EntryIf>

	    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
	    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
      
      <div class="meta">
        <ul>
          <!-- # item auteur -->
          <li>{{tpl:lang By}} <span class="author">{{tpl:EntryAuthorLink}}</span> | {{tpl:EntryDate}} | {{tpl:EntryTime}}</li>

	        <!-- # item comm cat tags -->
	        <li>
          <!-- # comm -->	
      		<tpl:EntryIf show_comments="1">{{tpl:lang Comments}}<span class="item"><a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a></span></tpl:EntryIf> 
      		<!-- # cat -->	
      		<tpl:EntryIf has_category="1">{{tpl:lang Category}}<span class="item"><tpl:EntryCategoriesBreadcrumb><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:EntryCategoriesBreadcrumb><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span></tpl:EntryIf> 
      	  <!-- # tag -->
          <tpl:EntryTags>
		      <tpl:TagsHeader>{{tpl:lang Tags}}<span class="item"></tpl:TagsHeader><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a><tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition>
		      <tpl:TagsFooter></span></tpl:TagsFooter>
		      </tpl:EntryTags>
          </li>
          <!-- # item rss-comm rss-ping attach -->
          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
          <li>
          </tpl:EntryIf>
          <tpl:EntryIf comments_active="1">
					<img alt="{{tpl:lang This post's comments Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><a href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></span>
          </tpl:EntryIf>
          <tpl:EntryIf pings_active="1">
		      <img alt="{{tpl:lang Trackback}}" src="{{tpl:BlogThemeURL}}/images/icons/trackback-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#pings" rel="trackback" title="{{tpl:lang Trackback}}">{{tpl:EntryPingCount}}</a></span>
          </tpl:EntryIf>
		    	<tpl:EntryIf has_attachment="1">
          <img alt="{{tpl:lang Attachments}}" src="{{tpl:BlogThemeURL}}/images/icons/download-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#attachments">{{tpl:EntryAttachmentCount}}</a></span>
          </tpl:EntryIf>
          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
          </li>
          </tpl:EntryIf>	
        </ul>
      </div>

	      </div> <!-- end #post -->

	      <tpl:EntriesFooter>
		<tpl:Pagination>
		  <p class="navigation">
		    <tpl:PaginationIf end="0">
		      <span class="alignleft">&#171; <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">{{tpl:lang previous entries}}</a></span>
		    </tpl:PaginationIf>
		    <tpl:PaginationIf start="0">
		      <span class="alignright"><a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}</a> &#187;</span></tpl:PaginationIf>
		  </p>
		</tpl:Pagination>
	      </tpl:EntriesFooter>
	    </tpl:Entries>
</tpl:Block>