Add tag & author archives
This commit is contained in:
parent
5598592cfd
commit
c38822e257
5 changed files with 109 additions and 20 deletions
15
tag.hbs
15
tag.hbs
|
@ -4,19 +4,26 @@
|
|||
<div class="gh-container">
|
||||
|
||||
{{#tag}}
|
||||
<header class="page-head">
|
||||
<h1 class="page-head-title">{{name}}</h1>
|
||||
<p class="page-head-description">
|
||||
<header class="gh-page-head">
|
||||
|
||||
<h1>{{name}}</h1>
|
||||
|
||||
<p>
|
||||
{{#if description}}
|
||||
{{description}}
|
||||
{{else}}
|
||||
A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
|
||||
{{/if}}
|
||||
</p>
|
||||
|
||||
{{#if feature_image}}
|
||||
<img class="gh-page-image" src="{{feature_image}}" alt="{{name}}" />
|
||||
{{/if}}
|
||||
|
||||
</header>
|
||||
{{/tag}}
|
||||
|
||||
<div class="post-feed">
|
||||
<div class="gh-postfeed">
|
||||
{{#foreach posts}}
|
||||
|
||||
{{> "card"}} {{!-- partials/card.hbs --}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue