Fediversity/website
Valentin Gagarin 2595511a38 implement a slice of the DOM spec as modules
this is roughly sufficient to recreate the website as it currently is

- elements:
  - document
  - html
  - head
  - title
  - base
  - link (variants that must be unique nested under `head` directly)
    - canonical
  - meta (same as for link):
    - charset
    - viewport
    - author (can be multiple, but still unique in aggregate for a document)
    - description

- global attributes:
  - class
  - hidden
  - id
  - lang
  - style
  - title

- element-specific attributes:
  - href
  - target

there's still a lot to do for a reasonably complete implementation, most
importantly everything concerning
- navigation
- top-level flow content (`div`, `article`, headings, `p`, ...)
- stylesheets

there's also some infrastructure to be arranged for easy but somewhat
safe switching between literal HTML and structured representations.
2024-11-13 15:47:12 +01:00
..
assets remove all the junk 2024-11-13 15:47:12 +01:00
content make a proper link 2024-11-13 15:47:12 +01:00
content_ move more content 2024-11-13 15:47:12 +01:00
images Add 'website/' from commit 'd208ee83f80467e25c662b4680ed2d6161d88d9e' 2024-10-07 11:53:11 +02:00
layouts Add 'website/' from commit 'd208ee83f80467e25c662b4680ed2d6161d88d9e' 2024-10-07 11:53:11 +02:00
npins PoC: build site from nix files 2024-11-13 15:47:12 +01:00
presentation implement a slice of the DOM spec as modules 2024-11-13 15:47:12 +01:00
structure don't use outPath any more 2024-11-13 15:47:12 +01:00
.gitignore PoC: build site from nix files 2024-11-13 15:47:12 +01:00
default.nix extract presentation module 2024-11-13 15:47:12 +01:00
lib.nix add more string processing helpers 2024-11-13 15:47:12 +01:00
shell.nix PoC: build site from nix files 2024-11-13 15:47:12 +01:00