Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

edalzell/statamic-variable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variable

Get and set variables in Antlers

Install

From your site folder, run composer require edalzell/variable

Usage

To set a variable, pass in a value:

{{ variable:var_to_set :value="in_scope_variable "}}

To get it:

{{ variable:var_to_set default="default value" }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages