{% extends "snippets/layout.html" %} {% block title %}{{ snippet.title }}{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block body %}
This snippet by {{ snippet.author.name }} can be used freely for anything you like. Consider it public domain. {% if snippet.comments or g.user %}
Comments
{% for comment in snippet.comments %}-
{{ comment.rendered_text }}
{% endfor %}
{% endif %} {% if g.user %}{{ comment.title or "Comment" }} by {{ comment.author.name }} on {{ comment.pub_date.strftime('%Y-%m-%d @ %H:%M') }} {% if g.user.is_admin %} (edit) {% endif %}
Add Comment