js-package: blog css-package: blog layout: container
{% if page.previous.url %}
<a href="{{page.previous.url}}" class="previous_post_anchor"> <div class="previous_post"></div> </a>
{% endif %} {% if page.next.url %}
<a href="{{page.next.url}}" class="next_post_anchor"> <div class="next_post"></div> </a>
{% endif %}
<div class=“col-md-9”>
<article class="post-content"> <div class="post-info"> <h1>{{page.title }}</h1> {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %} {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %} {% if page.author %} {% assign author = site.authors | where: 'username' , page.author %} {% assign author = author[0] %} <em> By {% if author %} <a href="{{author.url}}"> <strong> {{author.name}} </strong> </a> {% else %} <strong> {{page.author}} </strong> {% endif %} </em> {% endif %} </div> {{ content }} </article> <hr /> {% comment %} TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled. {% endcomment %} {% include post-tags.html %} {% comment %} COMMENTS - Check to see if comments are toggled for this particular post. {% endcomment %} {% include post-comments.html %}
</div>
{% comment %}
Display a right side bar.
{% endcomment %}
<div class=“col-md-3 blog-sidebar”>
{% include post-sidebar.html %}
</div>