diff options
author | vjeantet <valere.jeantet@gmail.com> | 2020-09-23 23:39:42 +0300 |
---|---|---|
committer | vjeantet <valere.jeantet@gmail.com> | 2020-09-23 23:39:42 +0300 |
commit | d1f32ddaf9f51b037f8221460cfba10bdcd2e141 (patch) | |
tree | 03e27aedc0caedccb2b679d49fb4d5ab92da5fd4 /exampleSite/content/content-and-customization/00-adding-content/page-checklist/_index.md | |
parent | ee1a0501f9841ea3719dbde8dd542f25982cc826 (diff) |
add checklist kind of pages
Diffstat (limited to 'exampleSite/content/content-and-customization/00-adding-content/page-checklist/_index.md')
-rw-r--r-- | exampleSite/content/content-and-customization/00-adding-content/page-checklist/_index.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/exampleSite/content/content-and-customization/00-adding-content/page-checklist/_index.md b/exampleSite/content/content-and-customization/00-adding-content/page-checklist/_index.md new file mode 100644 index 0000000..a2d0187 --- /dev/null +++ b/exampleSite/content/content-and-customization/00-adding-content/page-checklist/_index.md @@ -0,0 +1,34 @@ +--- +date: "2017-04-24T18:36:24+02:00" +description: "" +title: As a Checklist +weight: 190 +--- + +A basic .md file can be rendered as a form/checklist/questionnaire. + +{{% notice %}} +**A page rendered as a Checklist** is a page with a special rendered TOC, and a LOAD/DOWNLAOD form results buttons. +\ +[{{%icon aspect_ratio%}} click here to view an example]({{%ref "checklist/_index.md"%}}) + +{{%/notice%}} + +To tell Hugo to consider a page as a checklist, just add a `checklist: true` in the frontmatter of your page. + +```yaml +--- +checklist: true +--- +``` + +## Demo +[{{%icon aspect_ratio%}} click here to view an example]({{%ref "checklist/_index.md"%}}) + +## Dedicated shortcodes +* c/text - a line or box input type +* c/choices - a radiogroup or a checkboxgroup +* c/list - a select or a multiselect +* c/check - a checkbox +* c/switch - a switch +* c/show - display a part with a condition using user inputs |