Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
61
themes/docdock/exampleSite/content/shortcodes/notice.md
Normal file
61
themes/docdock/exampleSite/content/shortcodes/notice.md
Normal file
@@ -0,0 +1,61 @@
|
||||
+++
|
||||
title = "notice"
|
||||
description = "Disclaimers to help you structure your page"
|
||||
+++
|
||||
|
||||
The notice shortcode shows 4 types of disclaimers to help you structure your page.
|
||||
|
||||
|
||||
## Note
|
||||
|
||||
{{%/* notice note */%}}
|
||||
A notice disclaimer
|
||||
{{%/* /notice */%}}
|
||||
|
||||
renders as
|
||||
|
||||
{{% notice note %}}
|
||||
A notice disclaimer
|
||||
{{% /notice %}}
|
||||
|
||||
|
||||
## Info
|
||||
|
||||
{{%/* notice info */%}}
|
||||
An information disclaimer
|
||||
{{%/* /notice */%}}
|
||||
|
||||
renders as
|
||||
|
||||
{{% notice info %}}
|
||||
An information disclaimer
|
||||
{{% /notice %}}
|
||||
|
||||
|
||||
|
||||
## Tip
|
||||
|
||||
{{%/* notice tip */%}}
|
||||
A tip disclaimer
|
||||
{{%/* /notice */%}}
|
||||
|
||||
renders as
|
||||
|
||||
{{% notice tip %}}
|
||||
A tip disclaimer
|
||||
{{% /notice %}}
|
||||
|
||||
|
||||
|
||||
## Warning
|
||||
|
||||
{{%/* notice warning */%}}
|
||||
An warning disclaimer
|
||||
{{%/* /notice */%}}
|
||||
|
||||
renders as
|
||||
|
||||
{{% notice warning %}}
|
||||
An warning disclaimer
|
||||
{{% /notice %}}
|
||||
|
||||
Reference in New Issue
Block a user