From d5f4b967422ed898d15aa5941f777155ddb3e3c5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 10 Jun 2024 14:09:41 +0100 Subject: Feat: towards localization support --- structure/notes/en/00-preamble.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 structure/notes/en/00-preamble.md (limited to 'structure/notes/en/00-preamble.md') diff --git a/structure/notes/en/00-preamble.md b/structure/notes/en/00-preamble.md new file mode 100644 index 0000000..37d097e --- /dev/null +++ b/structure/notes/en/00-preamble.md @@ -0,0 +1,32 @@ + + + + + +```{r echo=FALSE, results='asis'} +if (knitr::is_html_output()) { + cat('# Início {#index .unnumbered}') + cat("\n") + cat('') + cat("\n") + cat("

Sobre

") + cat("\n") + cat('') + cat(readLines('DISCLAIMER'), sep='\n') + cat('') + cat('

') + cat('Cardeno Vivo - Versão ') + cat(readLines('.metadata/revision.txt'), sep='\n') + cat(' - compilada em ') + cat(readLines('.metadata/date.txt'), sep='\n') + cat('.') + cat('

') + cat("\n") + cat("

Créditos

") + cat("\n") + cat(paste(rmarkdown::metadata$title, "
", "Copyleft ©", readLines('.metadata/year.txt'), rmarkdown::metadata$author, readLines('snippets/contact.txt'), sep=' ')) + cat('

') + cat(readLines('LICENSE'), sep='\n') + cat('

') +} +``` -- cgit v1.2.3