You've already forked Ghost-Theme-Source
Archive page
This commit is contained in:
@@ -5,9 +5,19 @@
|
||||
|
||||
<main class="gh-main">
|
||||
<div class="gh-feed">
|
||||
{{#foreach posts from="8" limit="9"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{#match @custom.header_style "Highlight"}}
|
||||
{{#foreach posts from="11" limit="9"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{else match @custom.header_style "Magazine"}}
|
||||
{{#foreach posts from="8" limit="9"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="9"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@@ -30,5 +40,9 @@
|
||||
</aside>
|
||||
{{/if}}
|
||||
|
||||
<div class="gh-more">
|
||||
<a href="/page/2">See all →</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user