From 2bb4eb9ee2ee8f2dd9e2f794fb344d5bcc2577de Mon Sep 17 00:00:00 2001 From: vvzen <10340139+vvzen@users.noreply.github.com> Date: Sun, 9 Jun 2024 11:25:38 +0200 Subject: [PATCH] feat: Change RSS icon, do not prepend {{name}} There's some css rules for which prepending the name of the menu item as set in the config causes the element to appear shifted down compared to the other elements of the menu. I might have a look later, but for now this enables only the appeareance of the RSS icon, discarding entirely the name of the link. --- templates/macros/menu.html | 48 ++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/templates/macros/menu.html b/templates/macros/menu.html index d35d9f8..246ab51 100644 --- a/templates/macros/menu.html +++ b/templates/macros/menu.html @@ -38,30 +38,42 @@
- {% endif -%} + {%- else -%} + {%- if item.newtab -%} + {{ item.name | safe }} + {%- else -%} + {{ item.name | safe }} + {%- endif -%} + {%- endif -%} {% endfor -%}