mirror of
https://github.com/Aroy-Art/Aroy-Art-Site.git
synced 2024-12-26 07:14:22 +01:00
Add: Front Matter configs
This commit is contained in:
parent
a49822f91a
commit
5affd7b8c1
5 changed files with 90 additions and 0 deletions
1
.frontmatter/database/mediaDb.json
Normal file
1
.frontmatter/database/mediaDb.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"static":{"images":{"blog":{"how-to-use-schematics":{"how-to-use-schematics.png":{}}}}}}
|
1
.frontmatter/database/pinnedItemsDb.json
Normal file
1
.frontmatter/database/pinnedItemsDb.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
1
.frontmatter/database/taxonomyDb.json
Normal file
1
.frontmatter/database/taxonomyDb.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"taxonomy":{"categories":[]}}
|
11
.frontmatter/templates/article.md
Normal file
11
.frontmatter/templates/article.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
title:
|
||||||
|
slug:
|
||||||
|
description:
|
||||||
|
author:
|
||||||
|
date: 2019-08-22T15:20:28.000Z
|
||||||
|
lastmod: 2019-08-22T15:20:28.000Z
|
||||||
|
draft: true
|
||||||
|
tags: []
|
||||||
|
categories: []
|
||||||
|
---
|
76
frontmatter.json
Normal file
76
frontmatter.json
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
|
||||||
|
"frontMatter.preview.host": "http://localhost:1313/",
|
||||||
|
"frontMatter.content.pageFolders": [
|
||||||
|
{
|
||||||
|
"title": "Content",
|
||||||
|
"path": "[[workspace]]/content",
|
||||||
|
"excludeSubdir": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Blog posts",
|
||||||
|
"path": "[[workspace]]/content/blog"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"frontMatter.framework.id": "hugo",
|
||||||
|
"frontMatter.content.publicFolder": "static",
|
||||||
|
"frontMatter.content.autoUpdateDate": true,
|
||||||
|
"frontMatter.content.fmHighlight": true,
|
||||||
|
"frontMatter.dashboard.openOnStart": true,
|
||||||
|
"frontMatter.templates.enabled": true,
|
||||||
|
"frontMatter.data.files": [
|
||||||
|
{
|
||||||
|
"id": "portfolio",
|
||||||
|
"title": "Portfolio",
|
||||||
|
"file": "[[workspace]]/data/",
|
||||||
|
"fileType": "yaml",
|
||||||
|
"type": "portfolio"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"frontMatter.taxonomy.contentTypes": [
|
||||||
|
{
|
||||||
|
"name": "default",
|
||||||
|
"pageBundle": false,
|
||||||
|
"previewPath": "blog/",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"title": "Title",
|
||||||
|
"name": "title",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Publishing date",
|
||||||
|
"name": "date",
|
||||||
|
"type": "datetime",
|
||||||
|
"default": "{{now}}",
|
||||||
|
"isPublishDate": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "lastmod",
|
||||||
|
"name": "lastmod",
|
||||||
|
"type": "datetime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Preview image",
|
||||||
|
"name": "image",
|
||||||
|
"type": "image"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Description",
|
||||||
|
"name": "description",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Tags",
|
||||||
|
"name": "tags",
|
||||||
|
"type": "tags"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Draft",
|
||||||
|
"name": "draft",
|
||||||
|
"type": "draft"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue