From b69654d06cfeeb0e65d5bdea8687d3f0f893b1cf Mon Sep 17 00:00:00 2001 From: vvzen <10340139+vvzen@users.noreply.github.com> Date: Sun, 9 Jun 2024 11:25:34 +0200 Subject: [PATCH] feat: Show RSS icon if config enables it This adds support for showing a tiny RSS svg badge in the top menu in case the user added a menu_item that looks like this: `{name = "", url = "$BASE_URL/$FEED_FILENAME"}` This also requires that the user has a config.toml that contains the following entries: generate_feed = true feed_filename = "rss.xml" author = "your name here" --- templates/macros/menu.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/templates/macros/menu.html b/templates/macros/menu.html index 090388f..90cd50e 100644 --- a/templates/macros/menu.html +++ b/templates/macros/menu.html @@ -38,11 +38,26 @@