diff options
| author | anoduck <11767-anoduck@users.noreply.gitgud.io> | 2024-10-28 08:08:48 -0400 |
|---|---|---|
| committer | anoduck <11767-anoduck@users.noreply.gitgud.io> | 2024-10-28 08:08:48 -0400 |
| commit | f8d75ddde9fb521a5df9452c4b35cfd730ed9d37 (patch) | |
| tree | 89204208c29383ec2f854c096b3c6e3222a934e3 /.frontmatter/config/content | |
| parent | 6680d28a2e7002c98e08ffd936641ffb83da8f04 (diff) | |
style(content): :sparkles: Snippets, frontmatter, and nav section
Added snippets, still working on navbar section, formatting cleanups
Diffstat (limited to '.frontmatter/config/content')
| -rw-r--r-- | .frontmatter/config/content/snippets/button.json | 3 | ||||
| -rw-r--r-- | .frontmatter/config/content/snippets/card.json | 56 | ||||
| -rw-r--r-- | .frontmatter/config/content/snippets/icon.json | 27 |
3 files changed, 84 insertions, 2 deletions
diff --git a/.frontmatter/config/content/snippets/button.json b/.frontmatter/config/content/snippets/button.json index 9181a19..0b3d773 100644 --- a/.frontmatter/config/content/snippets/button.json +++ b/.frontmatter/config/content/snippets/button.json @@ -18,8 +18,7 @@ { "name": "outline", "title": "Outline", - "type": "boolean", - "default": true + "type": "string" }, { "name": "content", diff --git a/.frontmatter/config/content/snippets/card.json b/.frontmatter/config/content/snippets/card.json new file mode 100644 index 0000000..df007e4 --- /dev/null +++ b/.frontmatter/config/content/snippets/card.json @@ -0,0 +1,56 @@ +{ + "$schema": "https://beta.frontmatter.codes/config/content.snippets.schema.json", + "title": "Card", + "description": "Card snippet for bootstrap card generation", + "body": [ + "{{< card align=\"[[align]]\" body=\"none\" button=true class=\"[[class]]\" header=\"none\" footer=\"none\" icon=\"[[icon]]\" orientation=\"[[orientation]]\" title=[[title]] wrapper=\"[[wrapper]]\" thumbnail=\"[[thumbnail]]\" path=\"[[path]]\" >}}", + "[[content]]", + "{{< /card >}}" + ], + "fields": [ + { + "title": "Align", + "name": "align", + "type": "string" + }, + { + "title": "Class", + "name": "class", + "type": "string", + "default": "" + }, + { + "title": "Icon", + "name": "icon", + "type": "string" + }, + { + "title": "Orientation", + "name": "orientation", + "type": "string", + "default": "stacked" + }, + { + "title": "Title", + "name": "title", + "type": "string" + }, + { + "title": "Wrapper", + "name": "wrapper", + "type": "string", + "default": "" + }, + { + "title": "Thumbnail", + "name": "thumbnail", + "type": "string" + }, + { + "title": "Path", + "name": "path", + "type": "string" + } + ], + "isMediaSnippet": false +} diff --git a/.frontmatter/config/content/snippets/icon.json b/.frontmatter/config/content/snippets/icon.json new file mode 100644 index 0000000..cf924ba --- /dev/null +++ b/.frontmatter/config/content/snippets/icon.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://beta.frontmatter.codes/config/content.snippets.schema.json", + "title": "Icon", + "description": "Icon Shortcode for font-awesome", + "body": "{{< fas [[icon]] spacing [[size]] [[animation]] >}}", + "fields": [ + { + "title": "Icon", + "name": "icon", + "type": "string", + "single": true + }, + { + "title": "Size", + "name": "size", + "type": "string", + "single": true + }, + { + "title": "Animation", + "name": "animation", + "type": "string", + "single": true + } + ], + "isMediaSnippet": false +}
\ No newline at end of file |
