The current Hugo theme for the beetbox.io website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
698 B

<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>{{ . }}</h2>
</a>
{{ end }}
{{ .Render "meta-extra" }}
{{ range (.GetTerms "tags") }}
<a class="small-text" href="{{ .Permalink }}">{{ .LinkTitle }}</a>
{{ end }}
{{ $image := (.Resources.GetMatch .Params.featured.url) }}
{{ partial "image.html" (dict "image" $image "alt" .Params.featured.alt "class" "shadow featured") }}
</section>