Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/shortcodes/attachments/_index.md')
-rw-r--r--exampleSite/content/shortcodes/attachments/_index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/shortcodes/attachments/_index.md b/exampleSite/content/shortcodes/attachments/_index.md
index c465e75..6d34496 100644
--- a/exampleSite/content/shortcodes/attachments/_index.md
+++ b/exampleSite/content/shortcodes/attachments/_index.md
@@ -46,9 +46,9 @@ For example:
## Demo
### List of attachments ending in pdf or mp4
-
+```
{{%/*attachments title="Related files" pattern=".*(pdf|mp4)"/*/%}}
-
+```
renders as
{{%attachments title="Related files" pattern=".*(pdf|mp4)"/%}}