diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-10 00:58:29 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-10 00:58:29 +0100 |
| commit | 7d6f278ebf42442e3909eb326be5a7c8ba20412a (patch) | |
| tree | a8a024cae60436437d790a889c59e0b212ba17c5 /templates | |
| parent | 6a177e466334086b26689429e3da5a8bfba449de (diff) | |
feat(legal): credits page
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 |
