site

Francesco Saccone's site content.
git clone git://git.francescosaccone.com/site
Log | Files | Refs | README | LICENSE

commit 5aba565ae1c8479eecd450ce53ef3c5426b4cebb
parent a173e947d158239f1e939a57ca26609299c5c6a1
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Sun,  9 Mar 2025 15:12:48 +0100

chore: rewrite usage section describing scripts

Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>

Diffstat:
MREADME | 19++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -10,8 +10,21 @@ This repository contains all the content avaiable in my website, at Usage ----- -Use the "generate-<output>.sh" scripts at root to generate the webpages. +All the pages are written in Markdown. You need to parse them to make them +avaiable when hosted with a protocol. I wrote all the scripts you need: -Every file in public/ is statically hosted at path "/public". +- generate-html.sh: parse every Markdown page to HTML. -The favicon.ico and robots.txt files are statically hosted at path "/" in HTTP. +- generate-gemini.sh: parse every Markdown page to Gemtext. + +- generate-html-sitemap.sh: Generate a sitemap with HTTP URLs. + +- generate-gemini-sitemap.sh: Generate a sitemap with Gemini URLs. + +- generate-atom.sh: Generate the atom.xml of blog/ with HTTP URLs. + +The public/ directory and the robots.txt file should be statically hosted in +every protocol. + +The favicon.ico file is only needed for HTTP, and can be ignored when hosting +any other protocol.