-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
48 lines (39 loc) · 1.56 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
{{!< default}}
{{> header}}
<!-- Everything inside the #post tags pulls data from the post -->
{{#post}}
<div class = "container">
<article class="{{post_class}}">
<section class="post-content">
<!-- Hidden post url for cover image link, used by javascript -->
<div class = "issue-info"><span class = "issue-no">no</span> {{date format = 'MMMM YYYY'}}</div>
<div class = "issue-number"><h5>{{date format = 'D'}}</h5></div>
<div class = "publication-info">PRINTED IN NY</div>
<!-- Main content inserted here -->
{{content}}
<section class="post-meta">
tags | {{tags}}
</section>
</section>
</article>
<div id="disqus_thread"></div>
</div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
var disqus_config = function () {
this.page.url = '{{url absolute="true"}}';
this.page.identifier = 'ghost-{{comment_id}}';
console.log('{{url absolute="true"}}');
console.log('ghost-{{comment_id}}');
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://sanminimal.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{{/post}}