Simplified setting the title tag, added author and date to posts, TODO make optional. Ordering of meta tags. Fixes for alternate outputs like RSS.

This commit is contained in:
Fredrik Jonsson 2017-05-17 22:44:15 +02:00
commit 90cb79d78a

View file

@ -1,6 +1,10 @@
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} list-view">
<header>
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a><h2>
<p class="submitted">
{{ with $.Param "author" }}<span class="author">{{ . }}</span> – {{ end -}}
<span class="created-date">{{ .Date.Format "2 January, 2006" }}</span>
</p>
</header>
<div>
{{ .Summary }}