Commit 1ef075a
Changed files (1)
src
contents
_lib
templates
src/contents/_lib/templates/heading.typ
@@ -18,8 +18,21 @@
body
}
+#let heading-template-html(body) = {
+ show heading: auto-reslugify-headings
+
+ body
+}
+
+#let heading-template-paged(body) = {
+ show heading: set text(style: "italic")
+ show title: set text(style: "italic")
+
+ body
+}
+
#let heading-template(body) = {
- show: show-target(html: auto-reslugify-headings)
+ show: show-target(paged: heading-template-paged, html: heading-template-html)
body
}