mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 10:28:04 +00:00
Merge pull request #248 from ErisDS/hannahs-fixes
Minor consistency fixups
This commit is contained in:
commit
531eacc180
@ -7,7 +7,7 @@
|
|||||||
{{#foreach posts}}
|
{{#foreach posts}}
|
||||||
<article class="{{post_class}}">
|
<article class="{{post_class}}">
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
|
<h2 class="post-title"><a href="{{url}}">{{title}}</a></h2>
|
||||||
</header>
|
</header>
|
||||||
<section class="post-excerpt">
|
<section class="post-excerpt">
|
||||||
<p>{{excerpt words="26"}} <a class="read-more" href="{{url}}">»</a></p>
|
<p>{{excerpt words="26"}} <a class="read-more" href="{{url}}">»</a></p>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="{{author.name}}" nopin="nopin" />{{/if}}
|
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="{{author.name}}" nopin="nopin" />{{/if}}
|
||||||
{{author}}
|
{{author}}
|
||||||
{{tags prefix=" on "}}
|
{{tags prefix=" on "}}
|
||||||
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
|
<time class="post-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMMM YYYY"}}</time>
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
2
post.hbs
2
post.hbs
@ -21,7 +21,7 @@
|
|||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h1 class="post-title">{{title}}</h1>
|
<h1 class="post-title">{{title}}</h1>
|
||||||
<section class="post-meta">
|
<section class="post-meta">
|
||||||
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time> {{tags prefix=" on "}}
|
<time class="post-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMMM YYYY"}}</time> {{tags prefix=" on "}}
|
||||||
</section>
|
</section>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
10
tag.hbs
10
tag.hbs
@ -10,16 +10,18 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</nav>
|
</nav>
|
||||||
<div class="vertical">
|
<div class="vertical">
|
||||||
|
{{#tag}}
|
||||||
<div class="main-header-content inner">
|
<div class="main-header-content inner">
|
||||||
<h1 class="page-title">{{tag.name}}</h1>
|
<h1 class="page-title">{{name}}</h1>
|
||||||
<h2 class="page-description">
|
<h2 class="page-description">
|
||||||
{{#if tag.description}}
|
{{#if description}}
|
||||||
{{tag.description}}
|
{{description}}
|
||||||
{{else}}
|
{{else}}
|
||||||
A {{pagination.total}}-post collection
|
A {{../pagination.total}}-post collection
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
{{/tag}}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user