Class: Locomotive::Steam::Liquid::Tags::PathTo
Constant Summary
Concerns::Path::Syntax
Instance Attribute Summary
#handle
#attributes, #raw_attributes
Instance Method Summary
collapse
#initialize, #render_path
#change_page_locale
Instance Method Details
#render(context) ⇒ Object
11
12
13
|
# File 'lib/locomotive/steam/liquid/tags/path_to.rb', line 11
def render(context)
render_path(context)
end
|
#wrong_syntax! ⇒ Object
15
16
17
|
# File 'lib/locomotive/steam/liquid/tags/path_to.rb', line 15
def wrong_syntax!
raise SyntaxError.new("Valid syntax: path_to <page|page_handle|content_entry>(, locale: [fr|de|...], with: <page_handle>")
end
|