Commit graph

37 commits

Author SHA1 Message Date
4dfcec607b make collection entries more convenient to access 2024-11-28 17:01:41 +01:00
b78d341d95 simplify menu-toggle label SVG 2024-11-15 09:54:37 +01:00
e61ff7c039 show mobile menu toggle in mode-sensitive color 2024-11-15 09:54:37 +01:00
5179283b83 add mobile style 2024-11-13 15:47:12 +01:00
3b002a5d2d add a desktop stylesheet
it also features a dark mode
2024-11-13 15:47:12 +01:00
27a7ba84bd add stylesheet with fonts 2024-11-13 15:47:12 +01:00
419f2b881b implement raw assets
this allows adding files to the output as they are
2024-11-13 15:47:12 +01:00
23462e3110 add past events and list them on a page 2024-11-13 15:47:12 +01:00
61b2d07b1d add event content type 2024-11-13 15:47:12 +01:00
d0c7f1cad1 make template overrides take final and prev 2024-11-13 15:47:12 +01:00
897acd2a5c fix semantics: wrap content body into section 2024-11-13 15:47:12 +01:00
9b74458a8c override page template for articles 2024-11-13 15:47:12 +01:00
00e3cfcb52 make page templates granularly overridable 2024-11-13 15:47:12 +01:00
f71bc89921 move things to more appropriate places 2024-11-13 15:47:12 +01:00
6f90db7193 unify template parameters 2024-11-13 15:47:12 +01:00
4aeb9579d6 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:47:12 +01:00
5bef87be1f render content via structured DOM representation 2024-11-13 15:47:12 +01:00
e531e861ce formatting 2024-11-13 15:47:12 +01:00
c7a13f04c9 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:47:12 +01:00
e2691f8469 let navigation have its own template 2024-11-13 15:47:12 +01:00
059ebc2291 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:47:12 +01:00
7efd5b8317 allow prefixing output paths of collection items 2024-11-13 15:47:12 +01:00
6631c09803 allow menu entries to be subtypes of page
with an example
2024-11-13 15:47:12 +01:00
836ceb846a split content types into separate files 2024-11-13 15:47:12 +01:00
6c84b9dae0 implement correct-by-construction relative links 2024-11-13 15:47:12 +01:00
e38960661c stricter type for articles 2024-11-13 15:47:12 +01:00
829a796f16 separate templating from file system outputs 2024-11-13 15:47:12 +01:00
59a2fed5e2 extract generic document type 2024-11-13 15:47:12 +01:00
ad8b758cee implement navigation 2024-11-13 15:47:12 +01:00
1469481829 add TODO 2024-11-13 15:47:12 +01:00
130222db57 extract presentation module 2024-11-13 15:47:12 +01:00
68bc592c88 add some documentation 2024-11-13 15:47:12 +01:00
ea77a44d1a split content types into module 2024-11-13 15:47:12 +01:00
30249d2821 move custom type into custom lib 2024-11-13 15:47:12 +01:00
2d7cc5c4cb add TODOs 2024-11-13 15:47:12 +01:00
141242a86d implement collections 2024-11-13 15:47:12 +01:00
ab56a0b5cc modularize 2024-11-13 15:47:12 +01:00