The blog.
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.
 
 
 
 

34 lines
739 B

  1. {% from "macros.j2" import render with context %}
  2. {% extends "base.j2" %}
  3. {% block main -%}
  4. {% mark post -%}
  5. <article class="post">
  6. <h1><a class="no-tufte-underline" href="{{ resource.url }}">{{ resource.meta.title }}</a></h1>
  7. <p>Posted: {{ resource.meta.created.strftime('%B %e, %Y') }} at {{ resource.meta.time }}</p>
  8. {% if resource.meta.tags %}
  9. <ul class="tags clear">
  10. {% for tag in resource.meta.tags %}
  11. <li>
  12. <a class="small" href="{{ content_url('search/label/'~tag~'.html') }}">
  13. {{ tag }}
  14. </a>
  15. </li>
  16. {% endfor %}
  17. </ul>
  18. {% endif %}
  19. <div class="clear"/>
  20. <section>
  21. {% filter markdown|typogrify|rellinktoabs -%}
  22. {% block post -%}{%- endblock %}
  23. {%- endfilter %}
  24. </section>
  25. </article>
  26. {%- endmark %}
  27. {%- endblock %}