mirror of
				https://github.com/arsenetar/pelican-red.git
				synced 2025-09-11 19:58:18 +00:00 
			
		
		
		
	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
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends 'base.html' %}
 | |
| {% block title %}{{ super() }} - Archives{% endblock %}
 | |
| {% block content_title %}<a href="{{ SITEURL }}/{{ page_name }}.html" rel="bookmark" title="Permalink to archives">Archives</a>{% endblock %}
 | |
| {% block content %}
 | |
| <dl class="item-list">
 | |
| {% for article in articles %}
 | |
| <dt><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dt>
 | |
| <dd>Published: <abbr class="published" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</abbr> by <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a></dd>
 | |
| {% if article.modified %}
 | |
| <dd>Last modified on: <abbr class="modified" title="{{article.modified}}">{{ article.modified }}</abbr></dd>
 | |
| {% endif %}
 | |
| <dd>Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></dd>
 | |
| {% if article.tags %}
 | |
| <dd>Tags: 
 | |
| {% for tag in article.tags %}
 | |
| <a href="{{ SITEURL }}/{{ tag.url }}">{{tag}}</a>
 | |
| {% if not loop.last %}
 | |
| ,
 | |
| {% endif %} 
 | |
| {% endfor %}</dd>
 | |
| {% endif %}
 | |
| {% endfor %}
 | |
| </dl>
 | |
| {% endblock %}
 |