From b3863ddb4941c16880721bc50eeaef72d996b361 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Mon, 6 Jun 2022 07:23:57 +0200 Subject: [PATCH] Enabled RSS feed --- config.toml | 3 +++ templates/base.html | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/config.toml b/config.toml index a2b09ee2..4debd17d 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,9 @@ base_url = "https://organicmaps.app" # Whether to automatically compile all Sass files in the sass directory compile_sass = true +generate_feed = true +feed_filename = "rss.xml" + # Whether to build a search index to be used later on by a JavaScript library build_search_index = false diff --git a/templates/base.html b/templates/base.html index c28f3446..ac89a4e6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,6 +14,10 @@ + {% block rss %} + + {% endblock %} + {%- set preview_image = 'images/screenshots/prague.jpg' -%} {%- if resource.extra.preview_image -%} {%- set preview_image = resource.extra.preview_image -%}