3 A static website generator for exactly 1 use case.
5 "I have a bunch of gemini files that I want to serve as-is, but I also
6 want to generate some HTML"
10 1. Stand on the directory you want to turn into a page
12 3. your output is in ../<directory_name>_html
18 /home/rbdr/web/website
27 You can add some optional front matter. We'll look at the two first lines that
33 --- title: the title of the page
34 --- description: a description
37 This only works if they are the first lines of the page.
39 ## Local Path Translation
41 Links that end with `.gmi` will be replaced with `.html` unless they specifically start with `gemini:`
45 page expects a file called _layout.html in the root. It expects three placeholders:
47 * {{ content }} the generated HTML from parsing the gemini text files.
48 * {{ title }} the frontmatter title or an empty string.
49 * {{ description }} the frontmatter description or an empty string.
54 Hidden folders are copied as well, we only make an exception for `.git/`, and
55 `.gitignore` which are explicitly ignored. This is handy for folders like
56 `.well-known`, but could cause unwanted behavior if there's other hidden files
59 ## What happens to files that aren't gemini?