From f0170202633da5e3d97b93f74d633900975f1b39 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Thu, 10 Jul 2025 16:11:17 -0400 Subject: [PATCH] Adjust footer links --- assets/theme.css | 13 +++++++++++++ docs/config.yaml | 8 ++++---- templates/partials/footer.njk | 4 ++++ 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/assets/theme.css b/assets/theme.css index bf1aea0..bd12f5a 100644 --- a/assets/theme.css +++ b/assets/theme.css @@ -93,6 +93,7 @@ main { text-align: center; padding: 1rem; background: var(--sidebar-bg); + position: relative; } .footer-links { margin-bottom: 0.5rem; @@ -102,6 +103,18 @@ main { text-decoration: none; color: var(--text-color); } +.footer-permanent-links { + position: absolute; + right: 0.5rem; + bottom: 0.25rem; + font-size: 0.8rem; + opacity: 0.7; +} +.footer-permanent-links a { + margin-left: 0.5rem; + text-decoration: none; + color: var(--text-color); +} @media (max-width: 768px) { .sidebar { position: fixed; diff --git a/docs/config.yaml b/docs/config.yaml index e1ced32..dc39613 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -7,7 +7,7 @@ navigation: footer: links: - - text: "GitHub" - url: "https://github.com/PR0M3TH3AN/Archivox" - - text: "Tip Jar" - url: "https://nostrtipjar.netlify.app/?n=npub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx" + - text: "Custom Link 1" + url: "https://example.com" + - text: "Custom Link 2" + url: "https://example.com/other" diff --git a/templates/partials/footer.njk b/templates/partials/footer.njk index 2b89dc2..405bfb7 100644 --- a/templates/partials/footer.njk +++ b/templates/partials/footer.njk @@ -7,4 +7,8 @@ {% endif %}
© {{ config.site.title }}
+