Do not show author name in article overview
This commit is contained in:
		@@ -6,23 +6,23 @@
 | 
			
		||||
		{% if loop.index > count and count != 0 %}
 | 
			
		||||
			{% break %}
 | 
			
		||||
		{% endif %}
 | 
			
		||||
		{{ self::print_article(page=page) }}
 | 
			
		||||
		{{ self::print_article(page=page, author=false) }}
 | 
			
		||||
	{% endfor %}
 | 
			
		||||
{% endmacro %}
 | 
			
		||||
 | 
			
		||||
{% macro print_article(page) %}
 | 
			
		||||
{% macro print_article(page, author=true) %}
 | 
			
		||||
	<article data-title="{{ page.title | lower }}">
 | 
			
		||||
		<h2><a href="{{ page.permalink }}">{{ page.title }}</a></h2>
 | 
			
		||||
		<p>{{ page.summary | safe }}</p>
 | 
			
		||||
		{{ self::page_info(page=page) }}
 | 
			
		||||
		{{ self::page_info(page=page, author=author) }}
 | 
			
		||||
	</article>
 | 
			
		||||
{% endmacro %}
 | 
			
		||||
 | 
			
		||||
{% macro page_info(page) %}
 | 
			
		||||
{% macro page_info(page, author=true) %}
 | 
			
		||||
	{% if page.date %}
 | 
			
		||||
		<div class="info">
 | 
			
		||||
			<span class="date">{{ page.date }}</span>
 | 
			
		||||
			{%- if page.extra.author -%}
 | 
			
		||||
			{%- if page.extra.author and author -%}
 | 
			
		||||
				, <span class="author">{{ page.extra.author }}</span>
 | 
			
		||||
			{% endif %}
 | 
			
		||||
			{% if page.taxonomies.categories %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user