-
Notifications
You must be signed in to change notification settings - Fork 74
/
post.html
69 lines (66 loc) · 2.94 KB
/
post.html
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
---
layout: master
---
<div class="container-fluid">
<div class="row">
<div class="hidden-xs col-md-2 blue sidebar">
<aside>
<div class="row">
<div class="col-md-12 text-center">
<h1><a href="{{sit.url}}/blog" style="color:white;text-decoration:none">Blog</a></h1>
</div>
</div>
</aside>
</div>
<div class="col-md-10 col-md-offset-2">
<article class="col-md-12 col-xs-12 justified">
<h1 class="post-title">{{ page.title }}</h1>
<div class="publish-tag">
<span class="fa fa-calendar"></span> Published On {{ page.date | date: "%B %d, %Y" }}
</div>
{{ content }}
<br/>
<span class="fa fa-tag"></span>Tags:
{% if page.tags %}
{% for tag in page.tags %}
<a href="/tags/{{tag}}"><span class="label label-primary">{{tag}}</span></a>
{% endfor %}
{% else %}
None
{% endif %}
<br/><br/>
<h4>Comments:</h4>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'testingblogo';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</article>
<div class="row">
<div class="col-sm-6 col-xs-6 text-left">
{% if page.previous.url %}
<a class="btn btn-primary" href="{{page.previous.url}}">← Previous</a>
{% else %}
<span class="btn btn-primary disabled">← Previous</span>
{% endif %}
</div>
<div class="col-sm-6 col-xs-6 text-right">
{% if page.next.url %}
<a class="btn btn-primary" href="{{page.next.url}}">Next →</a>
{% else %}
<span class="btn btn-primary disabled">Next →</span>
{% endif %}
</div>
</div>
{% include footer.html %}
</div>
</div>
</div>