{% extends 'weblog/weblog.html' %} {% load i18n %} {% block title_block %} {% if category %} {% if category == 'misc' %} {% trans 'Uncategorized' context 'Posts without category' %} {% else %} {{ category.name }} {% endif %} {% else %} {% trans "Home" context "Home page" %} {% endif %} {% endblock %} {% block blog_content_block %} {% if category %} {% if category == 'misc' %}

{% trans 'Uncategorized posts' context 'Uncategorized page title' %}

{% else %}

{% blocktrans with category_name=category.name context 'Posts in category' %}Posts in {{ category_name }}{% endblocktrans %}

{% endif %} {% elif year %} {% if month %}

{% blocktrans with category_name=category.name context 'Posts from archive (year/month,year)' %}Posts from {{ month }}, {{ year }}{% endblocktrans %}

{% else %}

{% blocktrans with category_name=category.name context 'Posts from archive (year/month,year)' %}Posts from {{ year }}{% endblocktrans %}

{% endif %} {% else %} {% if home_title %}

{{ home_title }}

{% else %}

{{ blog_title }} - {% trans "Home" context "Home page" %}

{% endif %} {% endif %} {% if posts or pinned_posts %} {% if pinned_posts %} {% for post in pinned_posts %}

{% trans 'Important post' %}

{{ post.title }}

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by {% endblocktrans %}{% endif %}


{% if post.preview_image %}{% endif %}

{{ post.preview_text|safe }}


{% trans 'Read more...' %}
{% endfor %} {% endif %} {% if posts %} {% for post in posts %}

{{ post.title }}

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by {% endblocktrans %}{% endif %}


{% if post.preview_image %}{% endif %}

{{ post.preview_text|safe }}


{% trans 'Read more...' %}
{% endfor %} {% if last_page > 1 %} {% if dynamic_load %} {% if not infinite_load %}
{% trans 'Load more...' context 'Load more pages' %}
{% endif %} {% else %} {% endif %} {% endif %} {% endif %} {% else %}

{% trans 'Nothing has been posted yet.' %}

{% endif %} {% if last_page > 1 %} {% if dynamic_load %} {% endif %} {% endif %} {% endblock %}