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.
 
 
 
 

32 lines
700 B

  1. {% macro render(res) %}
  2. {% refer to res.relative_path as post %}
  3. <article class="post">
  4. <h1><a class="no-tufte-underline" href="{{ res.url }}">{{ res.meta.title }}</a></h1>
  5. <p>Posted: {{ res.meta.created.strftime('%B %e, %Y') }}</p>
  6. {% if res.meta.tags %}
  7. <ul class="tags clear">
  8. {% for tag in res.meta.tags %}
  9. <li>
  10. <a class="small" href="{{ content_url('blog/tags/'~tag~'.html') }}">
  11. {{ tag }}
  12. </a>
  13. </li>
  14. {% endfor %}
  15. </ul>
  16. {% endif %}
  17. <div class="clear"/>
  18. {% refer to res.relative_path as post %}
  19. {{ post.post|markdown|typogrify }}
  20. {#
  21. {% filter markdown|typogrify -%}
  22. {% mark post -%}
  23. {% block post -%}{%- endblock %}
  24. {%- endmark %}
  25. {%- endfilter %}
  26. #}
  27. </article>
  28. {% endmacro %}