chiark / gitweb /
site: properly finally fix link configuration for publishing.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 24 Oct 2017 09:07:06 +0000 (11:07 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 24 Oct 2017 09:07:06 +0000 (11:07 +0200)
site/pelicanconf.py
site/publishconf.py

index d232f542d2682f3b30450b5fa75841a039a688b5..d79f2575ef20b71a365ede6f1acb90e735f59b6a 100644 (file)
@@ -156,7 +156,7 @@ PATH_METADATA = '(?P<slug>.+).rst'
 # would have / prepended twice, so removing it from the settings.
 if True:
     STATIC_URL = '{path}'
-    PAGE_URL = '{slug}'
+    PAGE_URL = '{slug}/'
     ARTICLE_URL = '{category}/{slug}/'
     AUTHOR_URL = 'author/{slug}/'
     CATEGORY_URL = '{slug}/'
index 16e95ce6c03f7d588324cf4b1d33d8e8bb74cdf5..e9c99da1abc3d8e397582024d6932bf1d5e07166 100644 (file)
@@ -34,6 +34,3 @@ DELETE_OUTPUT_DIRECTORY = True
 
 CSS_FILES = ['https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600&amp;subset=latin-ext',
              'http://mcss.mosra.cz/static/m-dark.compiled.css']
-
-PAGE_URL = 'http://mcss.mosra.cz/{slug}/'
-ARTICLE_URL = 'http://mcss.mosra.cz/{category}/{slug}/'