update templates, place holder posts to include end_section shortcode where appropriate

This commit is contained in:
KemoNine 2023-03-19 14:42:09 -04:00
parent dfee4bc1fe
commit 9d5966096f
4 changed files with 61 additions and 11 deletions

View file

@ -14,12 +14,14 @@ tags:
--- ---
## Changelog ## Changelog
{{< back_to_top >}}
{{< changelog >}} {{< changelog >}}
{{< back_to_top >}}
{{< change 2023-03-17 "test change 1" >}} {{< change 2023-03-17 "test change 1" >}}
{{< change 2023-03-18 "test change 2" >}} {{< change 2023-03-18 "test change 2" >}}
{{< /changelog >}} {{< /changelog >}}
{{< end_section >}}
This sample post is mainly for [**blogdown**](https://github.com/rstudio/blogdown) users. If you do not use **blogdown**, you can skip the first section. This sample post is mainly for [**blogdown**](https://github.com/rstudio/blogdown) users. If you do not use **blogdown**, you can skip the first section.
## 1. Markdown or R Markdown ## 1. Markdown or R Markdown
@ -45,6 +47,8 @@ When creating a new post, you have to decide whether the post format is Markdown
blogdown::new_post("Post Title", rmd = FALSE) blogdown::new_post("Post Title", rmd = FALSE)
``` ```
{{< end_section >}}
## 2. Sample Text ## 2. Sample Text
{{< back_to_top >}} {{< back_to_top >}}
@ -90,3 +94,4 @@ A table (centered by default):
| 5.0| 3.6| 1.4| 0.2|setosa | | 5.0| 3.6| 1.4| 0.2|setosa |
| 5.4| 3.9| 1.7| 0.4|setosa | | 5.4| 3.9| 1.7| 0.4|setosa |
{{< end_section >}}

View file

@ -0,0 +1,38 @@
---
title: Placeholder Tip
author: KemoNine
publishDate: 2023-03-19
lastMod: 2023-03-19
toc: true
draft: false
categories:
- tips
tags:
- faq
- example
---
## Changelog
{{< changelog >}}
{{< back_to_top >}}
{{< change 2023-03-19 "Initial creation" >}}
{{< /changelog >}}
{{< end_section >}}
## Intro
This is a placeholder tip to prevent errors. More content will slowly be posted over time.
{{< end_section >}}
## Section 1
This is where some useful content would go
{{< end_section >}}
## Conclusion
In summary...
{{< end_section >}}

View file

@ -53,7 +53,7 @@ collections:
default: >- default: >-
## Changelog ## Changelog
{{< back_to_top >}} {{< changelog >}}
{{< changelog >}} {{< changelog >}}
@ -63,6 +63,8 @@ collections:
{{< /changelog >}} {{< /changelog >}}
{{< end_section >}}
- name: "tips" # Used in routes, e.g., /admin/collections/blog - name: "tips" # Used in routes, e.g., /admin/collections/blog
label: "Tips" # Used in the UI label: "Tips" # Used in the UI
folder: "content/tips" # The path to the folder where the documents are stored folder: "content/tips" # The path to the folder where the documents are stored
@ -114,3 +116,5 @@ collections:
{{< change 2000-12-31 "change 2" >}} {{< change 2000-12-31 "change 2" >}}
{{< /changelog >}} {{< /changelog >}}
{{< end_section >}}

View file

@ -45,7 +45,7 @@ collections:
default: >- default: >-
## Changelog ## Changelog
{{< back_to_top >}} {{< changelog >}}
{{< changelog >}} {{< changelog >}}
@ -54,6 +54,8 @@ collections:
{{< change 2000-12-31 "change 2" >}} {{< change 2000-12-31 "change 2" >}}
{{< /changelog >}} {{< /changelog >}}
{{< end_section >}}
- name: "tips" # Used in routes, e.g., /admin/collections/blog - name: "tips" # Used in routes, e.g., /admin/collections/blog
label: "Tips" # Used in the UI label: "Tips" # Used in the UI
folder: "content/tips" # The path to the folder where the documents are stored folder: "content/tips" # The path to the folder where the documents are stored
@ -91,7 +93,7 @@ collections:
default: >- default: >-
## Changelog ## Changelog
{{< back_to_top >}} {{< changelog >}}
{{< changelog >}} {{< changelog >}}
@ -101,3 +103,4 @@ collections:
{{< /changelog >}} {{< /changelog >}}
{{< end_section >}}