Center-align post layouts, too.
This commit is contained in:
parent
e6c6808df3
commit
9e938fd507
@ -1,38 +1,37 @@
|
||||
{% 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="container">
|
||||
<div class="col-md-3 hidden-xs">
|
||||
{% include sidebar.html %}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="article">
|
||||
<div class="">
|
||||
<h1><a href="{{ site.baseurl}}{{ page.url }}">{{ page.title }}</a></h1>
|
||||
<time>{{ page.date | date: "%b %-d, %Y" }}</time>
|
||||
{% if site.comments == true and page.comments == true and site.disqus != '' %}
|
||||
{% 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 %}
|
||||
<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>
|
||||
{% if page.previous %}
|
||||
<a class="btn btn-default" href="{{ site.baseurl}}{{ page.previous.url }}" class="previous">Older Post</a>
|
||||
{% 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>
|
||||
|
Reference in New Issue
Block a user