diff options
Diffstat (limited to '.frontmatter/config')
| -rw-r--r-- | .frontmatter/config/content/pagefolders/news.json | 11 | ||||
| -rw-r--r-- | .frontmatter/config/content/snippets/accordian.json | 72 | ||||
| -rw-r--r-- | .frontmatter/config/content/snippets/image.json | 2 | ||||
| -rw-r--r-- | .frontmatter/config/content/snippets/profile.json | 99 | ||||
| -rw-r--r-- | .frontmatter/config/taxonomy/contenttypes/index.json | 17 | ||||
| -rw-r--r-- | .frontmatter/config/taxonomy/contenttypes/news.json | 69 | ||||
| -rw-r--r-- | .frontmatter/config/taxonomy/contenttypes/post.json | 31 |
7 files changed, 265 insertions, 36 deletions
diff --git a/.frontmatter/config/content/pagefolders/news.json b/.frontmatter/config/content/pagefolders/news.json new file mode 100644 index 0000000..7c46a7f --- /dev/null +++ b/.frontmatter/config/content/pagefolders/news.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json", + "title": "news", + "path": "[[workspace]]/content/news", + "filePrefix": null, + "previewPath": "news", + "contentTypes": [ + "news", + "index" + ] +}
\ No newline at end of file diff --git a/.frontmatter/config/content/snippets/accordian.json b/.frontmatter/config/content/snippets/accordian.json new file mode 100644 index 0000000..84e6d73 --- /dev/null +++ b/.frontmatter/config/content/snippets/accordian.json @@ -0,0 +1,72 @@ +{ + "$schema": "https://frontmatter.codes/config/content.snippets.schema.json", + "title": "Accordion", + "description": "Accordion Element", + "body": [ + "{{< accordion id=[[id]] >}}", + "{{< accordion-item header=[[header1]] show=true >}}", + "[[content1]]", + "{{< /accordion-item >}}", + "{{< accordion-item header=[[header2]] >}}", + "[[content2]]", + "{{< /accordion-item >}}", + "{{< accordion-item header=[[header3]] >}}", + "[[content3]]", + "{{< /accordion-item >}}", + "{{< /accordion >}}" + ], + "isMediaSnippet": false, + "openingTags": "[[", + "closingTags": "]]", + "fields": [ + { + "title": "Tag Id", + "name": "id", + "type": "string", + "single": true, + "default": "" + }, + { + "title": "Header 1", + "name": "header1", + "type": "string", + "single": true, + "default": "" + }, + { + "title": "Header 2", + "name": "header2", + "type": "string", + "single": true, + "default": "" + }, + { + "title": "Header 3", + "name": "header3", + "type": "string", + "single": true, + "default": "" + }, + { + "title": "Content 1", + "name": "content1", + "type": "string", + "single": true, + "default": "" + }, + { + "title": "Content 2", + "name": "content2", + "type": "string", + "single": true, + "default": "" + }, + { + "title": "Content 3", + "name": "content3", + "type": "string", + "single": true, + "default": "" + } + ] +}
\ No newline at end of file diff --git a/.frontmatter/config/content/snippets/image.json b/.frontmatter/config/content/snippets/image.json index 7e9db4f..fb2e6fe 100644 --- a/.frontmatter/config/content/snippets/image.json +++ b/.frontmatter/config/content/snippets/image.json @@ -33,5 +33,5 @@ "default": "" } ], - "isMediaSnippet": true + "isMediaSnippet": false }
\ No newline at end of file diff --git a/.frontmatter/config/content/snippets/profile.json b/.frontmatter/config/content/snippets/profile.json new file mode 100644 index 0000000..ab30872 --- /dev/null +++ b/.frontmatter/config/content/snippets/profile.json @@ -0,0 +1,99 @@ +{ + "$schema": "https://beta.frontmatter.codes/config/content.snippets.schema.json", + "title": "Profile page", + "description": "Profile Content Page", + "body": [ + "{{< persona thumbnail=\"[[Thumbnail]]\" title=\"{{title}}\" color=\"[[color]]\" >}}", + "Name: [[Name]]", + "Occupation: [[Occupation]]", + "Position: [[Position]]", + "Affiliations: [[Affiliations]]", + "Relations: [[Relations]]", + "POL Index: [[POL]]", + "Means: [[Means]]", + "Motive: [[Motive]]", + "Opportunity: [[Opportunity]]", + "Bio: [[Bio]]", + "{{< /persona >}}" + ], + "fields": [ + { + "name": "Title", + "title": "Title", + "type": "string", + "single": true, + "default": "'{{ replace .File.ContentBaseName `-` ` ` | title }}'" + }, + { + "name": "Thumbnail", + "title": "Thumbnail", + "type": "string", + "single": true, + "default": "/img/logo.png" + }, + { + "name": "color", + "title": "color", + "type": "string", + "single": true, + "default": "Primary" + }, + { + "name": "Name", + "title": "Name", + "type": "string", + "single": true + }, + { + "name": "Occupation", + "title": "Occupation", + "type": "string", + "single": true + }, + { + "name": "Position", + "title": "Position", + "type": "string", + "single": true + }, + { + "name": "Affiliations", + "title": "Affiliations", + "type": "string", + "single": false + }, + { + "name": "Relations", + "title": "Relations", + "type": "string", + "single": false + }, + { + "name": "POL", + "title": "POL Index", + "type": "string", + "single": true + }, + { + "name": "Means", + "title": "Means", + "type": "string", + "single": false + }, + { + "name": "Motive", + "title": "Motive", + "type": "string", + "single": false + }, + { + "name": "Opportunity", + "title": "Opportunity", + "type": "string", + "single": false + } + ], + "isMediaSnippet": false, + "openingTags": "[[", + "closingTags": "]]" +}
\ No newline at end of file diff --git a/.frontmatter/config/taxonomy/contenttypes/index.json b/.frontmatter/config/taxonomy/contenttypes/index.json index 796682d..aafd066 100644 --- a/.frontmatter/config/taxonomy/contenttypes/index.json +++ b/.frontmatter/config/taxonomy/contenttypes/index.json @@ -8,18 +8,21 @@ "title": "Title", "name": "title", "type": "string", - "single": true + "single": true, + "default": "_index" }, { - "title": "Categories", - "name": "categories", + "title": "Type", + "name": "type", "type": "string", - "single": true + "single": true, + "default": "minimal" }, { - "title": "Thumbnail", - "name": "thumbnail", - "type": "string" + "title": "Description", + "name": "description", + "type": "string", + "single": false }, { "title": "Alias", diff --git a/.frontmatter/config/taxonomy/contenttypes/news.json b/.frontmatter/config/taxonomy/contenttypes/news.json new file mode 100644 index 0000000..ef79686 --- /dev/null +++ b/.frontmatter/config/taxonomy/contenttypes/news.json @@ -0,0 +1,69 @@ +{ + "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json", + "name": "news", + "pageBundle": false, + "fields": [ + { + "title": "title", + "name": "title", + "type": "string" + }, + { + "title": "description", + "name": "description", + "type": "string" + }, + { + "title": "date", + "name": "date", + "type": "datetime" + }, + { + "title": "Type", + "name": "type", + "type": "choice", + "choices": [ + "default", + "docs", + "minimal" + ], + "default": "default" + }, + { + "title": "Categories", + "name": "categories", + "type": "string", + "single": true, + "default": "Post" + }, + { + "title": "tags", + "name": "tags", + "type": "tags" + }, + { + "title": "draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Alias", + "name": "alias", + "type": "list" + }, + { + "title": "thumbnail", + "name": "thumbnail", + "type": "string", + "single": true, + "default": "/img/logo.png" + }, + { + "title": "FrontMatter Content Type", + "name": "fmContentType", + "type": "string", + "single": true, + "default": "news" + } + ] +}
\ No newline at end of file diff --git a/.frontmatter/config/taxonomy/contenttypes/post.json b/.frontmatter/config/taxonomy/contenttypes/post.json index 4ce4d39..14a6b84 100644 --- a/.frontmatter/config/taxonomy/contenttypes/post.json +++ b/.frontmatter/config/taxonomy/contenttypes/post.json @@ -54,34 +54,9 @@ { "title": "thumbnail", "name": "thumbnail", - "type": "fields", - "fields": [ - { - "title": "url", - "name": "url", - "type": "string" - }, - { - "title": "author", - "name": "author", - "type": "string" - }, - { - "title": "authorURL", - "name": "authorURL", - "type": "string" - }, - { - "title": "origin", - "name": "origin", - "type": "string" - }, - { - "title": "originURL", - "name": "originURL", - "type": "string" - } - ] + "type": "string", + "single": true, + "default": "/img/logo.png" }, { "title": "FrontMatter Content Type", |
