From 357f332d1d9e6e0f3952a9584ebbe41a71cbf5bd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Jun 2024 13:52:18 +0100 Subject: Add license and version information in the notebook --- structure/notes/00-preamble.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 structure/notes/00-preamble.md (limited to 'structure') diff --git a/structure/notes/00-preamble.md b/structure/notes/00-preamble.md new file mode 100644 index 0000000..37d097e --- /dev/null +++ b/structure/notes/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