aboutsummaryrefslogtreecommitdiff
path: root/templates
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
parent0f0f4bbd9c6cba0fbf196de47e2baed7741391c3 (diff)
downloadbookup-d5f4b967422ed898d15aa5941f777155ddb3e3c5.tar.gz
bookup-d5f4b967422ed898d15aa5941f777155ddb3e3c5.tar.bz2
Feat: towards localization support
Diffstat (limited to 'templates')
-rw-r--r--templates/book/en/references.md8
-rw-r--r--templates/book/pt-br/references.md (renamed from templates/book/references.md)0
-rw-r--r--templates/notes/en/bibliography.md1
-rw-r--r--templates/notes/pt-br/bibliography.md (renamed from templates/notes/bibliography.md)0
4 files changed, 9 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
diff --git a/templates/notes/en/bibliography.md b/templates/notes/en/bibliography.md
new file mode 100644
index 0000000..b87ff79
--- /dev/null
+++ b/templates/notes/en/bibliography.md
@@ -0,0 +1 @@
+# Bibliography
diff --git a/templates/notes/bibliography.md b/templates/notes/pt-br/bibliography.md
index 1c6d0e6..1c6d0e6 100644
--- a/templates/notes/bibliography.md
+++ b/templates/notes/pt-br/bibliography.md