diff --git a/template/404.qmd.jinja b/template/404.qmd.jinja new file mode 100644 index 0000000..8c41ab0 --- /dev/null +++ b/template/404.qmd.jinja @@ -0,0 +1,19 @@ +--- +{% if is_seedcase_project -%} +title: "You've entered the garden of missing pages" +{% else -%} +title: "The page you are looking for does not exist" +{% endif -%} +--- + +{% if is_seedcase_project -%} +Let's get you back to greener grounds. + +👉 Go to [homepage](/index.qmd). + +![](/_extensions/seedcase-project/seedcase-theme/images/404.svg){fig-alt="An illustration of the number 404 surrounded by trees and mountains"} + +## Illustration by [Storyset](https://storyset.com/web) {.appendix} +{%- else -%} +This page does not exist, go back to the [homepage](/index.qmd) or check the URL for typos. +{%- endif %} diff --git a/template/_quarto.yml.jinja b/template/_quarto.yml.jinja index cf7c3ab..f52eb7c 100644 --- a/template/_quarto.yml.jinja +++ b/template/_quarto.yml.jinja @@ -5,6 +5,8 @@ project: render: - "docs/*" - "index.qmd" + - "404.qmd" + - "CONTRIBUTING.md" website: # TODO: Fill in the title of the website.