diff options
Diffstat (limited to '.frontmatter/config/content')
| -rw-r--r-- | .frontmatter/config/content/pagefolders/docs.json | 3 | ||||
| -rw-r--r-- | .frontmatter/config/content/snippets/collapse.json | 47 |
2 files changed, 49 insertions, 1 deletions
diff --git a/.frontmatter/config/content/pagefolders/docs.json b/.frontmatter/config/content/pagefolders/docs.json index c31aefc..ffca871 100644 --- a/.frontmatter/config/content/pagefolders/docs.json +++ b/.frontmatter/config/content/pagefolders/docs.json @@ -6,6 +6,7 @@ "previewPath": "docs", "contentTypes": [ "docs", - "index" + "index", + "timelinejs" ] }
\ No newline at end of file diff --git a/.frontmatter/config/content/snippets/collapse.json b/.frontmatter/config/content/snippets/collapse.json new file mode 100644 index 0000000..d8dc15e --- /dev/null +++ b/.frontmatter/config/content/snippets/collapse.json @@ -0,0 +1,47 @@ +{ + "$schema": "https://frontmatter.codes/config/content.snippets.schema.json", + "title": "Collapse", + "description": "Collapsible Element", + "body": [ + "{{< button collapse=[[id]] >}}", + "[[label]]", + "{{< /button >}}", + "", + "{{< collapse id=[[id]] class=[[class]] >}}", + "[[content]]", + "{{< /collapse >}}" + ], + "isMediaSnippet": false, + "openingTags": "[[", + "closingTags": "]]", + "fields": [ + { + "title": "Tag Id", + "name": "id", + "type": "string", + "single": true, + "default": "" + }, + { + "title": "Button Label", + "name": "label", + "type": "string", + "single": false, + "default": "" + }, + { + "title": "Class", + "name": "class", + "type": "string", + "single": true, + "default": "p-3 border rounded" + }, + { + "title": "Content", + "name": "content", + "type": "string", + "single": false, + "default": "" + } + ] +}
\ No newline at end of file |
