From 24ad49309be5f3dbe1f18087406ee6f2a46d4599 Mon Sep 17 00:00:00 2001 From: holly sparkles Date: Fri, 8 Dec 2023 20:40:04 +0100 Subject: [PATCH] feat: add toggling display of extra links on the index --- statics/sass/style.scss | 5 +++++ templates/index.html | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/statics/sass/style.scss b/statics/sass/style.scss index 58012fe..0be2ab2 100644 --- a/statics/sass/style.scss +++ b/statics/sass/style.scss @@ -99,3 +99,8 @@ a { text-decoration: underline; } } + +.index-link { + font-size: 80%; + padding: 0em 0.5em; +} diff --git a/templates/index.html b/templates/index.html index bab4878..285fc85 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,6 +11,9 @@ Owner {% endif %} Idle + {% if config.enable_index_links %} + Links + {% endif %} @@ -53,6 +56,13 @@ + {% if config.enable_index_links %} + + summary + log + tree + + {% endif %} {%- endfor -%} {%- endfor %} -- libgit2 1.7.2