settingslogic icon indicating copy to clipboard operation
settingslogic copied to clipboard

variables within YML

Open brewster1134 opened this issue 15 years ago • 0 comments

how can i use yml key values as variables within my same yml file? for example.... defaults: &defaults theme: name: default layout_path: <%= "themes/#{Settings.theme.name}/" %>

so that Settings.theme.layout_path will output themes/default/

brewster1134 avatar Nov 11 '10 02:11 brewster1134