html title

This commit is contained in:
2025-07-08 18:06:33 +02:00
parent 6c4616eb4c
commit 590f92f97e
7 changed files with 27 additions and 12 deletions

View File

@@ -4,9 +4,11 @@
#let small-font-size = if is-web { 14pt } else { 9pt }
#let default-font-size = if is-web { 17pt } else { 10pt }
#let core-page-style(content) = {context html-opt-elem("html", (:))[
#let core-page-style(html-head: [], content) = {context html-opt-elem("html", (:))[
#context if is-html() {
html.elem("head",[
#html-head
#html.elem("meta", attrs:(charset:"utf-8"))
#html.elem("meta", attrs:(name:"viewport", content:"width=device-width, initial-scale=1"))