{% if not month %}{{year|date:"Y"}}, on luxagraf{%else%} Archive: {{month|date:"F Y"}}{% endif %}

{% if not month %} -
    {% regroup object_list by pub_date.month as entries_by_month %}{% for entries in entries_by_month %} +
      {% regroup object_list by pub_date.month as entries_by_month %}{% for entries in entries_by_month reversed %}
    • {{ entries.list.0.pub_date|date:"F Y" }}
        {% for post in entries.list %}
      • diff --git a/design/templates/details/entry.amp b/design/templates/details/entry.amp new file mode 100644 index 0000000..6305d46 --- /dev/null +++ b/design/templates/details/entry.amp @@ -0,0 +1,175 @@ +{% load typogrify_tags %} + + + + +{%block pagetitle%}{{object.title}}{%endblock%} + + + + + + + + + + + + + + + + + + + + + + + + {% for image in object.get_images %} + {% endfor %} + + + + + + + + + + + + + + +
        +
        +
        +

        {%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}

        + + + +
        +
        + {{object.body_html|safe|smartypants|widont}} +
        +
        +
        + + + -- cgit v1.2.3-70-g09d2