diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-11-09 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-11-09 00:00:00 +0000 |
commit | 90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89 (patch) | |
tree | 41288bf6ebefdbf916d7f4b6e2e1683ae7f658e03b1536179d9d25a826545473 /README.md | |
parent | d2df941fdaa188ece3f43fd8c47b9234e10bbcd6ca2fe4636d9ab5da18cdb336 (diff) | |
download | hugo-theme-journal-90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89.tar.gz hugo-theme-journal-90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89.zip |
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.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 |