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:
parent
cf5d447b87
commit
90cb79d78a
1 changed files with 14 additions and 12 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue