mirror of
				https://github.com/arsenetar/pelican-red.git
				synced 2025-09-11 19:58:18 +00:00 
			
		
		
		
	The following updates are made: - index.html now lists the site description along with X articles - _list_item.html universalizes code for iterating over the articles - _site_social.html is merged into base.html - _google_search.html is added for custom search support - _gosquared.html, _google_analytics.html have minor formatting changes - archives.html displays a one page list of all articles - period_archives.html is removed as it is not planned for implementation atm - tags.html general clean up and tweaks - base.html now has - full rss/atom feed support - disqus comment count support on links (not used yet) - blog links in aside - search in aside
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <li class="row">
 | |
|   <div class="article">
 | |
|     <div class="small-4 columns">
 | |
|       {% if article.image %}
 | |
|       <a class="th" href="{{ SITEURL }}/{{ article.url }}"><img src="{{ SITEURL }}/static/{{article.image}}"/></a>
 | |
|       {% else %}
 | |
|       <a class="th" href="{{ SITEURL }}/{{ article.url }}"><img src="{{ SITEURL }}/{{ FAVICON }}"/></a>
 | |
|       {% endif %}
 | |
|     </div>
 | |
|     <div class="small-12 columns">
 | |
|       <header>
 | |
|         <h3><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title|title }}</a></h3>
 | |
|         {% if not category %}
 | |
|         <div><span>Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></span></div>
 | |
|         {% endif %}
 | |
|         {% if not tag and article.tags -%}
 | |
|         <div>
 | |
|           <span><a title="Tags" href="{{ SITEURL }}/tags.html"><i class="large icon-tag"></i> </a></span>
 | |
|           <ul class="tag-list">
 | |
|             {% for tag in article.tags %}
 | |
|             <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
 | |
|             {% endfor %}
 | |
|           </ul>
 | |
|         </div>
 | |
|         {% endif %}
 | |
|       </header>
 | |
|       <div class="summary"> 
 | |
|         {{ article.summary }}
 | |
|         <span><a href="{{ SITEURL }}/{{ article.url }}" title="Continue Reading"><i class="icon-dot-3"></i></a></span>
 | |
|       </div>
 | |
|       <footer>
 | |
|         <ul class="no-bullet">
 | |
|           <li>Published by <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> on: <abbr class="published" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</abbr></li>
 | |
|           {% if article.modified %}
 | |
|           <li>Last Modified on: <abbr title="{{ article.modified }}">{{ article.modified }}</abbr></li>
 | |
|           {% endif %}
 | |
|         </ul>      
 | |
|       </footer>
 | |
|     </div>
 | |
|   </div>
 | |
| </li>
 |