-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.hbs
executable file
·96 lines (76 loc) · 2.9 KB
/
index.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{{!< default}}
<header class="activeSnap">
<nav id="titlebar">
<a id="overview-button" class="bc" href="#"><b>O</b><span>verview</span></a>
<a id="subscrib-button" class="bc subscribe icon-feed" href="{{@blog.url}}/rss/"><b>S</b><span>ubscribe</span></a>
<div id="header-cover" {{#if @blog.cover}}style="background-image:url({{@blog.cover}})"{{/if}}>
{{#if @blog.cover}}<img src="{{@blog.cover}}">{{/if}}
</div>
</nav>
<div id="header-inner">
{{#if @blog.logo}}
<a id="blog-logo" href="{{@blog.url}}">
<img class="bc" src="{{@blog.logo}}" alt="Blog Logo" />
</a>
{{/if}}
<h1 class="bc">{{@blog.title}}</h1>
<h2 class="bc">{{@blog.description}}</h2>
<nav id="social">
</nav>
</div>
</header>
<main role="main">
{{#foreach posts}}
{{!#unless first}}
<div class="next-article">
<a class="bc" href="{{url}}"><span>⇊</span> {{{title}}}</a>
</div>
{{!/unless}}
<article class="{{post_class}}{{#if @first}} first{{/if}}{{#if @last}} last{{/if}}">
<header class="activeSnap">
<h2><a href="{{url}}">{{{title}}}</a></h2>
<div class="meta">
<section class="author">
<span>By</span>
{{author.name}}
</section>
<section class="date">
<span>Date</span>
<time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time>
</section>
<section class="comments">
<span>Reaction</span>
<a href="{{url}}#disqus_thread">0 Comments</a>
</section>
{{#if tags}}
<section class="tags">
<span>Tags</span>
#{{tags separator=" #"}}
</section>
{{/if}}
</div>
<div class="header-cover"></div>
</header>
<section class="content">
{{content}}
</section>
<section class="column-content"></section>
<div class="more">
<a class="more-button" href="#">read more <span>⇶</span></a>
</div>
</article>
<div class="prev-article bc">
<a href="{{url}}">{{{title}}}</a>
</div>
{{/foreach}}
{{pagination}}
<footer>
<div id="footer-inner">
<section class="copyright">All content copyright <a href="/">{{@blog.title}}</a> © 2013 • All rights reserved.</section>
<section class="poweredby">Proudly published with <a class="icon-ghost" href="http://ghost.org">Ghost</a> <br> <span>⟁</span> ghostrider
<br>
</section>
</div>
{{#if @blog.cover}}<img src="{{@blog.cover}}">{{/if}}
</footer>
</main>