diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e497afccfb93dbc71abc22ad2a878e61531ab0d5..dcb3604dba75ee23dd95be5f488f14cf9f35bf72 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,7 @@ build: - pip install --upgrade pip - pip install --editable . - cd content && npm install && cd .. + - sed -i "s/RELATIVE_URLS = True/RELATIVE_URLS = False/" pelicanconf.py - pelican content artifacts: @@ -29,6 +30,4 @@ deploy: - build script: - apt-get install -y --force-yes rsync - - scp -r output/* mazenod@192.168.100.59:~/public_html/ - - rsync -az --exclude '_' -e ssh output/ mazenod@192.168.100.59:~/public_html/ - rsync -az --exclude '_' -e ssh output/ $USERNAME@$HOST:~/public_html/ diff --git a/pelicanconf.py b/pelicanconf.py index 6585f0f73c52329f6c6313d0f9519ecc08114096..e1b83f4fd6e7524dbbbadfd613eefef0ee1ad65b 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -7,6 +7,9 @@ AUTHOR = 'Vincent Mazenod' SITENAME = 'Vincent Mazenod / ingénieur d\'études' SITELOGO = 'images/mazenovi.png' FAVICON = 'images/favicon.ico' +SITEURL = 'https://fc.isima.fr/~mazenod' +DISQUS_SITENAME = 'limos-1' +DISQUS_SHORTNAME = 'mazenovi' LINKS = ( ( @@ -79,8 +82,6 @@ CC_LICENSE_COMMERCIAL = "no" # comment CC_* vars and uncommment CUSTOM LICENSE TO ENABLE IT -DISQUS_SITENAME = 'limos' - DISPLAY_TAGS_ON_SIDEBAR = True TAG_CLOUD_STEPS = 8 TAG_CLOUD_MAX_ITEMS = 20