From 0577a56127a42e7551695e20b1d2b9e59b1fa5ed Mon Sep 17 00:00:00 2001 From: veclav talica Date: Sun, 31 Mar 2024 10:38:30 +0500 Subject: [PATCH] configurability --- config.py | 32 ++++++++++++++++ tools/article_wrapper.py | 3 +- tools/config.py | 1 + tools/date_descriptions.py | 24 ++++++++++++ tools/feed_generator.py | 9 +++-- tools/main_page_generator.py | 13 ++++--- tools/page_builder.py | 43 ++++++++++++++++++++++ tools/page_shares.py | 67 ---------------------------------- tools/rfc822.py | 2 +- tools/tag_listing_generator.py | 3 +- 10 files changed, 118 insertions(+), 79 deletions(-) create mode 100644 config.py create mode 120000 tools/config.py create mode 100644 tools/date_descriptions.py create mode 100644 tools/page_builder.py delete mode 100644 tools/page_shares.py diff --git a/config.py b/config.py new file mode 100644 index 0000000..0803c89 --- /dev/null +++ b/config.py @@ -0,0 +1,32 @@ +from random import choice + +## Title of the blog +## Used for default first navbar entry to "/" root. +## +title = "mjestečko" + +## Shows on top of every page providing navigation. +## Every entry forms a
  • child element of