diff options
Diffstat (limited to 'static/admin')
| -rw-r--r-- | static/admin/config.yml | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml index 293cd96..8ab20cb 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -1,22 +1,22 @@ backend: - name: git-gateway - branch: master # Branch to update (optional; defaults to master) - - publish_mode: editorial_workflow - media_folder: "static/images/uploads" - public_folder: "/images/uploads" - - collections: - - name: 'blog' - label: 'Blog' - - folder: 'assets/content/blog' - create: true - slug: '{{year}}-{{month}}-{{day}}-{{slug}}' - editor: - preview: false - fields: - - { label: 'Title', name: 'title', widget: 'string' } - - { label: 'Publish Date', name: 'date', widget: 'datetime' } - - { label: 'Description', name: 'description', widget: 'string' } - - { label: 'Body', name: 'body', widget: 'markdown' }
\ No newline at end of file + name: github + branch: master + repo: your_repo_name +publish_mode: editorial_workflow +logo_url: /assets/img/Alee.png +media_folder: "static/uploads" +public_folder: "/uploads" +collections: + - name: 'blog' + label: 'Blog' + format: 'json' + folder: '/assets/content/blog' + create: true + slug: '{{year}}-{{month}}-{{day}}-{{slug}}' + editor: + preview: false + fields: + - { label: 'Title', name: 'title', widget: 'string' } + - { label: 'Publish Date', name: 'date', widget: 'datetime' } + - { label: 'Description', name: 'description', widget: 'string' } + - { label: 'Body', name: 'body', widget: 'markdown' }
\ No newline at end of file |
