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.
 
 
 
 

36 lines
758 B

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