From 54ea3c7ca6f3e30b0e97e42b42333e5d9530902e Mon Sep 17 00:00:00 2001 From: KemoNine Date: Mon, 20 Mar 2023 11:16:29 -0400 Subject: [PATCH] tweak example and template to be more robus and include ref shortcode use in particular --- content/tips/_example.md | 6 ++++-- content/tips/_template.md | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/content/tips/_example.md b/content/tips/_example.md index f21b2a9..8754bbd 100644 --- a/content/tips/_example.md +++ b/content/tips/_example.md @@ -1,10 +1,10 @@ --- -title: _Example +title: _ Example _ author: KemoNine publishDate: 2023-03-16 lastMod: 2023-03-18 toc: true -draft: true +draft: false categories: - blog - tips @@ -23,6 +23,8 @@ tags: {{< end_section >}} +Use [bbb]({{< ref "[category]/[file].md" >}}) for cross references + 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 diff --git a/content/tips/_template.md b/content/tips/_template.md index b84a259..fac0eb6 100644 --- a/content/tips/_template.md +++ b/content/tips/_template.md @@ -1,16 +1,16 @@ --- -title: _Tip Template_ +title: _ Tip Template _ author: YourName publishDate: 1900-12-30 lastMod: 1900-12-31 toc: true -draft: true +draft: false categories: - tips - - faq + - a-main-category tags: - - example - template + - example-tag --- ## Changelog @@ -40,6 +40,6 @@ This is where some useful content would go ## Conclusion {{< back_to_top >}} -In summary... +In summary... Use [bbb]({{< ref "[category]/[file].md" >}}) for cross references {{< end_section >}}