-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decap cms expansion #270
base: develop
Are you sure you want to change the base?
Decap cms expansion #270
Conversation
✅ Deploy Preview for techworkersberlin ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
e660171
to
aef6564
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explaining purpose of this Pull Request
name: Simon | ||
picture: /assets/css/images/logo.png | ||
title: omg | ||
entries: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DecapCMS expects a non-anonymous collection
- editor | ||
- editor | ||
commit_messages: | ||
create: Add {{collection}} "{{slug}}" via DecapCMS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are the automated messages when publishing via DecapCMS
… correct handle/keyname
fields: # The fields for each document, usually in front matter | ||
- {label: "Title", name: "title", widget: "string"} | ||
# this is still not working...in worst case...could set it to simple string...but without validation ;p | ||
- {label: "Author", name: "author", widget: "relation", collection: "relation_files", file: "authors", search_fields: ['authors.entries.handle'], value_field: "authors.entries.handle" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acao this line seems wrong... I am unsure what file: value should be...I defined authors in line 61 below; but it's not working :D
DecapCMS provides a User Interface to enable editors to update the website without touching github.com. Behind the hood DecapCMS makes GitHub edits. Before this pull request, only events were editable. Now this includes blog posts, and also the author/press data collections
If you want to add a new press mention inside https://techworkersberlin.com/press, or update an existing blog post inside https://techworkersberlin.com/blog both are now possible via DecapCMS. Addresses issues in #269
What's working:
Adding Authors, Press (data) and Blog collections are editable now!!!
Not fully working
Selecting the authors/tags inside news or blog posts does not dynamically load/update...so need to know manually what valid author/tags are...
Screenshots