Skip to content
Snippets Groups Projects
Commit 42dc80d6 authored by psy's avatar psy
Browse files

Merge branch 'mkdocs-rss' into 'main'

add rss feed

See merge request infra/static-pages/camp2023-infos!45
parents d5acda9c 9b83b545
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,10 @@ image: registry.git.cccv.de/infra/static-pages/docker-images/bullseye-mkdocs
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- pip install -r requirements.txt
pages:
stage: deploy
script:
......
site_name: Chaos Communication Camp 2023
site_description: Infos, news, links and more
site_url: https://events.ccc.de/camp/2023/infos/
site_dir: public
use_directory_urls: false
strict: true
......@@ -10,6 +11,7 @@ extra_css:
theme:
site_favicon: img/favicon_200px.png
name: readthedocs
custom_dir: theme_customization
prev_next_buttons_location: none
highlightjs: false
logo: img/logo.svg
......@@ -27,11 +29,16 @@ theme:
#navigation_depth: 2
#nav_style: primary
markdown_extensions:
- extra
- admonition
plugins:
- rss:
image: https://events.ccc.de/camp/2023/infos/img/favicon.ico
abstract_chars_count: -1 # -1 for full content
feed_ttl: 10
nav:
- index.md
- location.md
......
{% extends "base.html" %}
{% block extrahead %}
<!-- RSS Feed -->
<link rel="alternate" type="application/rss+xml" title="RSS feed of created content" href="{{ config.site_url }}feed_rss_created.xml">
<link rel="alternate" type="application/rss+xml" title="RSS feed of updated content" href="{{ config.site_url }}feed_rss_updated.xml">
{% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment