|
|
@ -1,13 +1,13 @@ |
|
|
|
<div class="article-meta"> |
|
|
|
<h1 class="center-text">{{ .Title | markdownify }}</h1> |
|
|
|
<section class="article-header"> |
|
|
|
<h1>{{ .Title | markdownify }}</h1> |
|
|
|
|
|
|
|
{{ $authors := .Params.authors | default (slice .Site.Params.defaultAuthor) }} |
|
|
|
{{ $primaryAuthor := index $authors 0 }} |
|
|
|
|
|
|
|
{{ with $primaryAuthor }} |
|
|
|
<a class="center-text" href={{ printf "/%s/%s" "authors" (urlize .) }}> |
|
|
|
<h2 class="center-text">{{ . }}</h2> |
|
|
|
</a> |
|
|
|
<a class="center-text" href={{ printf "/%s/%s" "authors" (urlize .) }}> |
|
|
|
<h2>{{ . }}</h2> |
|
|
|
</a> |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
{{ .Render "meta-extra" }} |
|
|
@ -18,4 +18,4 @@ |
|
|
|
|
|
|
|
{{ partial "header-image.html" (dict "image" (.Resources.GetMatch .Params.featured.url) "alt" .Params.featured.alt) }} |
|
|
|
|
|
|
|
</div> |
|
|
|
</section> |
|
|
|