{% extends "_common/base.html" %} {% block css %} {% load avatar_tags %}{% load day_util %} {% load page_tag %} /* class to hide content visually leaving it available to screenreaders. See notes in cookbook recipe. https://github.com/h5bp/html5-boilerplate/issues/1985#issuecomment-394096182 https://medium.com/@matuzo/writing-css-with-accessibility-in-mind-8514a0007939 */ .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: auto; margin: 0; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; } nav { display: flex; justify-content: right; border-top: 1px solid #eee; margin-top: 1em; padding-top: .5em; } .pagination { list-style: none; margin: 0; padding: 0; display: flex; } .pagination li { margin: 0 1px; } .pagination a { display: block; padding: .5em 1em; border: 1px solid #999; border-radius: .2em; text-decoration: none; } .pagination a[aria-current="page"] { background-color: #333; color: #fff; } {% endblock %} {% block container %}

{{ current_category }}

{% for item in articles %} {% if item.type == 1 %}
{{ item.created_time | days_until }}
{{ item.intro }}    Tags: {% for tag in item.tags %} {{ tag }} {% endfor %}
{% elif item.type == 2 %}
{{ item.created_time | days_until }}
{% autoescape off %}
{{ item.html_text }}
{% endautoescape %}
{% endif %} {% endfor %}

归档

{% for record in records %} {{ record.datetime }} ({{ record.count }}) {% endfor %}

Top

{% for tag in tags %} {{ tag.name }} ({{ tag.count }}) {% endfor %}
{% endblock %} {% block js %} {% endblock %} {% load static %}