This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
54 lines (50 loc) · 1.7 KB
/
post.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
{{!< default}}
{{#post}}
<header class="featured"
style="background: linear-gradient(to top, rgba(0,0,0,.2), rgba(0,0,0,.3)), url({{feature_image}}) no-repeat center / cover, #111111">
<div class="container">
<div class="featured-container">
<aside class="meta">
<a href="{{primary_tag.url}}" class="feature-tag">
{{> "icons/tag"}}
{{primary_tag.name}}
</a>
<span class="readingtime">
{{> "icons/readtime"}}
{{reading_time}}
</span>
</aside>
<h1 class="feature-headline">{{title}}</h1>
{{#if custom_excerpt}}
<p class="feature-preview">{{custom_excerpt}}</p>
{{/if}}
<aside class="meta text">
<span>by</span><a href="{{primary_author.url}}" class="author"><span class="special">{{primary_author.name}}</span></a><span>on</span>
<span class="special">{{date published_at format="DD. MMMM YYYY"}}</span></aside>
</div>
</div>
</div>
</header>
<div class="container">
<article class="main {{post_class}}">
{{content}}
</article>
</div>
{{!-- Uncomment the code below, if you want to add Disqus Commenting --}}
{{!--<div class="container">
<section id="disqus_thread" class="comments"></section>
</div>
<script>
var disqus_config = function () {
this.page.url = "{{url absolute="true"}}";
this.page.identifier = "ghost-{{comment_id}}"
};
(function () {
var d = document, s = d.createElement('script');
s.src = 'https://CHANGE-THIS.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>--}}
{{!-- Make sure to replace CHANGE-THIS with your unique Disqus site shortname --}}
{{/post}}