post-content.html 553 B

123456789101112131415161718192021
  1. <div class="post-header">
  2. <div id="post-meta" class="row">
  3. <div class="col-lg-6">{{post.date|date:longDate}}</div>
  4. {% if post.author %}
  5. <span class="col-lg-6 right">By: {{post.author}}</span>
  6. {% endif %}
  7. </div>
  8. <h2>{{post.title}}</h2>
  9. </div>
  10. <div>
  11. {% if post.toc %}{{post.toc|safe}}{% endif %}
  12. {{post.content|safe}}
  13. </div>
  14. {% if post.tags|not-empty %}
  15. <div id="post-tags">
  16. <b>Tags: </b>
  17. {% for tag in post.tags %}
  18. <a href="{{tag.uri}}">{{tag.name}}</a>
  19. {% endfor %}
  20. </div>
  21. {% endif %}