linking to the feeds

This commit is contained in:
manetta 2020-11-19 16:01:42 +01:00
parent 79380889aa
commit 92732d91ed
3 changed files with 24 additions and 8 deletions

View File

@ -18,15 +18,13 @@ FEED_DOMAIN = SITEURL
RSS_FEED_SUMMARY_ONLY = False
# RSS feeds
FEED_RSS = 'feeds/feed.rss.xml'
# FEED_ALL_RSS = 'feeds/all.rss.xml' # same as above?
CATEGORY_FEED_RSS = 'feeds/category/{slug}'
FEED_RSS = 'feeds/RSS/feed.rss.xml'
CATEGORY_FEED_RSS = 'feeds/RSS/category/{slug}'
AUTHOR_FEED_RSS = None
# Atom feed (disabled)
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
# Atom feeds
FEED_ALL_ATOM = 'feeds/ATOM/feed.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/ATOM/category/{slug}'
AUTHOR_FEED_ATOM = None
PATH = 'content'

View File

@ -8,7 +8,11 @@ body {
}
header,
#subscribe,
#instructions,
footer{
position: relative;
width: 100%;
margin: 2em 0;
padding: 2em;
border: 1px dotted magenta;

View File

@ -23,6 +23,20 @@
</ul>
</nav>
</header>
<div id="subscribe">
<h2>Subscribe</h2>
<p>Subscribe to this feed!</p>
<ul>
<li>Full Feed: <a href="{{ SITEURL }}/{{ FEED_RSS }}">RSS</a>, <a href="{{ SITEURL }}/{{ FEED_ATOM }}">ATOM</a></li>
<li>Articles Feed: <a href="{{ SITEURL }}/{{ FEED_RSS }}/category/articles.rss.xml">RSS</a>, <a href="{{ SITEURL }}/{{ FEED_ATOM }}/category/articles.atom.xml">ATOM</a></li>
<li>Projections Feed: <a href="{{ SITEURL }}/{{ FEED_RSS }}/category/projections.rss.xml">RSS</a>, <a href="{{ SITEURL }}/{{ FEED_ATOM }}/category/projections.atom.xml">ATOM</a></li>
<li>mail network</li>
</ul>
</div>
<div id="instructions">
<h2>Instruction Sheet</h2>
<p>...</p>
</div>
<section id="content">
{% block content %}