aboutsummaryrefslogtreecommitdiff
path: root/templates/book
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-10 14:09:41 +0100
committerSilvio Rhatto <rhatto@riseup.net>2024-06-10 14:09:41 +0100
commitd5f4b967422ed898d15aa5941f777155ddb3e3c5 (patch)
tree83c0c34e47c4e707fea6b1316bc4a3408485446f /templates/book
parent0f0f4bbd9c6cba0fbf196de47e2baed7741391c3 (diff)
downloadbookup-d5f4b967422ed898d15aa5941f777155ddb3e3c5.tar.gz
bookup-d5f4b967422ed898d15aa5941f777155ddb3e3c5.tar.bz2
Feat: towards localization support
Diffstat (limited to 'templates/book')
-rw-r--r--templates/book/en/references.md8
-rw-r--r--templates/book/pt-br/references.md (renamed from templates/book/references.md)0
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/book/en/references.md b/templates/book/en/references.md
new file mode 100644
index 0000000..ebac3cb
--- /dev/null
+++ b/templates/book/en/references.md
@@ -0,0 +1,8 @@
+<!-- Include the references subsection only in the HTML version -->
+```{r echo=FALSE, results='asis'}
+if (knitr::is_html_output()) {
+ cat("## References")
+ cat("\n")
+ cat("\n")
+}
+```
diff --git a/templates/book/references.md b/templates/book/pt-br/references.md
index cf028c9..cf028c9 100644
--- a/templates/book/references.md
+++ b/templates/book/pt-br/references.md