commit bcbd22ba8a0be9b3641d3addcdd9608a49472b2b
parent 7926417fc8c9557a95fd19da005fcb650c172cb8
Author: Radek KozieĊ <radoslaw.koziel@gmail.com>
Date: Fri, 9 Jun 2023 23:34:12 +0200
Merge pull request #459 from Thunder33345/patch-1
Show content if available in terms.html
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
@@ -1,6 +1,11 @@
{{ define "main" }}
<div class="terms">
<h1>{{ .Title }}</h1>
+ {{ with .Content }}
+ <div class="index-content">
+ {{ . }}
+ </div>
+ {{ end }}
<ul>
{{ $type := .Type }}
{{ range $key, $value := .Data.Terms.Alphabetical }}