Commit graph

19 commits

Author SHA1 Message Date
Valentin Gagarin c6f44d5f8e 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-10-16 18:23:55 +02:00
Valentin Gagarin c25cd72ee9 let navigation have its own template 2024-10-16 18:20:48 +02:00
Valentin Gagarin bdc7fb0c34 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-10-16 17:41:44 +02:00
Valentin Gagarin 7800a70df5 allow prefixing output paths of collection items 2024-10-16 17:28:38 +02:00
Valentin Gagarin e0bb83610f allow menu entries to be subtypes of page
with an example
2024-10-16 01:16:56 +02:00
Valentin Gagarin 2371eb11a5 split content types into separate files 2024-10-16 00:56:14 +02:00
Valentin Gagarin 6efd5059a5 implement correct-by-construction relative links 2024-10-16 00:08:59 +02:00
Valentin Gagarin c1dd3bdfab stricter type for articles 2024-10-15 19:40:36 +02:00
Valentin Gagarin 3ea6d362c2 separate templating from file system outputs 2024-10-15 18:52:36 +02:00
Valentin Gagarin 765e34754b extract generic document type 2024-10-15 13:40:08 +02:00
Valentin Gagarin 2e2bf6307b implement navigation 2024-10-14 17:26:17 +02:00
Valentin Gagarin 5303997e9a add TODO 2024-10-14 10:10:33 +02:00
Valentin Gagarin 6fc4ad6293 extract presentation module 2024-10-13 11:40:41 +02:00
Valentin Gagarin 2ce52f9530 add some documentation 2024-10-13 11:36:54 +02:00
Valentin Gagarin 61709abeb5 split content types into module 2024-10-12 11:38:03 +02:00
Valentin Gagarin 2d1fa43c67 move custom type into custom lib 2024-10-12 11:27:51 +02:00
Valentin Gagarin a007c5ff7d add TODOs 2024-10-12 01:49:18 +02:00
Valentin Gagarin e6fb3278c6 implement collections 2024-10-12 01:12:21 +02:00
Valentin Gagarin f1635ea265 modularize 2024-10-11 18:19:08 +02:00