boxes/_layouts/post.html
2014-12-23 22:50:09 +01:00

41 lines
1.6 KiB
HTML

{% include header.html %}
<div class="container container-left">
<div class="row">
<div class="col-md-3 hidden-xs">
{% include sidebar.html %}
</div>
<div class="col-md-9">
<div class="article">
<div class="well">
<h1><a href="{{ site.baseurl}}{{ page.url }}">{{ page.date | date: "%b %-d, %Y" }} - {{ page.title }}</a></h1>
{% if site.comments == true and page.comments == true and site.disqus != '' %}
<p class="author"><a href="#disqus_thread">Comments</a></p>
{% endif %}
<div class="post-content">
{{ content }}
</div>
{% if page.comments %}
<div id="disqus_thread">
<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>
</div>
{% endif %}
</div>
</div>
<div class="pagination">
{% if page.next %}
<a class="btn btn-default" href="{{ site.baseurl}}{{ page.next.url }}" class="next">Newer Post</a>
{% endif %}
{% if page.previous %}
<a class="btn btn-default" href="{{ site.baseurl}}{{ page.previous.url }}" class="previous">Older Post</a>
{% endif %}
</div>
</div>
</div>
</div>
{% include disqus-comments.html %}
{% include footer.html %}