mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-14 10:33:05 +02:00
Allow taxonomy field to just list one or more specific taxonomies if the taxonomies field is filled in the blueprint
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
1. [](#improved)
|
||||
* Remove save button and save location notification on Config Info tab [#1116](https://github.com/getgrav/grav-plugin-admin/pull/1116)
|
||||
* Allow taxonomy field to just list one or more specific taxonomies if the `taxonomies` field is filled in the blueprint
|
||||
|
||||
# v1.5.0-rc.1
|
||||
## 05/16/2017
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% set taxonomies = (taxonomies is null ? admin.data('config/site').taxonomies : taxonomies) %}
|
||||
{% set taxonomies = (taxonomies is null ? (field.taxonomies ? field.taxonomies : admin.data('config/site').taxonomies) : taxonomies) %}
|
||||
{% set parentname = field.name %}
|
||||
|
||||
{% for name in taxonomies %}
|
||||
|
||||
Reference in New Issue
Block a user