Valentin Gagarin
0ebc8b0d12
add mobile style
2024-11-13 15:24:41 +01:00
Valentin Gagarin
52e0db710a
add a desktop stylesheet
...
it also features a dark mode
2024-11-13 15:24:41 +01:00
Valentin Gagarin
b5841bd227
add stylesheet with fonts
2024-11-13 15:24:41 +01:00
Valentin Gagarin
4fdb56e436
implement raw assets
...
this allows adding files to the output as they are
2024-11-13 15:24:41 +01:00
Valentin Gagarin
05f7aa7ae7
add past events and list them on a page
2024-11-13 15:24:41 +01:00
Valentin Gagarin
754e56db82
add event content type
2024-11-13 15:24:41 +01:00
Valentin Gagarin
15a759eeab
make template overrides take final and prev
2024-11-13 15:24:41 +01:00
Valentin Gagarin
3edcca2815
fix semantics: wrap content body into section
2024-11-13 15:24:41 +01:00
Valentin Gagarin
99d4b7c2e8
override page template for articles
2024-11-13 15:24:41 +01:00
Valentin Gagarin
4762618956
make page templates granularly overridable
2024-11-13 15:24:41 +01:00
Valentin Gagarin
7b2ded053b
move things to more appropriate places
2024-11-13 15:24:41 +01:00
Valentin Gagarin
166a48f8cd
unify template parameters
2024-11-13 15:24:41 +01:00
Valentin Gagarin
4160b6e976
separate DOM mapping and generic templating
...
the templates collection will soon only be there for reusable snippets,
while the HTML representation of document types will be attached to
those types directly.
2024-11-13 15:24:41 +01:00
Valentin Gagarin
73c3262d74
render content via structured DOM representation
2024-11-13 15:24:41 +01:00
Valentin Gagarin
01be60f9c6
formatting
2024-11-13 15:24:41 +01:00
Valentin Gagarin
92b2f0ba58
don't use outPath any more
...
- links are constructed explicitly, relative to the current page's
location
- templates are called explicitly by output type
2024-11-13 15:24:41 +01:00
Valentin Gagarin
c5966cd4cb
let navigation have its own template
2024-11-13 15:24:41 +01:00
Valentin Gagarin
ad1e193067
set a default location for documents
...
it turns out that setting a value appends to that.
the default only needs to be overridden when the symbolic name of the
document changes. while there's a chance people will inadvertently break
links that way, it's requires less up-front knowledge to work with.
2024-11-13 15:24:41 +01:00
Valentin Gagarin
c2fe5da469
allow prefixing output paths of collection items
2024-11-13 15:24:41 +01:00
Valentin Gagarin
d2265cb2b7
allow menu entries to be subtypes of page
...
with an example
2024-11-13 15:24:41 +01:00
Valentin Gagarin
8397a2641d
split content types into separate files
2024-11-13 15:24:41 +01:00
Valentin Gagarin
fbebdbb7a1
implement correct-by-construction relative links
2024-11-13 15:24:41 +01:00
Valentin Gagarin
48bb34ccfe
stricter type for articles
2024-11-13 15:24:41 +01:00
Valentin Gagarin
c8caf09ebf
separate templating from file system outputs
2024-11-13 15:24:41 +01:00
Valentin Gagarin
24bd786896
extract generic document type
2024-11-13 15:24:41 +01:00
Valentin Gagarin
ebec1d8e25
implement navigation
2024-11-13 15:24:41 +01:00
Valentin Gagarin
8634df5833
add TODO
2024-11-13 15:24:41 +01:00
Valentin Gagarin
0708801f6a
extract presentation module
2024-11-13 15:24:41 +01:00
Valentin Gagarin
a483b7e5fa
add some documentation
2024-11-13 15:24:41 +01:00
Valentin Gagarin
6991bc9c0e
split content types into module
2024-11-13 15:24:41 +01:00
Valentin Gagarin
ea0319c60e
move custom type into custom lib
2024-11-13 15:24:41 +01:00
Valentin Gagarin
68168db215
add TODOs
2024-11-13 15:24:41 +01:00
Valentin Gagarin
f4b3a08a37
implement collections
2024-11-13 15:24:41 +01:00
Valentin Gagarin
86b9a0a30e
modularize
2024-11-13 15:24:40 +01:00