summaryrefslogtreecommitdiffstats
path: root/.frontmatter/config
diff options
context:
space:
mode:
authoranoduck <11767-anoduck@users.noreply.gitgud.io>2024-10-28 08:08:48 -0400
committeranoduck <11767-anoduck@users.noreply.gitgud.io>2024-10-28 08:08:48 -0400
commitf8d75ddde9fb521a5df9452c4b35cfd730ed9d37 (patch)
tree89204208c29383ec2f854c096b3c6e3222a934e3 /.frontmatter/config
parent6680d28a2e7002c98e08ffd936641ffb83da8f04 (diff)
style(content): :sparkles: Snippets, frontmatter, and nav section
Added snippets, still working on navbar section, formatting cleanups
Diffstat (limited to '.frontmatter/config')
-rw-r--r--.frontmatter/config/content/snippets/button.json3
-rw-r--r--.frontmatter/config/content/snippets/card.json56
-rw-r--r--.frontmatter/config/content/snippets/icon.json27
-rw-r--r--.frontmatter/config/taxonomy/contenttypes/fpnav.json1
-rw-r--r--.frontmatter/config/taxonomy/contenttypes/person.json1
-rw-r--r--.frontmatter/config/taxonomy/contenttypes/reason.json1
6 files changed, 87 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
diff --git a/.frontmatter/config/taxonomy/contenttypes/fpnav.json b/.frontmatter/config/taxonomy/contenttypes/fpnav.json
index 2db3431..ea7c49b 100644
--- a/.frontmatter/config/taxonomy/contenttypes/fpnav.json
+++ b/.frontmatter/config/taxonomy/contenttypes/fpnav.json
@@ -2,6 +2,7 @@
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"name": "fpnav",
"pageBundle": false,
+ "template": "[[workspace]]/.frontmatter/templates/fpnav.md",
"previewPath": null,
"fields": [
{
diff --git a/.frontmatter/config/taxonomy/contenttypes/person.json b/.frontmatter/config/taxonomy/contenttypes/person.json
index 1b8dd07..52e79b6 100644
--- a/.frontmatter/config/taxonomy/contenttypes/person.json
+++ b/.frontmatter/config/taxonomy/contenttypes/person.json
@@ -2,6 +2,7 @@
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"name": "person",
"pageBundle": false,
+ "template": "[[workspace]]/.frontmatter/templates/persons.md",
"fields": [
{
"title": "Title",
diff --git a/.frontmatter/config/taxonomy/contenttypes/reason.json b/.frontmatter/config/taxonomy/contenttypes/reason.json
index daebf48..688c762 100644
--- a/.frontmatter/config/taxonomy/contenttypes/reason.json
+++ b/.frontmatter/config/taxonomy/contenttypes/reason.json
@@ -2,6 +2,7 @@
"$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
"name": "reason",
"pageBundle": false,
+ "template": "[[workspace]]/.frontmatter/templates/reason.md",
"previewPath": null,
"fields": [
{