forked from TryGhost/Headline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive.hbs
38 lines (34 loc) · 1.45 KB
/
archive.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{{!< default}}
<main class="gh-main gh-outer">
<div class="gh-inner">
<section class="welcome">
<p>Hola turista!</p>
<p>Podrás ver más artículos aumentando tu karma, luego de contribuir con tiempo o dinero en lo que hacaemos 🧡</p>
</section>
<section class="gh-topic ms-archive">
<h2>Post Archive</h3>
{{#get "tags" limit="all" }}
<div class="gh-topic-list">
{{#foreach tags }}
{{! We don't re-use the topic-minimal partial because
we use "limit=all" here instead of "limit=5" }}
<section class="gh-topic gh-topic-minimal">
<header class="gh-topic-header">
<h2 class="gh-topic-name">
<a href="{{url}}">{{name}}</a>
</h2>
</header>
<div class="gh-topic-content">
{{#get "posts" include="tags,authors" filter="tag:{{slug}}" limit="all"}}
{{#foreach posts}}
{{> "loop-minimal"}}
{{/foreach}}
{{/get}}
</div>
</section>
{{/foreach}}
</div>
{{/get}}
</section>
</div>
</main>