Build a beautiful and simple website in literally minutes. Demo at http://deanattali.com/beautiful-jekyll
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB

9 years ago
9 years ago
9 years ago
9 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
  1. ---
  2. layout: base
  3. ---
  4. {% include header.html type="post" %}
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
  8. <article role="main" class="blog-post">
  9. {{ content }}
  10. </article>
  11. {% if page.tags.size > 0 %}
  12. <div class="blog-tags">
  13. Tags:
  14. {% if site.link-tags %}
  15. {% for tag in page.tags %}
  16. <a href="/tag/{{ tag }}">{{ tag }}</a>
  17. {% endfor %}
  18. {% else %}
  19. {{ page.tags | join: ", " }}
  20. {% endif %}
  21. </div>
  22. {% endif %}
  23. {% if page.social-share %}
  24. {% include social-share.html %}
  25. {% endif %}
  26. <ul class="pager blog-pager">
  27. {% if page.previous.url %}
  28. <li class="previous">
  29. <a href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
  30. </li>
  31. {% endif %}
  32. {% if page.next.url %}
  33. <li class="next">
  34. <a href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
  35. </li>
  36. {% endif %}
  37. </ul>
  38. {% if page.comments %}
  39. <div class="disqus-comments">
  40. {% include disqus.html %}
  41. </div>
  42. {% endif %}
  43. </div>
  44. </div>
  45. </div>