post.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <div class="page-header">
  2. <h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h1>
  3. </div>
  4. <div class="row post-full">
  5. <div class="col-xs-12">
  6. <div class="date">
  7. <span>{{ page.date | date_to_long_string }}</span>
  8. </div>
  9. <div class="content">
  10. {{ content }}
  11. </div>
  12. {% unless page.categories == empty %}
  13. <ul class="tag_box inline">
  14. <li><i class="glyphicon glyphicon-open"></i></li>
  15. {% assign categories_list = page.categories %}
  16. {% include JB/categories_list %}
  17. </ul>
  18. {% endunless %}
  19. {% unless page.tags == empty %}
  20. <ul class="tag_box inline">
  21. <li><i class="glyphicon glyphicon-tags"></i></li>
  22. {% assign tags_list = page.tags %}
  23. {% include JB/tags_list %}
  24. </ul>
  25. {% endunless %}
  26. <hr>
  27. <ul class="pagination">
  28. {% if page.previous %}
  29. <li class="prev"><a href="{{ BASE_PATH }}{{ page.previous.url }}" title="{{ page.previous.title }}">&laquo; Previous</a></li>
  30. {% else %}
  31. <li class="prev disabled"><a>&larr; Previous</a></li>
  32. {% endif %}
  33. <li><a href="{{ BASE_PATH }}">Home</a></li>
  34. {% if page.next %}
  35. <li class="next"><a href="{{ BASE_PATH }}{{ page.next.url }}" title="{{ page.next.title }}">Next &raquo;</a></li>
  36. {% else %}
  37. <li class="next disabled"><a>Next &rarr;</a>
  38. {% endif %}
  39. </ul>
  40. <hr>
  41. {% include JB/comments %}
  42. </div>
  43. </div>