diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base/base.gohtml | 1 | ||||
| -rw-r--r-- | templates/page/credits.gohtml | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml index 003eab1..8546d67 100644 --- a/templates/base/base.gohtml +++ b/templates/base/base.gohtml @@ -14,6 +14,7 @@ <div class="credits"> <p>Crafted by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a></p> <p><a href="{{ .Data.Legal.LegalInformationLink }}">Legal information</a></p> + <p><a href="/credits">Credits</a></p> </div> <script type="module" src="{{getAssetPath "index.js"}}" defer></script> </body> diff --git a/templates/page/credits.gohtml b/templates/page/credits.gohtml new file mode 100644 index 0000000..c3ed576 --- /dev/null +++ b/templates/page/credits.gohtml @@ -0,0 +1,14 @@ +{{define "body"}} + <div class="credits-legal"> + <h2>Credits</h2> + <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 }} + </div> +{{end}}
\ No newline at end of file |
