add the does it work section
All checks were successful
Deploy website / deploy (push) Successful in 11s

This commit is contained in:
jacekpoz 2024-09-14 22:53:32 +02:00
parent 5e4685d3b1
commit 538deaa940
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
2 changed files with 6 additions and 1 deletions

View file

@ -11,7 +11,7 @@
inherit (lib.strings) replaceStrings toLower;
h = n: content: let
id = replaceStrings [" " ";"] ["-" "-"] (toLower content);
id = replaceStrings [" " ";" "?"] ["-" "-" ""] (toLower content);
in /*html*/''
<h${toString n} id="${id}"><a href="#${id}">#</a> ${content}</h${toString n}>
'';

View file

@ -72,6 +72,11 @@ in {
linking your nixos config is entirely optional! (you'll be way cooler though)
</p>
${h2 "does it work?"}
<p>
if you misspell your name in the links or the PR hasn't been merged yet, the next and prev links will lead to <code>https://nixwebr.ing/</code>
</p>
${h2 "support"}
<p>
if you don't know how to / can't make a PR for some reason feel free to <a href="https://jacekpoz.pl">contact me</a>, I can add you to the webring myself