update theme to support features
This commit is contained in:
parent
1a8ce154b6
commit
7535ee4f32
3 changed files with 12 additions and 2 deletions
|
@ -5,9 +5,14 @@
|
||||||
<body>
|
<body>
|
||||||
{{partial "header" .}}
|
{{partial "header" .}}
|
||||||
<main>
|
<main>
|
||||||
|
<article>
|
||||||
{{ if .Content}}
|
{{ if .Content}}
|
||||||
<article>{{.Content}}</article>
|
{{.Content}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{if .GetTerms "issues"}}
|
||||||
|
{{ partial "issues" .}}
|
||||||
|
{{end}}
|
||||||
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{{partial "footer" .}}
|
{{partial "footer" .}}
|
||||||
</body>
|
</body>
|
||||||
|
|
5
layouts/partials/issues.html
Normal file
5
layouts/partials/issues.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<h2>Raised Issues</h2>
|
||||||
|
{{range .GetTerms "issues"}}
|
||||||
|
<h3><a href="{{.RelPermalink}}">{{.Title}}</a></h3>
|
||||||
|
{{.Content}}
|
||||||
|
{{end}}
|
|
@ -1 +1 @@
|
||||||
Subproject commit 07e4d56f7e42205c761deac89fcb7a0cb41e9371
|
Subproject commit 30eecfe770b684be6527bf1f3cf3827c0f396e07
|
Loading…
Reference in a new issue