Local metadata link commit at 2025-06-06 15:40:57 — file:///home/mrhavens/git-local-repos/git-sigil.git
This commit is contained in:
commit
b548318725
134 changed files with 15789 additions and 0 deletions
35
public/admin/config.yml
Normal file
35
public/admin/config.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
backend:
|
||||
name: github
|
||||
branch: main
|
||||
publish_mode: editorial_workflow
|
||||
repo: one-aalam/astro-ink # change this to your repo
|
||||
site_domain: astro-ink.vercel.app # change this to your domain
|
||||
base_url: https://astro-ink.vercel.app # change this to your prod URL
|
||||
auth_scope: repo
|
||||
auth_endpoint: oauth
|
||||
display_url: https://astro-ink.vercel.app
|
||||
logo_url: https://astro-ink.vercel.app/assets/logo.svg
|
||||
commit_messages:
|
||||
create: 'Create {{collection}} “{{slug}}”'
|
||||
update: 'Update {{collection}} “{{slug}}”'
|
||||
delete: 'Delete {{collection}} “{{slug}}”'
|
||||
uploadMedia: '[skip ci] Upload “{{path}}”'
|
||||
deleteMedia: '[skip ci] Delete “{{path}}”'
|
||||
|
||||
media_folder: 'public/images/uploads' # Folder where user uploaded files should go
|
||||
public_folder: '/images/uploads'
|
||||
|
||||
collections: # A list of collections the CMS should be able to edit
|
||||
- name: 'post' # Used in routes, ie.: /admin/collections/:slug/edit
|
||||
label: 'Post' # Used in the UI, ie.: "New Post"
|
||||
folder: 'src/content/blog' # The path to the folder where the documents are stored
|
||||
create: true # Allow users to create new documents in this collection
|
||||
fields: # The fields each document in this collection have
|
||||
- {label: "Layout", name: "layout", widget: "hidden", default: "$/layouts/post.astro"}
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Description', name: 'description', widget: 'text' }
|
||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||
- { label: 'Tags', name: 'tags', widget: 'list' }
|
||||
- { label: 'Author', name: 'author', widget: 'string' }
|
||||
- { label: 'Author Twitter Handle', name: 'authorTwitter', widget: 'string' }
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
Loading…
Add table
Add a link
Reference in a new issue