set -x # Render pages ./render.sh pages/index.html www/index.html ./render.sh pages/error.html www/error.html ./render.sh pages/resources.html www/resources.html ./render.sh pages/about.html www/about.html ./render.sh pages/blog.html www/blog/index.html # Render entries ./render.sh pages/about-her.html www/about-her.html ./render.sh pages/blog/all-signs-point-to-her.html www/blog/all-signs-point-to-her.html ./render.sh pages/blog/finding-a-safe-space.html www/blog/finding-a-safe-space.html ./render.sh pages/blog/it-was-never-about-clothes.html www/blog/it-was-never-about-clothes.html ./render.sh pages/blog/loneliness-and-solitude.html www/blog/loneliness-and-solitude.html ./render.sh pages/blog/finding-the-light.html www/blog/finding-the-light.html # copy static files cp -r static/* www # tidy the HTML (this will resolve some common mistakes like & and ' etc ./tidy.sh # RSS ./render.sh pages/blog/feed.rss www/blog/feed.rss # Gemini mkdir -p gemini/log cp -r capsule/* gemini # generate gemlog python3 -m venv .venv source .venv/bin/activate python3 -m pip install -I --disable-pip-version-check -r requirements.txt touch gemini/log/index.gmi echo -e "# The Woman In My Eye\n" > gemini/log/index.gmi # New entries at the top ./gemparse.py entries/it-was-never-about-clothes.html gemini/log/it-was-never-about-clothes.gmi blog/it-was-never-about-clothes.html echo "=> /log/it-was-never-about-clothes.gmi 2023-07-14 - It was never about clothes" \ >> gemini/log/index.gmi ./gemparse.py entries/finding-a-safe-space.html gemini/log/finding-a-safe-space.gmi blog/finding-a-safe-space.html echo "=> /log/finding-a-safe-space.gmi 2023-07-06 - Finding a safe space" \ >> gemini/log/index.gmi ./gemparse.py entries/all-signs-point-to-her.html gemini/log/all-signs-point-to-her.gmi blog/all-signs-point-to-her.html echo "=> /log/all-signs-point-to-her.gmi 2023-06-27 - All signs point to her" \ >> gemini/log/index.gmi ./gemparse.py entries/about-her.html gemini/log/who-is-the-woman-in-my-eye.gmi about-her.html echo "=> /log/who-is-the-woman-in-my-eye.gmi 2023-06-25 - Who is the woman in my eye" \ >> gemini/log/index.gmi ./gemparse.py entries/loneliness-and-solitude.html gemini/log/loneliness-and-solitude.gmi blog/loneliness-and-solitude.html echo "=> /log/loneliness-and-solitude.gmi 2024-04-07 - Loneliness and Solitude" \ >> gemini/log/index.gmi ./gemparse.py entries/finding-the-light.html gemini/log/finding-the-light.gmi blog/finding-the-light.html echo "=> /log/finding-the-light.gmi 2024-12-06 - Finding the Light" \ >> gemini/log/index.gmi