Commit graph

265 commits

Author SHA1 Message Date
Nicolas Jeannerod 95e572bce0 Number of cores also when on metal 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 36b622895a Support installing host keys in the installer 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 9d04ce7c99 Slight rework of the installer 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 271315747b Turn off the machine once if install is successful 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod adbd9d8d1e Fix Mastodon/Garage test 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 8d8f6d7db0 Also forward SSH port 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod aef34ca561 Use recommended proxy settings for Garage 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod ff23062b9f Avoid clashes of security.acme.defaults options 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod a89298cbf3 Bump Taeer's nixpkgs 2024-11-13 16:00:38 +01:00
Taeer Bar-Yam a129c98f8e fix test to not use ACME/SSL (again) 2024-11-13 16:00:38 +01:00
Nicolas Jeannerod 373aae778c Proxy all buckets that have website = true 2024-11-13 16:00:38 +01:00
Nicolas Jeannerod aed4b3a744 No certificate for Garage web root domain 2024-11-13 16:00:38 +01:00
Valentin Gagarin 5179283b83 add mobile style 2024-11-13 15:47:12 +01:00
Valentin Gagarin a6e764d2fc list events on the dedicated page more like articles 2024-11-13 15:47:12 +01:00
Valentin Gagarin 3b002a5d2d add a desktop stylesheet
it also features a dark mode
2024-11-13 15:47:12 +01:00
Valentin Gagarin 4f37c5b7b2 style 2024-11-13 15:47:12 +01:00
Valentin Gagarin 457f0adee7 more structured front page
this allows for more customised styling
2024-11-13 15:47:12 +01:00
Valentin Gagarin 91ab0e3cd4 remove legacy stylesheet 2024-11-13 15:47:12 +01:00
Valentin Gagarin 555974a3af fix <hgroup> rendering 2024-11-13 15:47:12 +01:00
Valentin Gagarin 27a7ba84bd add stylesheet with fonts 2024-11-13 15:47:12 +01:00
Valentin Gagarin 419f2b881b implement raw assets
this allows adding files to the output as they are
2024-11-13 15:47:12 +01:00
Valentin Gagarin 6e3bd814f1 move inline recursiveAttrs to lib.types 2024-11-13 15:47:12 +01:00
Valentin Gagarin cb8363ebb5 implement stylesheet links 2024-11-13 15:47:12 +01:00
Valentin Gagarin b1d8ac85e0 build with full trace 2024-11-13 15:47:12 +01:00
Valentin Gagarin ed2e0679c4 add .direnv to gitingore 2024-11-13 15:47:12 +01:00
Valentin Gagarin c60d10b355 add todo concerning palpable content 2024-11-13 15:47:12 +01:00
Valentin Gagarin 9e97ca3f14 list all news articles on a separate page 2024-11-13 15:47:12 +01:00
Valentin Gagarin 23462e3110 add past events and list them on a page 2024-11-13 15:47:12 +01:00
Valentin Gagarin 61b2d07b1d add event content type 2024-11-13 15:47:12 +01:00
Valentin Gagarin d5b329ede9 implement definition lists with dl, dt, dd 2024-11-13 15:47:12 +01:00
Valentin Gagarin d0c7f1cad1 make template overrides take final and prev 2024-11-13 15:47:12 +01:00
Valentin Gagarin 1fe519c838 add note on using direnv 2024-11-13 15:47:12 +01:00
Valentin Gagarin f837b436d7 add devmode for live preview 2024-11-13 15:47:12 +01:00
Valentin Gagarin 897acd2a5c fix semantics: wrap content body into section 2024-11-13 15:47:12 +01:00
Valentin Gagarin 18864f2738 make template overrides chainable 2024-11-13 15:47:12 +01:00
Valentin Gagarin 67d00fea7e remove old template garbage 2024-11-13 15:47:12 +01:00
Valentin Gagarin 9b74458a8c override page template for articles 2024-11-13 15:47:12 +01:00
Valentin Gagarin 00e3cfcb52 make page templates granularly overridable 2024-11-13 15:47:12 +01:00
Valentin Gagarin ef5594d963 add resulting Nix value to default.nix outputs
this is practical for debugging and demonstration purposes
2024-11-13 15:47:12 +01:00
Valentin Gagarin f71bc89921 move things to more appropriate places 2024-11-13 15:47:12 +01:00
Valentin Gagarin 6f90db7193 unify template parameters 2024-11-13 15:47:12 +01:00
Valentin Gagarin cbe10ec304 further prettify output 2024-11-13 15:47:12 +01:00
Valentin Gagarin d4aa88f759 fix indentation in output 2024-11-13 15:47:12 +01:00
Valentin Gagarin 95f7e5e162 reiterate on mandatory headings in sections 2024-11-13 15:47:12 +01:00
Valentin Gagarin 661158223a ensure the section hierarchy is spec-compliant
- automatically assign heading levels
- check that the maximum nesting depth is not exceeded
2024-11-13 15:47:12 +01:00
Valentin Gagarin 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
Valentin Gagarin 5ee1c8b006 implement sectioning semantics
this was quite a beast to tame, but it now allows putting sections anywhere
in the tree without having to redundantly specify heading levels, which
will be computed automatically from the nesting depth.

the whole thing will also blow up if the maximum section nesting depth
is exceeded, just as the spec requires - albeit with an absolutely
impenetrable error message. this could in principle be improved with
lots of additional machinery, but this is by far not low-hanging fruit.

just don't nest your sections too much.
2024-11-13 15:47:12 +01:00
Valentin Gagarin 414aeb45ba fix module for <link> and <base> 2024-11-13 15:47:12 +01:00
Valentin Gagarin 153b761c8f fix attrs printing 2024-11-13 15:47:12 +01:00
Valentin Gagarin 36d1c9c433 add README 2024-11-13 15:47:12 +01:00