Hugo site source for https://lumi-o.org.
Requirements:
- Hugo (extended)
- Python 3
deep-translator(pip install deep-translator)
When launching preview via:
gnome-terminal -- /home/mark/code/bash/website/hugo-start-lumi.shthe site now runs an incremental translation pass first:
- scans
content/**/*.mdEnglish source pages - translates only files that changed since the previous run
- writes language variants like
page.fr.md,page.de.md, etc. - skips unchanged files for fast subsequent preview starts
Run locally from this directory:
cd /home/mark/web/lumi
hugo server -DOpen: http://localhost:1313/
cd /home/mark/web/lumi
hugo --minifyGenerated output is written to public/.
Lint source markdown pages for required frontmatter keys and to avoid redundant leading "Introduction" headings:
cd /home/mark/web/lumi
python3 scripts/lint_content_structure.pySuggested build settings:
- Framework preset: None
- Build command:
hugo --minify - Build output directory:
public - Environment variable:
HUGO_VERSIONset to a current extended Hugo release
Custom domain:
lumi-o.org