rss and cleanup
This commit is contained in:
parent
525ad0cd65
commit
1acd421e61
BIN
themes/waterspill-en/static/images/feed-icon-28x28.png
Normal file
BIN
themes/waterspill-en/static/images/feed-icon-28x28.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -40,7 +40,7 @@
|
||||
{% for item in AFTER_MENU %}
|
||||
<li><a href="{{ item.url }}">{{ item.name }}</li>
|
||||
{% endfor %}
|
||||
|
||||
<li><a href="{{ SITEURL }}/{{ FEED_ATOM }}" rel="alternate"><img src="/blog/theme/images/feed-icon-28x28.png" /></li>
|
||||
</ul>
|
||||
|
||||
</div><!-- end #topMenu -->
|
||||
@ -114,10 +114,8 @@
|
||||
<div class="archives">
|
||||
<h2>Archives of {{ SITENAME }}</h2>
|
||||
{% for article in dates %}
|
||||
{% if loop.index > 1 %}
|
||||
<dt>{{ article.locale_date }}</dt>
|
||||
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -1,2 +1,14 @@
|
||||
{% extends "index.html" %}
|
||||
{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
|
||||
{% block content %}
|
||||
{% if articles %}
|
||||
{% for article in articles %}
|
||||
<div class="blogItem">
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<h3>{{ article.locale_date }}</h3>
|
||||
{{ article.content }}
|
||||
<h3 class="blogMeta">{% if not SUPPRESS_ITEM_CATEGORIES %}Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %} | {% if article.tags %} Tags: {% for tag in article.tags %} <span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% if not loop.last %} / {% endif %} </span> {% endfor %}</h3>{% endif %}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock content %}
|
||||
{% block archives %} {% endblock %}
|
||||
|
@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
{% if articles %}
|
||||
{% for article in articles %}
|
||||
{% if loop.index <= 1 %}
|
||||
{% if loop.index <= 3 %}
|
||||
<div class="blogItem">
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<h3>{{ article.locale_date }}</h3>
|
||||
|
@ -13,3 +13,4 @@
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block archives %} {% endblock %}
|
||||
|
@ -1,4 +1,14 @@
|
||||
{% extends "index.html" %}
|
||||
{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
|
||||
{% block archives %}{% endblock %}
|
||||
{% block content %}
|
||||
{% if articles %}
|
||||
{% for article in articles %}
|
||||
<div class="blogItem">
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<h3>{{ article.locale_date }}</h3>
|
||||
{{ article.content }}
|
||||
<h3 class="blogMeta">{% if not SUPPRESS_ITEM_CATEGORIES %}Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %} | {% if article.tags %} Tags: {% for tag in article.tags %} <span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% if not loop.last %} / {% endif %} </span> {% endfor %}</h3>{% endif %}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock content %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user