You've already forked Ghost-Theme-Source
Header component design details
This commit is contained in:
@@ -15,16 +15,19 @@
|
||||
</figure>
|
||||
{{/if}}
|
||||
<div class="gh-card-wrapper">
|
||||
{{#if primary_tag}}
|
||||
<p class="gh-card-tag">{{primary_tag.name}}</p>
|
||||
{{/if}}
|
||||
<h3 class="gh-card-title" data-title>{{title}}</h3>
|
||||
<p class="gh-card-excerpt" data-body>{{excerpt}}</p>
|
||||
<footer class="gh-card-meta" data-body>
|
||||
{{#if @custom.show_author}}
|
||||
<footer class="gh-card-meta" data-body><!--
|
||||
-->{{#if @custom.show_author}}
|
||||
<span class="gh-card-author">By {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}</span>
|
||||
{{/if}}
|
||||
{{#if @custom.show_post_date}}
|
||||
<time class="gh-card-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
||||
{{/if}}
|
||||
</footer>
|
||||
{{/if}}<!--
|
||||
--></footer>
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
Reference in New Issue
Block a user