blob: af6cd3a0bd74fce2345adfc446bcf25880400a30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
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
* c/hidden - set a hidden value
|