Merge pull request #459 from Thunder33345/patch-1

Show content if available in terms.html
This commit is contained in:
Radek Kozieł 2023-06-09 23:34:12 +02:00 committed by GitHub
commit bcbd22ba8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,11 @@
{{ define "main" }} {{ define "main" }}
<div class="terms"> <div class="terms">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ with .Content }}
<div class="index-content">
{{ . }}
</div>
{{ end }}
<ul> <ul>
{{ $type := .Type }} {{ $type := .Type }}
{{ range $key, $value := .Data.Terms.Alphabetical }} {{ range $key, $value := .Data.Terms.Alphabetical }}