diff --git a/pelicanconf.py b/pelicanconf.py index 5411055..8fa927e 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,6 +1,7 @@ AUTHOR = 'Daniel Nagel' SITENAME = 'Daniel Nagel' -SITEURL = "https://danielnagel.at" +SITEURL = '' # leer! → Pelican generiert relative URLs für Dev +RELATIVE_URLS = True PATH = "content" ARTICLE_PATHS = ['articles'] @@ -85,7 +86,7 @@ PYGMENTS_STYLE = 'monokai' # Wenn keine Unterpunkte: leere Liste [] SIDEBAR_MENU = [ ("Über mich", "/about/", [ - ("The Story so far ...", "/story-so-far/"), + ("The Story so far", "/story-so-far/"), ("Berufserfahrung", "/berufserfahrung/"), ("Ausbildungen", "/ausbildungen/"), ("Hobbys", "/hobbys/"), diff --git a/setup.sh b/setup.sh index 65c50bc..008fa92 100755 --- a/setup.sh +++ b/setup.sh @@ -53,17 +53,21 @@ VENV_DIR=".venv" create_venv() { - if [ -d "$VENV_DIR" ]; then + if [ -x "${VENV_DIR}/bin/python" ]; then warn "venv existiert bereits unter '${VENV_DIR}' – wird übersprungen." return 0 fi + if [ -d "$VENV_DIR" ]; then + warn "'${VENV_DIR}' existiert, ist aber kaputt – wird neu erstellt." + rm -rf "$VENV_DIR" + fi + info "Erstelle virtuelle Umgebung in '${VENV_DIR}'..." python3 -m venv "$VENV_DIR" info "venv erfolgreich erstellt." } - REQUIREMENTS_FILE="requirements.txt" install_dependencies() { diff --git a/themes/pelican-hyde-retro b/themes/pelican-hyde-retro index 48b70f4..bc3258f 160000 --- a/themes/pelican-hyde-retro +++ b/themes/pelican-hyde-retro @@ -1 +1 @@ -Subproject commit 48b70f4434b67d40d324669e7d30e128347496bd +Subproject commit bc3258f3b1ae0798b3f3ecdcc5d1dda2a803ea4a