Added tag page
[editorial.git] / page-tag.hbs
1 {{!< default}}
2 {{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
3
4 {{!-- The big featured header, it uses blog cover image as a BG if available --}}
5 {{#post}}
6
7 <section>
8
9
10 <header class="main content">
11 <h1>{{title}}</h1>
12 </header>
13
14 {{#if feature_image}}
15 <div class="image main"><img src="{{img_url feature_image}}" alt="{{title}}" /></div>
16 {{/if}}
17
18 <div class="content">
19 {{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}}
20 {{#foreach tags}}
21 {{!-- The tag below includes the markup for each tag - partials/tag-card.hbs --}}
22 {{> "tag-card"}}
23 {{/foreach}}
24 {{/get}}
25 </div>
26
27 </section>
28
29
30
31 {{!-- The main content area --}}
32 {{!--
33 <main id="site-main" class="site-main outer">
34 <style scoped>
35 .inner-page-tags {
36 margin-top: inherit;
37 }
38
39 @media (min-width: 900px) {
40 .inner-page-tags {
41 margin-top: -8vw;
42 }
43 }
44 </style>
45 <div class="inner inner-page-tags">
46 <div class="post-feed">
47 {{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}}
48 {{#foreach tags}}
49 {{> "tag-card"}}
50 {{/foreach}}
51 {{/get}}
52 </div>
53 </div>
54 </main>
55 --}}
56 {{/post}}