From 32317404bf47ac9db34f954ab74a9e400dc32037 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 23 May 2022 17:40:10 +0300 Subject: templates: add a banner for Kittybox in the footer Now everyone will know where to get my software if they see it. --- src/frontend/style.css | 3 +++ templates/src/templates.rs | 7 +++++++ 2 files changed, 10 insertions(+) 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" + } + } + } } } } -- cgit 1.4.1