mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-22 19:29:02 +00:00
Andrew Senetar
b7efae362c
The templates in this commit are now in RC form. Everything but the article templates are ready. Changes include ( no limited to ): - Update stylesheet - Add method in app.js to handle images in documents - Create _author_item.html to display author information and vcard - Update _disqus.html to fit in with site style - Update _page_footer.html for translation support - Add _pagination.html for pagination support - Add _translations.html for translation listing support - Minor updates to archives.html, tags.html - Update base.html to have more flexibility - Update authors.html and author.html to display information - Update category.html and categories.html to use the _list_item.html - Update page translation support + misc - Update tag.html to use _list_item.html
25 lines
686 B
HTML
25 lines
686 B
HTML
{% extends 'base.html' %}
|
|
{% block content_title %}
|
|
<a href="{{ SITEURL }}/index.html" rel="bookmark">{{ SITENAME }}</a>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<p>{{ SITE_DESCR }}</p>
|
|
{% if articles and ARTICLES_ON_INDEX %}
|
|
<h2>Recent Articles:</h2>
|
|
<ul class="item-list">
|
|
{% for article in articles[0:ARTICLES_ON_INDEX] %}
|
|
{% include '_list_item.html' %}
|
|
{% endfor %}
|
|
</ul>
|
|
<p><a href="{{ SITEURL }}/archives.html">View more articles in the Archives...</a></p>
|
|
{% endif %}
|
|
{% if pages and PAGES_ON_INDEX %}
|
|
<h2>Pages:</h2>
|
|
<ul class="inline-list">
|
|
{% for page in pages %}
|
|
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endblock %}
|