fixing feeds
This commit is contained in:
parent
74c68dea57
commit
fa6c331931
@ -19,7 +19,7 @@ DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)
|
||||
|
||||
FEED_DOMAIN = SITEURL
|
||||
FEED_MAX_ITEMS = 100
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
#FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
FEED_ATOM = 'feed/index.html'
|
||||
# CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
|
||||
RSS_FEED_SUMMARY_ONLY = False
|
||||
@ -95,6 +95,6 @@ SOCIAL = (
|
||||
('mastadon', 'https://chaos.social/@xsteadfastx'),
|
||||
('github', 'https://github.com/xsteadfastx'),
|
||||
('flickr', 'https://www.flickr.com/photos/marvinxsteadfast/'),
|
||||
('rss', SITEURL + '/feed/'),
|
||||
('rss', '{}/{}'.format(FEED_DOMAIN, FEED_ATOM)),
|
||||
)
|
||||
LINKS = (('Archive', SITEURL + '/archives.html'),)
|
||||
|
@ -16,11 +16,8 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% if FEED_ALL_ATOM %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom">
|
||||
{% endif %}
|
||||
{% if FEED_ALL_RSS %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS">
|
||||
{% if FEED_ATOM %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom">
|
||||
{% endif %}
|
||||
|
||||
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/apple-touch-icon-57x57.png" />
|
||||
|
Loading…
Reference in New Issue
Block a user