tweak icons framework and header banner

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2026-05-08 21:07:13 +02:00
parent afc446bc9e
commit 9d09803ddc
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
5 changed files with 177 additions and 60 deletions

View file

@ -18,14 +18,6 @@
)
#show: webpage.with(
..summ.template-args,
home: link(
"http://test.example.com",
image(
"./platypus.png",
alt: "A drawing of a blue-ish round-ish platypus with big eyes, holding a laptop. This platypus is quite cute, but I might be biased.",
height: 2em,
)
),
logo: image(
"./platypus.png",
alt: "A drawing of a blue-ish round-ish platypus with big eyes, holding a laptop. This platypus is quite cute, but I might be biased.",
@ -40,6 +32,19 @@
#sym.copyright #document.date.display("[year]") Histausse \
Please don't train AI on my stuff without explicit permission
],
nav-elements: (
/*
link(
"http://test.example.com",
image(
"./platypus.png",
alt: "A drawing of a blue-ish round-ish platypus with big eyes, holding a laptop. This platypus is quite cute, but I might be biased.",
height: 2em,
)
),*/
html.a(href: "http://test.example.com", aria-label: "Home", icons.home-icon), // /!\ aria-label is important for accessibility /!\
html.a(href: "http://test.example.com/feed.rss", aria-label: "RSS feed", icons.rss-icon),
),
menu: [
- #link("example.com")[Hello Void!]
- #link("example.com")[Demons]
@ -191,7 +196,7 @@ thead {
"TeTyTe test typst template",
"https://test.example.com",
"Test of the TTT template",
"https://test.example.com/rss.xml",
"https://test.example.com/rss.rss",
summaries,
webmaster: "me@example.com (Me)",
))