diff --git a/compile.sh b/compile.sh index 7065d38..6fd8cea 100755 --- a/compile.sh +++ b/compile.sh @@ -5,7 +5,6 @@ set +e # Settings: # ========= export CC=cc -export URL=https://mjestecko.neocities.org mkdir -p ./html/articles @@ -24,7 +23,7 @@ for d in ./articles/*/; do mkdir -p "./html/articles/$(basename -- $d)" cp -r "$d/.static/." "./html/articles/$(basename -- $d)/" fi - ./tools/article_wrapper.py "$d/page.mmd" $URL | ./tools/mmd/build/multimarkdown > "./html/articles/$(basename -- $d).html" + ./tools/article_wrapper.py "$d/page.mmd" | ./tools/mmd/build/multimarkdown > "./html/articles/$(basename -- $d).html" fi done @@ -35,7 +34,7 @@ for f in ./html/tags/*.html; do echo $(cat "$f" | ./tools/mmd/build/multimarkdown) > "$f" done -./tools/feed_generator.py ./articles/ $URL > ./html/feed.xml +./tools/feed_generator.py ./articles/ > ./html/feed.xml ./tools/plaintext_article_listing_generator.py ./articles/ > ./html/articles.txt diff --git a/config.py b/config.py index 0803c89..ad149b5 100644 --- a/config.py +++ b/config.py @@ -5,6 +5,10 @@ from random import choice ## title = "mjestečko" +## Final hosting address, used in RSS feed absolute links as well as previews. +## +address = "https://mjestecko.neocities.org" + ## Shows on top of every page providing navigation. ## Every entry forms a
  • child element of