tvl-depot/users
sterni 3bd43e39dd feat(sterni/nix/html): flatten lists enclosed by an element
Currently nix/html requires that the content of an element is either an
HTML string (which may or may not be generated by the library) or a flat
list of HTML strings (which may or may not be generated by the library).

I've found that this requirement makes authoring more complex pages that
have programmatically generated parts cumbersome since one needs to take
care that returned lists are appended, not included as an element. This
leads to confusing code and annoying errors. We don't really care about
the nesting of a content list as long as the order is clear, so we can
just flatten the list making life a little easier:

    (<main> { } [
      (<section> { } (<h2> { } "static section"))
      listOfGeneratedSections
      (<section> { } (<h2> { } "another section"))
    ])

Change-Id: I06016a8eff01d34d7eaea7798a00ed191115f9c8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12908
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
2024-12-25 00:36:36 +00:00
..
aaqaishtyaq chore(users/aaqaishtyaq): add OWNERS file 2022-12-10 17:28:57 +00:00
amjoseph feat(users/amjoseph): init 2024-05-11 08:45:13 +00:00
aspen refactor(aspen/orgExportHTML): use default emacs 2024-12-23 23:12:32 +00:00
azahi feat(users/azahi/pkgs): add bruh 2024-08-27 12:58:56 +00:00
cynthia chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
edef chore(tvix): bump opentelemetry to 0.27 2024-11-23 09:40:21 +00:00
emery feat(tools/eaglemode/plugins/avif): AVIF image plugin 2024-09-03 19:44:05 +00:00
ericvolp12 chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
espes feat(users): add my folder 2024-02-20 06:25:35 +00:00
eta chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
firefly chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
flokli fix(users/flokli/nixos-tvix-cache): bump nginx read timeout 2024-12-20 17:04:40 +00:00
fogti fix(users): rename zseri -> fogti 2023-07-07 20:06:02 +00:00
j4m3s chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
kranzes chore(3p/sources): bump channels & overlays (2024-11-14) 2024-11-15 14:53:59 +00:00
lukegb chore(users/lukegb/keys): -porcorosso-wsl +lukegb-build +lukegb-ca 2023-03-12 03:35:24 +00:00
padraic-o-mhuiris chore(users/padraic-o-mhuiris): Add OWNERS file 2024-01-30 13:58:46 +00:00
picnoir/tvix-daemon feat(nix-daemon): Implement more nix daemon operations. 2024-11-13 21:21:57 +00:00
Profpatsch feat(users/Profpatsch/alacritty): implement varlink SetColorScheme 2024-12-17 14:40:14 +00:00
qyliss chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
sterni feat(sterni/nix/html): flatten lists enclosed by an element 2024-12-25 00:36:36 +00:00
tazjin chore(tazjin/dotfiles): remove hyper configuration 2024-12-05 22:14:35 +00:00
wpcarro chore(3p/sources): bump channels & overlays (2024-11-14) 2024-11-15 14:53:59 +00:00
yl3dy feat(users/yl3dy): test gpg-signed commit 2024-08-27 13:28:33 +00:00
tvlbot.jpg chore(users/tazjin): Add avatar for tvlbot 2020-06-14 22:23:04 +00:00