diff --git a/src/content.py b/src/content.py index de13dd1..216fb57 100644 --- a/src/content.py +++ b/src/content.py @@ -10,6 +10,7 @@ import markdown import config import search +WEBSITE = config.WEBSITE ENTRY_DIR = config.ENTRY_DIR LANGUAGE = config.LANGUAGE LOCAL = "de_DE.UTF-8" if LANGUAGE == "de-de" else "en_US.UTF-8" @@ -176,7 +177,7 @@ def get_rss_string(): filename = filename.split(".", 1)[0] content_string += "\n" content_string += "" + title + "\n" - content_string += "" + config.WEBSITE + \ + content_string += "" + WEBSITE + \ "/index.html#" + filename + "\n" content_string += "" + \ datetime.fromtimestamp(os.path.getmtime(file)).strftime( diff --git a/src/templates/feed.xml b/src/templates/feed.xml index 7bd010b..09210fe 100644 --- a/src/templates/feed.xml +++ b/src/templates/feed.xml @@ -6,7 +6,7 @@ {{ description }} {{ language }} {{ website }} - + {% autoescape off %} {{ content_string }}