Browse Source

testing the SITEURL settings

transformations
mb@mb 7 years ago
parent
commit
ba6e5d22f4
  1. 8
      pelicanconf.py
  2. 4
      themes/cetcat/templates/base.html

8
pelicanconf.py

@ -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

4
themes/cetcat/templates/base.html

@ -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>

Loading…
Cancel
Save