update templates, place holder posts to include end_section shortcode where appropriate
This commit is contained in:
parent
dfee4bc1fe
commit
9d5966096f
|
@ -14,12 +14,14 @@ tags:
|
|||
---
|
||||
|
||||
## Changelog
|
||||
{{< back_to_top >}}
|
||||
{{< changelog >}}
|
||||
{{< back_to_top >}}
|
||||
{{< change 2023-03-17 "test change 1" >}}
|
||||
{{< change 2023-03-18 "test change 2" >}}
|
||||
{{< /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.
|
||||
|
||||
## 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)
|
||||
```
|
||||
|
||||
{{< end_section >}}
|
||||
|
||||
## 2. Sample Text
|
||||
{{< back_to_top >}}
|
||||
|
||||
|
@ -90,3 +94,4 @@ A table (centered by default):
|
|||
| 5.0| 3.6| 1.4| 0.2|setosa |
|
||||
| 5.4| 3.9| 1.7| 0.4|setosa |
|
||||
|
||||
{{< end_section >}}
|
||||
|
|
38
content/tips/_placeholder.md
Normal file
38
content/tips/_placeholder.md
Normal 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 >}}
|
|
@ -52,9 +52,9 @@ collections:
|
|||
widget: markdown
|
||||
default: >-
|
||||
## Changelog
|
||||
|
||||
{{< back_to_top >}}
|
||||
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< change 2000-12-30 "change 1" >}}
|
||||
|
@ -62,6 +62,8 @@ collections:
|
|||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
|
||||
{{< end_section >}}
|
||||
|
||||
- name: "tips" # Used in routes, e.g., /admin/collections/blog
|
||||
label: "Tips" # Used in the UI
|
||||
|
@ -114,3 +116,5 @@ collections:
|
|||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
|
||||
{{< end_section >}}
|
||||
|
|
|
@ -44,9 +44,9 @@ collections:
|
|||
required: true
|
||||
default: >-
|
||||
## Changelog
|
||||
|
||||
{{< back_to_top >}}
|
||||
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< change 2000-12-30 "change 1" >}}
|
||||
|
@ -54,6 +54,8 @@ collections:
|
|||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
|
||||
{{< end_section >}}
|
||||
- name: "tips" # Used in routes, e.g., /admin/collections/blog
|
||||
label: "Tips" # Used in the UI
|
||||
folder: "content/tips" # The path to the folder where the documents are stored
|
||||
|
@ -90,9 +92,9 @@ collections:
|
|||
required: true
|
||||
default: >-
|
||||
## Changelog
|
||||
|
||||
{{< back_to_top >}}
|
||||
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< change 2000-12-30 "change 1" >}}
|
||||
|
@ -100,4 +102,5 @@ collections:
|
|||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
|
||||
|
||||
{{< end_section >}}
|
||||
|
|
Loading…
Reference in a new issue