Better eslint configuration and format some files

This commit is contained in:
prototypa
2023-08-22 22:52:01 -04:00
parent da8ef74b38
commit c1f36e9f79
10 changed files with 37 additions and 43 deletions

View File

@ -2,33 +2,28 @@ backend:
name: git-gateway
branch: main
media_folder: "src/assets/images"
public_folder: "/_astro"
media_folder: 'src/assets/images'
public_folder: '/_astro'
collections:
- name: "post"
label: "Post"
folder: "src/content/post"
- name: 'post'
label: 'Post'
folder: 'src/content/post'
create: true
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "Excerpt", name: "excerpt", widget: "string" }
- { label: "Category", name: "category", widget: "string" }
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Excerpt', name: 'excerpt', widget: 'string' }
- { label: 'Category', name: 'category', widget: 'string' }
- {
label: "Tags",
name: "tags",
widget: "list",
label: 'Tags',
name: 'tags',
widget: 'list',
allow_add: true,
allow_delete: true,
collapsed: false,
field: { label: "Tag", name: "tag", widget: "string" },
field: { label: 'Tag', name: 'tag', widget: 'string' },
}
- { label: "Image", name: "image", widget: "string" }
- {
label: "Publish Date",
name: "publishDate",
widget: "datetime",
required: false,
}
- { label: "Author", name: "author", widget: "string" }
- { label: "Content", name: "body", widget: "markdown" }
- { label: 'Image', name: 'image', widget: 'string' }
- { label: 'Publish Date', name: 'publishDate', widget: 'datetime', required: false }
- { label: 'Author', name: 'author', widget: 'string' }
- { label: 'Content', name: 'body', widget: 'markdown' }

View File

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />