siteleaf / learn.siteleaf.com

Siteleaf Learn is a documentation and learning resource for Siteleaf v2.
http://learn.siteleaf.com
26 stars 25 forks source link

Default fields #58

Closed sskylar closed 8 years ago

sskylar commented 8 years ago

One of the top questions I get asked is how to add default fields so they show up for all posts. Specifically because they want these fields to show up in the admin by default.

I usually point them to this: https://gist.github.com/sskylar/4a782de7c8d080cf5db6

And mention its okay for default keys to have blank values, and also to take advantage of Smart Field names (which is already mentioned).

sawyerh commented 8 years ago

Currently there's a short blurb on this here: http://learn.siteleaf.com/content/metadata/#defining-default-fields

sskylar commented 8 years ago

Pretty buried though, shows up as the 6th entry if you search for "defaults".

And people keep asking.