Commit graph

15 commits

Author SHA1 Message Date
Lilian Jónsdóttir 5882b9d19a template tweaks
about template more resembles links now
2024-01-27 18:57:57 -08:00
Lilian Jónsdóttir 5b7256aeba tweak about summary yet again 2024-01-24 18:01:52 -08:00
Lilian Jónsdóttir 14fce89c97 make a verb a noun for consistency 2024-01-24 16:06:53 -08:00
Lilian Jónsdóttir 5021bb256d opengist is open 2024-01-24 11:41:23 -08:00
Lilian Jónsdóttir bb2f21ad82 reorganize links a bit, and add header text 2024-01-24 01:40:54 -08:00
Lilian Jónsdóttir 2fcb3b7322 add status page for burning.moe 2024-01-24 01:34:14 -08:00
Lilian Jónsdóttir 299cad9164 there's an icon there, ya don't need to state the language 2024-01-24 01:34:05 -08:00
Lilian Jónsdóttir 924e33bb22 have some consistency, my god! 2024-01-24 01:12:19 -08:00
Lilian Jónsdóttir 6c8e9df09d I forgot that I like gaming 2024-01-24 01:07:13 -08:00
Lilian Jónsdóttir 0cad2e175d update data for about and apps pages 2024-01-24 00:56:59 -08:00
Lilian Jónsdóttir 3dbd5a86e2 major refactor of render
- split many parts of RenderTemplate into their own functions so they can be used individually
- move web apps into their own page, add projects page, both generated by executing links.tmpl
  with their own yaml data
- handle / specially, generating LinkMap from Handlers
2024-01-24 00:20:07 -08:00
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 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