add link to author pages
This commit is contained in:
parent
bcce0819ec
commit
7b9fb5b995
|
@ -10,7 +10,9 @@
|
|||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
</header>
|
||||
<aside>
|
||||
<span class="author">{{ .Params.author }}</span>
|
||||
{{ if .Params.author }}
|
||||
<a class="author" href="{{ .Site.BaseURL }}author/{{ lower .Params.author }}">{{ .Params.author }}</a>
|
||||
{{ end }}
|
||||
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
||||
</aside>
|
||||
<section>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ if .Truncated }}<a class="more" href="{{ .Permalink }}">read more</a>{{ end }}
|
||||
</nav>
|
||||
<aside>
|
||||
<span class="author">{{ .Params.author }}</span>
|
||||
<a class="author" href="{{ .Site.BaseURL }}author/{{ lower .Params.author }}">{{ .Params.author }}</a>
|
||||
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
||||
</aside>
|
||||
<section class="summary">
|
||||
|
|
Loading…
Reference in New Issue