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