From 4070e62edc968b9c45bdec36b4943441c214aa98 Mon Sep 17 00:00:00 2001 From: Alexander Nutz Date: Sat, 26 Jul 2025 14:27:09 +0200 Subject: [PATCH] c --- core-page-style.typ | 1 + simple-page-layout.typ | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core-page-style.typ b/core-page-style.typ index d29bdae..d069f8c 100644 --- a/core-page-style.typ +++ b/core-page-style.typ @@ -17,6 +17,7 @@ #let ico = res-path()+"favicon.png" #html.elem("link", attrs:(rel:"icon", sizes:"512x512", href:ico)) #html.elem("link", attrs:(rel:"image_src", type:"image/png", href:ico)) + #html.elem("link", attrs:(type:"application/atom+xml", rel:"alternate", title:"alexs168's blog", href:"atom.xml")) ] ]) } diff --git a/simple-page-layout.typ b/simple-page-layout.typ index 22ea5da..6d5a896 100644 --- a/simple-page-layout.typ +++ b/simple-page-layout.typ @@ -48,8 +48,10 @@ // TODO: fix and re-add - #variant-link("less bloated HTML", ".min.html") - #variant-link("minimal HTML", ".nano.html") ]], - [#html-href("atom.xml")[Atom feed] - #context br()], + [#if gen-index-ref [ + #html-href("atom.xml")[Atom feed] + #context br() + ]], [#context if is-html() { html.elem("style", "