{"action":"opened","issue":{"url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/165","repository_url":"https://api.github.com/repos/jekyll/jekyll-admin","labels_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/165/comments","events_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/165/events","html_url":"https://github.com/jekyll/jekyll-admin/issues/165","id":172445675,"number":165,"title":"Allow for default fields","user":{"login":"budparr","id":115347,"avatar_url":"https://avatars.githubusercontent.com/u/115347?v=3","gravatar_id":"","url":"https://api.github.com/users/budparr","html_url":"https://github.com/budparr","followers_url":"https://api.github.com/users/budparr/followers","following_url":"https://api.github.com/users/budparr/following{/other_user}","gists_url":"https://api.github.com/users/budparr/gists{/gist_id}","starred_url":"https://api.github.com/users/budparr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budparr/subscriptions","organizations_url":"https://api.github.com/users/budparr/orgs","repos_url":"https://api.github.com/users/budparr/repos","events_url":"https://api.github.com/users/budparr/events{/privacy}","received_events_url":"https://api.github.com/users/budparr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-22T12:56:54Z","updated_at":"2016-08-22T12:56:54Z","closed_at":null,"body":"Following from #140, I'm breaking this issue out. \r\n \r\nAllow for default fields. A site owner should be allowed to set up fields in the config file, or elsewhere, which creates consistency and ease of use for content creators:\r\n\r\nHere are examples for how others handle this: [Prose.io:](https://github.com/prose/prose/wiki/Prose-Configuration#metadata-configuration),  [Cloudcannon](https://docs.cloudcannon.com/editing/collection-defaults/), [Siteleaf](http://learn.siteleaf.com/content/defaults/).\r\n\r\nOne approach, as mentioned by @benbalter, is that I could have the following in my config:\r\n\r\n```\r\njekyll_admin:\r\n  default_fields:\r\n    - title\r\n    - description\r\n\r\n```\r\nAnd then when creating a new post, those fields would be initialized, but empty, by default. And I agree, that's likely the most Jekyll-like way. "}}
{"actor":{"display_login":"budparr"}}