lowrussia 3 years ago
parent
commit
4d400f20d6
  1. 2
      makefile
  2. 4
      pelicanconf.py
  3. 1
      requirements.txt

2
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/

4
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",
},

1
requirements.txt

@ -4,3 +4,4 @@ beautifulsoup4==4.9.3
html5lib==1.1
icalendar==4.0.7
pelican==4.5.4
pytz==2020.1

Loading…
Cancel
Save