mirror of
https://github.com/offen/website.git
synced 2024-11-22 17:10:29 +01:00
Merge pull request #141 from offen/development
Publish Atom and RSS feeds
This commit is contained in:
commit
7364a6d920
@ -6,7 +6,7 @@ from pelican_decorate_content import decorate_content
|
||||
RELATIVE_URLS = False
|
||||
|
||||
AUTHOR = 'offen'
|
||||
SITENAME = 'offen'
|
||||
SITENAME = 'Fair Web Analytics | Offen'
|
||||
PATH = 'content'
|
||||
TIMEZONE = 'Europe/Berlin'
|
||||
DEFAULT_LANG = 'en'
|
||||
|
@ -11,6 +11,8 @@ SITEURL = os.environ.get('SITEURL', 'https://www.offen.dev')
|
||||
# RELATIVE_URLS = True
|
||||
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
FEED_ALL_RSS = 'feeds/all.rss.xml'
|
||||
RSS_FEED_SUMMARY_ONLY = False
|
||||
|
||||
DELETE_OUTPUT_DIRECTORY = True
|
||||
|
||||
|
@ -32,6 +32,8 @@
|
||||
{% if OFFEN_ACCOUNT_ID and not no_stats %}
|
||||
<script async src="https://offen.offen.dev/script.js" data-account-id="{{ OFFEN_ACCOUNT_ID }}"></script>
|
||||
{% endif %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/feeds/all.rss.xml">
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom" href="/feeds/all.atom.xml">
|
||||
</head>
|
||||
{% endblock %}
|
||||
<body class="{{ template }} f5 rubik lh-copy cclr-fnt-black-mid cclr-bg-black-mid">
|
||||
|
Loading…
Reference in New Issue
Block a user