{{tpl:extends parent="__layout.html"}}

<tpl:Block name="head-title">
    <title>{{tpl:TagID encode_html="1"}} &lsaquo; {{tpl:BlogName encode_html="1"}}</title>
</tpl:Block>

<tpl:Block name="head-description">
    <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:lang Posts for which the tag &quot;}}{{tpl:TagID encode_html="1"}}{{tpl:lang &quot; is assigned}}">
</tpl:Block>

<tpl:Block name="head-link-loop">
    <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>
</tpl:Block>

<tpl:Block name="head-link-feeds">
    <link rel="alternate" type="application/atom+xml" title="{{tpl:lang Posts feed for this tag}}" href="{{tpl:TagFeedURL type="atom"}}">
    <link rel="alternate" type="application/atom+xml" title="{{tpl:lang Comments feed for this tag}}" href="{{tpl:TagFeedURL type="atom"}}/comments">
</tpl:Block>

<tpl:Block name="head-link-various"></tpl:Block>

<tpl:Block name="main-content">
    <div id="content-info">
        <h1 class="content-title">{{tpl:TagID}}</h1>

        {{tpl:TagDescription}}
    </div>
    <tpl:Entries>
        {{tpl:include src="_entry-excerpt.html"}}

        <tpl:EntriesFooter>
            {{tpl:include src="_pagination.html"}}
        </tpl:EntriesFooter>
    </tpl:Entries>
</tpl:Block>