mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-26 14:38:30 +02:00
Cms (#17)
This commit is contained in:
@@ -1,27 +1,26 @@
|
||||
backend:
|
||||
name: git-gateway
|
||||
branch: cms # Branch to update (optional; defaults to master)
|
||||
media_folder: static/blog_data/from_cms
|
||||
public_folder: /img
|
||||
media_folder: qdrant-landing/static/blog_data/from_cms
|
||||
public_folder: /blog_data/from_cms
|
||||
collections:
|
||||
- name: 'blog'
|
||||
label: 'Blog'
|
||||
folder: 'content/blog'
|
||||
folder: 'qdrant-landing/content/blog'
|
||||
create: true
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||
editor:
|
||||
preview: false
|
||||
preview: true
|
||||
fields:
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Title of blog post', name: 'title', widget: 'string' }
|
||||
- { label: 'Short Description', name: 'short_description', widget: 'string'}
|
||||
- { label: 'Description', name: 'description', widget: 'string' }
|
||||
- { label: 'Preview Image', name: 'preview_image', widget: 'preview_image'}
|
||||
- { label: 'Weight', name: 'weight', widget: 'number'}
|
||||
- { label: 'Category', name: 'category', widget: 'string'}
|
||||
- { label: 'Description for preview (including social media)', name: 'description', widget: 'string' }
|
||||
- { label: 'Preview Image', name: 'preview_image', widget: 'image'}
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||
- { label: 'Author', name: 'author', widget: 'string'}
|
||||
- { label: 'Author Link', name: 'author_link', widget: 'string'}
|
||||
- { label: 'Featured Post', name: 'featured', widget: 'boolean', default: 'false'}
|
||||
- { label: 'Category', name: 'categories', widget: "select", options: ["News"]}
|
||||
- { label: "Tags", name: "tags", widget: "list", default: [ "news" ] }
|
||||
- { label: "Tags (use , to separate)", name: "tags", widget: "list",
|
||||
fields: [release, jina-integration, grpc, docarray], allow_add: true, }
|
||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||
|
||||
Reference in New Issue
Block a user