diff options
author | Vika <vika@fireburn.ru> | 2022-05-23 17:40:10 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-05-23 18:22:07 +0300 |
commit | 32317404bf47ac9db34f954ab74a9e400dc32037 (patch) | |
tree | b9ae9bacec506da70173b9bca46650fc099d30ab | |
parent | f983a0fb9b6326eabf13476dbc5f84f7f6f6322a (diff) | |
download | kittybox-32317404bf47ac9db34f954ab74a9e400dc32037.tar.zst |
templates: add a banner for Kittybox in the footer
Now everyone will know where to get my software if they see it.
-rw-r--r-- | src/frontend/style.css | 3 | ||||
-rw-r--r-- | templates/src/templates.rs | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/frontend/style.css b/src/frontend/style.css index 0c8d94c..109bba0 100644 --- a/src/frontend/style.css +++ b/src/frontend/style.css @@ -72,6 +72,9 @@ body > main { margin: auto; padding: .75rem; } +body > footer { + text-align: center; +} .sidebyside { display: flex; flex-wrap: wrap; diff --git a/templates/src/templates.rs b/templates/src/templates.rs index 53b0965..44e6042 100644 --- a/templates/src/templates.rs +++ b/templates/src/templates.rs @@ -66,6 +66,13 @@ markup::define! { main { @markup::raw(content) } + footer { + p { + "Powered by " a[href="https://sr.ht/~vikanezrimaya/kittybox"] { + "Kittybox" + } + } + } } } } |