refactor(pages): use html instead of json to render legal
This commit is contained in:
parent
f98647cabb
commit
2d74d8afc3
4 changed files with 18 additions and 45 deletions
|
@ -1,19 +1,11 @@
|
|||
{{define "body"}}
|
||||
<div class="credits-legal" style="{{ .GetBackground }}">
|
||||
<h2>Legal information</h2>
|
||||
<p>
|
||||
Other legal information are available <a href="{{ .Legal.LegalInformationLink }}" target="_blank">here</a>.
|
||||
</p>
|
||||
<p>
|
||||
The software behind this website was made by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a>.
|
||||
It is available on <a href="https://github.com/anhgelus/now">GitHub</a> for free and licensed under the
|
||||
<a href="https://github.com/anhgelus/now/blob/main/LICENSE" target="_blank">AGPL</a> license.
|
||||
</p>
|
||||
<h3>Image credits</h3>
|
||||
{{ range $s := .Legal.ImagesSource }}
|
||||
<p>{{ . }}</p>
|
||||
{{ end }}
|
||||
<h3>Font credits</h3>
|
||||
<p>{{ .Legal.FontSource }}</p>
|
||||
{{ .GetLegal }}
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue