Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

get

An array of GET variables that come from any query strings present in the current URL. It can be used as a tag pair with access to all your parameters or as a single tag to access parameters directly. A counterpart to {{ post }}.

Example URL: /about?show=pants&hide=jeggings

{{ get:show }}
 
{{ get }}
{{ show }}
{{ hide }}
{{ /get }}
pants
 
pants
jeggings

Be sure to escape these values with the sanitize modifier if you plan to use them in output in production.

<!-- Because let's face it. You really *should* sanitize your jeggings. -->
{{ get:jeggings | sanitize }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?