Skip to content

Fork of edalzell/variable which has been deleted from github. This copy is not maintained but will remain available here as-is.

License

Notifications You must be signed in to change notification settings

EvolutedNewMedia/statamic-variable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

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

Fork of edalzell/variable which has been deleted from github. This copy is not maintained but will remain available here as-is.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages