Skip to content

uri.params wrong documented or missbehaving #828

Open
@NicoHood

Description

@NicoHood

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:

{{ uri.params("tag", true) |get_type}}

returns string

Url used: www.example.com/blog/tag:one,two,three

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions