testing the SITEURL settings

This commit is contained in:
mb@mb 2018-02-01 16:26:03 +01:00
parent 857fdb007f
commit ba6e5d22f4
2 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ from __future__ import unicode_literals
AUTHOR = u'Varia' AUTHOR = u'Varia'
SITENAME = u'Varia' SITENAME = u'Varia'
SITEURL = './' SITEURL = 'https://varia.zone'
PATH = 'content' PATH = 'content'
@ -15,9 +15,9 @@ DEFAULT_DATE = 'fs'
USE_FOLDER_AS_CATEGORY = True USE_FOLDER_AS_CATEGORY = True
# Feed generation is usually not desired when developing # Feed generation is usually not desired when developing
# FEED_DOMAIN = 'https://varia.zone/' FEED_DOMAIN = SITEURL
FEED_ALL_RSS = 'https://varia.zone/feeds/all.rss.xml' FEED_ALL_RSS = 'feeds/all.rss.xml'
TRANSLATION_FEED_RSS = 'https://varia.zone/feeds/all-%s.rss.xml' TRANSLATION_FEED_RSS = 'feeds/all-%s.rss.xml'
RSS_FEED_SUMMARY_ONLY = False RSS_FEED_SUMMARY_ONLY = False
FEED_ALL_ATOM = None FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None CATEGORY_FEED_ATOM = None

View File

@ -10,8 +10,8 @@
{% from 'syndication.html' import syndication with context %} {% from 'syndication.html' import syndication with context %}
{{ syndication(article) }} {{ syndication(article) }}
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/pygment.css" /> <link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}/css/pygment.css" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" /> <link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
{% endblock head %} {% endblock head %}
</head> </head>