Skip to content

Commit 5774e80

Browse files
author
Tony Wasserka
committed
Enable display of page titles
1 parent 12ccc5a commit 5774e80

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!-- TODO: This is only needed on desktop -->
2+
{{ if .Params.categories }}
3+
<header class="article-category">
4+
{{ range (.GetTerms "categories") }}
5+
<a href="{{ .RelPermalink }}" {{ with .Params.style }}style="background-color: {{ .background }}; color: {{ .color }};"{{ end }}>
6+
{{ .LinkTitle }}
7+
</a>
8+
{{ end }}
9+
</header>
10+
{{ end }}
11+
12+
<h1>{{ .Title }}</h1>

0 commit comments

Comments
 (0)