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
		
			
				
	
	
		
			17 lines
		
	
	
		
			577 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			577 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends 'base.html' %}
 | |
| {% block title %}{{ super() }} - Categories{% endblock %}  
 | |
| {% block content_title %}<a href="{{ SITEURL }}/{{ page_name }}.html" rel="bookmark">Categories</a>{% endblock %}
 | |
| {% block content %}
 | |
| <h2>Recent Articles by Category</h2>
 | |
| {% for cat, articles in categories %}
 | |
| <h3><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></h3>
 | |
| <ul class="item-list">
 | |
| {% for article in articles[0:3] %}
 | |
| {% include '_list_item.html' %}
 | |
| {% endfor %}
 | |
| <p><a href="{{ SITEURL }}/{{ cat.url }}">View all articles in {{ cat }}...</a></p>
 | |
| </ul>
 | |
| {% endfor %}
 | |
| {% endblock %}
 | |
| 
 |