commit 74e7e40de1d6fb3f2091d011f7486978e31941f2
parent 9726b8d80658c6cf3c092c21484548aba6f64a68
Author: Thunder <Thunder33345@users.noreply.github.com>
Date: Wed, 26 Apr 2023 23:50:25 +0800
Add option to show content 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 }}