BaySec website source
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.
 
 
 
 
 

55 lines
1.4 KiB

  1. {% extends "base.j2" %}
  2. {% block main -%}
  3. <article class="post">
  4. <nav class="post_nav">
  5. <a class="backlink" href="/">Back to list</a>
  6. <a class="next{{' disabled' if not resource.next_by_time }}"
  7. title="{{ resource.next_by_time.meta.title }}"
  8. {% if resource.next_by_time %}
  9. href="{{ content_url(resource.next_by_time.url) }}"{% endif %}>
  10. Previous</a>
  11. <a class="prev{{' disabled' if not resource.prev_by_time }}"
  12. title="{{ resource.prev_by_time.meta.title }}"
  13. {% if resource.prev_by_time %}
  14. href="{{ content_url(resource.prev_by_time.url) }}"{% endif %}>
  15. Next</a>
  16. <br>
  17. <div id="twitter_share">
  18. <a href="https://twitter.com/share"
  19. class="twitter-share-button"
  20. data-count="vertical"
  21. data-via="{{ tweet_via }}">Tweet</a>
  22. <script type="text/javascript"
  23. src="https://platform.twitter.com/widgets.js"></script>
  24. </div>
  25. </nav>
  26. <h1>{{ resource.meta.title }}</h1>
  27. <time datetime="{{ resource.meta.created.strftime('%Y-%m-%d') }}">
  28. Posted: {{ resource.meta.created.strftime('%a, %d %b %Y') }}
  29. </time>
  30. {% if resource.meta.tags %}
  31. <ul class="tags clear">
  32. {% for tag in resource.meta.tags %}
  33. <li>
  34. <a class="small" href="{{ content_url('blog/tags/'~tag~'.html') }}">
  35. {{ tag }}
  36. </a>
  37. </li>
  38. {% endfor %}
  39. </ul>
  40. {% endif %}
  41. <div class="clear"/>
  42. <br/>
  43. {% filter markdown|typogrify -%}
  44. {% mark post -%}
  45. {% block post -%}{%- endblock %}
  46. {%- endmark %}
  47. {%- endfilter %}
  48. </article>
  49. {%- endblock %}