 c5a6984ad1
			
		
	
	
	c5a6984ad1
	
	
	
		
			
			- Change archives templates to be clean and present a simple list of all articles - Banner : add bottom margin to space the content - Banner : add specific condition for page, categories and tags respectively DISPLAY_PAGES_ON_MENU, DISPLAY_CATEGORIES_ON_MENU, DISPLAY_TAGS_ON_MENU so the user can fine tune what appears in the menu - Banner : add condition on SITEAVATAR to not display it if it's not defined. Default is None.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends 'index.html' %}
 | ||
| {% block title %}{{ super() }} — Archives {% endblock title %}
 | ||
| 
 | ||
| {% block content %}
 | ||
| <h1>Archives</h1>
 | ||
| {% for article in dates %}
 | ||
| <ul>
 | ||
|     <li><em>{{ article.date.strftime("%Y/%m/%d") }}</em> – <a href="{{ article.url }}">{{ article.title }}</a> par {{ article.author }}</li>
 | ||
| </ul>
 | ||
| {% endfor %}
 | ||
| {% endblock %}
 |