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
		
			
				
	
	
		
			24 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
|         <div class='pagination-centered'><ul class="pagination">
 | |
|           {% if articles_page.has_previous() %}
 | |
|           {% if articles_page.previous_page_number() == 1 %}
 | |
|           <li class="arrow"><a href="{{ SITEURL }}/{{ page_name }}.html" title="Previous page">«</a></li>
 | |
|           {% else %}
 | |
|           <li class="arrow"><a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html" title="Previous page">«</a></li>
 | |
|           {% endif %}
 | |
|           {% else %}
 | |
|           <li class="arrow unavailable"><a title="Previous page">«</a></li>
 | |
|           {% endif %}
 | |
|           {% for num in range (1, articles_paginator.num_pages + 1) %}
 | |
|           {% if num == articles_page.number %}
 | |
|           <li class="current"><a title="Current page">{{ num  }}</a></li>
 | |
|           {% else %}
 | |
|           <li><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 }}.html">{{ num }}</a></li>
 | |
|           {% endif %}
 | |
|           {% endfor %}
 | |
|           {% if articles_page.has_next() %}
 | |
|           <li class="arrow"><a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html" title="Next page">»</a></li>
 | |
|           {% else %}
 | |
|           <li class="arrow unavailable"><a title="Next page">»</a></li>
 | |
|           {% endif %}
 | |
|         </ul></div>
 |