getgrav / grav-theme-gateway

Gateway incorporates elegant style with user friendly customizer options making it perfectly suited for a variety of Grav users. With rock solid development and flexible integration, the Gateway theme is sure to be a favorite for first time Grav users and experienced developers alike.
https://getgrav.org
GNU General Public License v2.0
12 stars 9 forks source link

Add Author field for Admin-Plugin in Pages Options #6

Open xhs345 opened 8 years ago

xhs345 commented 8 years ago

Hi, this is a suggestion for an enhancement.

I noticed that the theme is using a 'author' field in each blog page, which is not included in the Admin Plugin. So the only way is to add or change it manually editing the file (usually by going in Expert mode when using the plugin), which might not be intuitive for beginners

I fixed this for me by adding:

                header.author:
                  type: text
                  label: PLUGIN_ADMIN.AUTHOR

in the file system/blueprints/pages/default.yaml below header.metadata:

Now I'm not sure if this is even possible to change with a theme. And if yes, if it should be in the scope of this theme to change it