From e4744ee45155352ef116906c2d5adfdda5aacaa6 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 21 Apr 2024 00:02:04 +0200 Subject: [PATCH] fixed typos --- src/content.py | 3 ++- src/templates/feed.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 }}