]> gitweb.fluxo.info Git - bookup.git/commitdiff
Feat: RSS: add links in the HTML header
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Nov 2025 21:14:49 +0000 (18:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Nov 2025 21:14:49 +0000 (18:14 -0300)
_output.yml
structure/book/en/00-header.html [new file with mode: 0644]
structure/book/pt-br/00-header.html [new file with mode: 0644]

index abd08d43c32044ab2385a0726817461099951756..6435fd560af72ccae8b5cb288192accb1a725de0 100644 (file)
@@ -49,6 +49,9 @@ bookdown::gitbook:
   # Check ChangeLog entry from 2024-03-24 on the `ensaios` repository
   md_extensions: -example_lists
 
+  includes:
+    in_header: vendor/bookup/structure/book/en/00-header.html
+
 # Tufte Book 2
 # See https://rdrr.io/cran/bookdown/man/pdf_book.html
 bookdown::tufte_book2:
diff --git a/structure/book/en/00-header.html b/structure/book/en/00-header.html
new file mode 100644 (file)
index 0000000..94b4620
--- /dev/null
@@ -0,0 +1,2 @@
+<link rel="alternate" type="application/atom+xml" href="/atom.xml" />
+<link rel="alternate" type="application/rss+xml" href="/rss.xml" />
diff --git a/structure/book/pt-br/00-header.html b/structure/book/pt-br/00-header.html
new file mode 100644 (file)
index 0000000..94b4620
--- /dev/null
@@ -0,0 +1,2 @@
+<link rel="alternate" type="application/atom+xml" href="/atom.xml" />
+<link rel="alternate" type="application/rss+xml" href="/rss.xml" />