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>
|
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||||
</header>
|
</header>
|
||||||
<aside>
|
<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>
|
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
||||||
</aside>
|
</aside>
|
||||||
<section>
|
<section>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{{ if .Truncated }}<a class="more" href="{{ .Permalink }}">read more</a>{{ end }}
|
{{ if .Truncated }}<a class="more" href="{{ .Permalink }}">read more</a>{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
<aside>
|
<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>
|
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
||||||
</aside>
|
</aside>
|
||||||
<section class="summary">
|
<section class="summary">
|
||||||
|
|
Loading…
Reference in New Issue