You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
theme_vars() is competely different from uri.params. Theme vars is for retrieving theme-specific configuration values from theme configuration but with page-level overrides. Uri.params, simply gets the values of the params passed in the URI.
Okay thanks. but then the api implementation or documentation seems wrong to me. It does not return an array. I used: uri.param(taxonomy)|split(',') to get an array of the selected tags
Edit: Is there also a variable for the secondary seperator ','? I did not yet found anything like this.
The documentation of those two differs:
https://learn.getgrav.org/16/themes/theme-vars#params
https://learn.getgrav.org/16/api#class-grav-common-uri
The api details additional parameters for uri.params. Also uri.params does not return an array, even if I have multiple tags set:
returns string
Url used:
www.example.com/blog/tag:one,two,three
The text was updated successfully, but these errors were encountered: