mirror of
https://github.com/offen/website.git
synced 2024-12-26 06:40:21 +01:00
add rss feed, publish in template
This commit is contained in:
parent
9510bee443
commit
dcf17840ab
@ -11,6 +11,7 @@ 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'
|
||||
|
||||
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