aboutsummaryrefslogtreecommitdiff
path: root/structure
diff options
context:
space:
mode:
Diffstat (limited to 'structure')
-rw-r--r--structure/book/en/99-end.md2
-rw-r--r--structure/book/pt-br/99-end.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/structure/book/en/99-end.md b/structure/book/en/99-end.md
index d0c8b8d..6092e8f 100644
--- a/structure/book/en/99-end.md
+++ b/structure/book/en/99-end.md
@@ -12,7 +12,7 @@
<!-- This seems not to be the case anymore: https://bookdown.org/yihui/bookdown/citations.html -->
<script type="text/html">
```{r echo=FALSE, results='asis'}
-if (knitr::is_html_output()) {
+if (knitr::is_html_output() && file.exists('snippets/changed.md')) {
cat(readLines('snippets/changes.md'), sep='\n')
}
```
diff --git a/structure/book/pt-br/99-end.md b/structure/book/pt-br/99-end.md
index ba2d787..f5734eb 100644
--- a/structure/book/pt-br/99-end.md
+++ b/structure/book/pt-br/99-end.md
@@ -12,7 +12,7 @@
<!-- This seems not to be the case anymore: https://bookdown.org/yihui/bookdown/citations.html -->
<script type="text/html">
```{r echo=FALSE, results='asis'}
-if (knitr::is_html_output()) {
+if (knitr::is_html_output() && file.exists('snippets/changed.md')) {
cat(readLines('snippets/changes.md'), sep='\n')
}
```