mirror of
				https://github.com/arsenetar/pelican-red.git
				synced 2025-09-11 19:58:18 +00:00 
			
		
		
		
	The templates now include microformatting from schema.org. The title and content_title blocks are no longer in most templates. This updates the progess on issue #1
		
			
				
	
	
		
			23 lines
		
	
	
		
			655 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			655 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends 'base.html' %}
 | |
| {% block content %}
 | |
| <p>{{ SITE_DESCR }}</p>
 | |
| {% if articles and ARTICLES_ON_INDEX %}
 | |
| <h2>Recent Articles:</h2>
 | |
| <ul class="item-list" itemscope itemtype="http://schema.org/ItemList">
 | |
| <meta name="Recent Articles"/>
 | |
| {% 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 %}
 |