From 90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 9 Nov 2022 00:00:00 +0000 Subject: Remove Python scripts Using Hugo's configDir is more elegant. css/ was moved to assets so it isn't published when processing Gemini. Files in static/ are always published. Files in assets/ are only published when invoked in a template. --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e51c11f..41b81c9 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,7 @@ $ git clone https://git.nicksphere.ch/hugo-theme-nicksphere themes/hugo-theme-ni ``` ## Generate The Blog -Since Hugo can't separate the Gemtext and HTML output by itself, this theme uses two scripts to handle the output: - -* `python3 themes/hugo-theme-nicksphere/scripts/generate.py` outputs the site and the capsule -* `python3 themes/hugo-theme-nicksphere/scripts/clean.py` removes previously generated output - -If the correct media types, output formats, markup settings, and outputs are not specified in config.toml, the above scripts may fail or the blog may render correctly. Have a look at the [nicksphere repository](https://git.nicksphere.ch/nicksphere/tree/config.toml) for ideas on how to set up your config.toml. +In order to render the blog in Gemini and Web format, it's best to render it with separate configs. Have a look at the [the Nicksphere repo](https://git.nicksphere.ch/nicksphere) for an example. ## License GPLv3 or later -- cgit v1.2.3