From 9a05c72aa28b7bc1d486fc50dfdd72a1418cec04 Mon Sep 17 00:00:00 2001 From: manetta Date: Thu, 18 Mar 2021 20:27:56 +0100 Subject: [PATCH 1/3] adding pytz to requirements, after error messages at installing pelican through make --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index ec1c01fb..1b88be8c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ beautifulsoup4==4.9.3 html5lib==1.1 icalendar==4.0.7 pelican==4.5.4 +pytz==2020.1 From 0a22c9a17c7a30e02543b55f3014b5111bb93b89 Mon Sep 17 00:00:00 2001 From: manetta Date: Thu, 18 Mar 2021 20:28:23 +0100 Subject: [PATCH 2/3] adding --listen to the default make run command, as no server was spinned up with --autoreload --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 4067324d..a6c3434d 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ dependencies: @if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi run: core-plugins dependencies - @.venv/bin/pelican --autoreload + @.venv/bin/pelican --autoreload --listen publish: @.venv/bin/pelican -o /var/www/html/ From 60574a858a45f95bd0ba02246b00b885545f82c6 Mon Sep 17 00:00:00 2001 From: manetta Date: Thu, 18 Mar 2021 20:30:20 +0100 Subject: [PATCH 3/3] removing the subtitle Centre for Everyday Technology, as it was also removed in the NL site --- pelicanconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index ac4bfe92..efa273cf 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -59,12 +59,12 @@ THEME_STATIC_DIR = "theme/" I18N_SUBSITES = { "en": { - "SITESUBTITLE": u"Centre for Everyday Technology", + "SITESUBTITLE": u"", "SITEURL": "varia.zone/en", "locale": "en_US.UTF-8", }, "nl": { - "SITESUBTITLE": u"Centrum voor Alledaagse Technologie", + "SITESUBTITLE": u"", "SITEURL": "varia.zone", "locale": "nl.UTF-8", },