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", "