Commit graph

8 commits

Author SHA1 Message Date
Lilian Jónsdóttir 16397fce66 load template data from json, toml, or yaml
because why not, the required modules were already included as dependencies for other things
nothing new in go.mod, just indirect -> direct
2024-01-23 18:16:16 -08:00
Lilian Jónsdóttir e446e6520b english is hard 2024-01-23 16:34:58 -08:00
Lilian Jónsdóttir 25b8822e2f it's a comma 2024-01-23 16:33:56 -08:00
Lilian Jónsdóttir 6a6da043f5 cute little icon for back link 2024-01-23 16:25:04 -08:00
Lilian Jónsdóttir 8a2319033e refactor how template data is handled + load template data from file
Generating template data is now handled by templatedata instead of handlers.
Renderer doesn't recieve any data, but now asks for data from templatedata.
Additionally, template data is loaded from file (too lazy to split that into its own commit).
Templates in ./templates/name.page.tmpl will have data loaded from ./templates/name.page.json
2024-01-23 16:10:15 -08:00
Lilian Jónsdóttir 797be7025b less awkward wording in footer 2024-01-22 22:20:07 -08:00
Lilian Jónsdóttir 7544f60e74 move footer note back to right side to display template generation time on left 2024-01-22 22:12:53 -08:00
Lilian Jónsdóttir a7f6bb35e7 it works!
initial build that basically replicates my old HTML site
2024-01-22 20:10:14 -08:00