generate the summary and the document objects from inside the webpage() function
This commit is contained in:
parent
500a6ad181
commit
f7db139b0d
10 changed files with 234 additions and 144 deletions
|
|
@ -1,12 +1,14 @@
|
|||
#import "@local/template-web:0.0.1": webpage as webpage-org, icons
|
||||
|
||||
#let webpage = webpage-org.with(
|
||||
base-url: "http://test.example.com",
|
||||
logo: image(
|
||||
"/assets/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: 100pt,
|
||||
width: 100pt, // TODO 0.15 regression? in 0.14 setting the height was enough
|
||||
),
|
||||
author: "Me!",
|
||||
footer: context [
|
||||
|
||||
#sym.copyright #document.date.display("[year]") Histausse \
|
||||
|
|
@ -22,7 +24,7 @@
|
|||
height: 2em,
|
||||
)
|
||||
),*/
|
||||
html.a(href: "http://test.example.com", aria-label: "Home", icons.home-icon), // /!\ aria-label is important for accessibility /!\
|
||||
html.a(href: "/", aria-label: "Home", icons.home-icon), // /!\ aria-label is important for accessibility /!\
|
||||
html.a(href: "/feed.rss", aria-label: "RSS feed", icons.rss-icon),
|
||||
),
|
||||
menu: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue