Open
Conversation
✅ Deploy Preview for techworkersberlin ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
e660171 to
aef6564
Compare
shushugah
commented
Feb 4, 2024
Member
Author
shushugah
left a comment
There was a problem hiding this comment.
Explaining purpose of this Pull Request
| name: Simon | ||
| picture: /assets/css/images/logo.png | ||
| title: omg | ||
| entries: |
Member
Author
There was a problem hiding this comment.
DecapCMS expects a non-anonymous collection
| - editor | ||
| - editor | ||
| commit_messages: | ||
| create: Add {{collection}} "{{slug}}" via DecapCMS |
Member
Author
There was a problem hiding this comment.
These are the automated messages when publishing via DecapCMS
… correct handle/keyname
shushugah
commented
Feb 4, 2024
| 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" } |
Member
Author
There was a problem hiding this comment.
@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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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