Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/static/admin/config.yml')
-rw-r--r--exampleSite/static/admin/config.yml40
1 files changed, 0 insertions, 40 deletions
diff --git a/exampleSite/static/admin/config.yml b/exampleSite/static/admin/config.yml
deleted file mode 100644
index 4719e46..0000000
--- a/exampleSite/static/admin/config.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-backend:
- name: github
- repo: vjeantet/hugo-theme-docport
- open_authoring: true
-media_folder: static/images/uploads
-public_folder: /images/uploads
-publish_mode: editorial_workflow
-site_url: https://docport.netlify.app
-nested:
- depth: 100 # max depth to show in the collection tree
- summary: '{{title}}' # optional summary for a tree node, defaults to the inferred title field
-collections:
- - name: 'pages'
- label: 'Home'
- label_singular: 'Page'
- folder: 'exampleSite/content'
- create: true
- media_folder: ''
- public_folder: ''
- nested:
- depth: 100 # max depth to show in the collection tree
- summary: '{{title}}' # how menu is displayed in menu tree
- summary: '{{title}}' # how page names are displayed
- editor:
- preview: true
- fields:
- - { label: 'Title', name: 'title', widget: 'string', default: '' }
- - { label: 'Description', name: 'description', widget: 'string' }
- - { label: 'Publish Date', name: 'date', widget: 'datetime' }
- - { label: 'Order', name: 'weight', widget: 'number', default: 10,required: false }
- - { label: 'Body', name: 'body', widget: 'markdown' }
- - { label: 'Hide page components', name: 'hide', widget: 'select',required: false, multiple: true, hint: 'Choose how to layout your content', options: [{ label: "Header", value: "header" },{ label: "Left menu ", value: "nav" }, { label: "breadcrumb", value: "breadcrumb" }, { label: "right bar with table of content", value: "breadcrumb" }, { label: "Next Page Helper", value: "nextpage" }, { label: "footer", value: "footer" }]}
- - { label: 'Force display as a subpage ?', name: 'subpage', widget: 'boolean',required: false, default: false, hint: 'Display this page as subcontent' }
- - { label: 'Is Hidden ?', name: 'hidden', widget: 'boolean',required: false, default: false, hint: 'Hide this page from any menu' }
- - { label: 'Menu Entry Head', name: 'head', widget: 'string', required: false, hint: 'Display something before menu entry' }
- - { label: 'Menu label Prefix', name: 'pre', widget: 'string', required: false, hint: 'Display something before menu label' }
- - { label: 'Menu label Suffix', name: 'post', widget: 'string', required: false, hint: 'Display something after menu label' }
- - { label: 'Menu - Always open', name: 'alwaysopen', widget: 'boolean', required: false, default: false, hint: 'Open menu by default' }
- meta: { path: { widget: string, label: 'Path', index_file: '_index', pattern: ['.*', "Error"] } }
-