Enabled RSS feed
This commit is contained in:
parent
e7c2fdd303
commit
b3863ddb49
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
<meta name="description" content="{{ resource.description }}">
|
||||
|
||||
{% block rss %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
|
||||
{% endblock %}
|
||||
|
||||
{%- set preview_image = 'images/screenshots/prague.jpg' -%}
|
||||
{%- if resource.extra.preview_image -%}
|
||||
{%- set preview_image = resource.extra.preview_image -%}
|
||||
|
|
Loading…
Add table
Reference in a new issue