Sha256: 3df1a3d629a09a92a0b672ecd0326fba8ef4dc068684ddedff7978b904205380
Contents?: true
Size: 551 Bytes
Versions: 17
Compression:
Stored size: 551 Bytes
Contents
module Locomotive module Steam module Liquid module Tags module Concerns module I18nPage def change_page_locale(locale, drop, &block) page = drop.send(:_source) page.__with_locale__(locale) do if page.templatized? && page.content_entry page.content_entry.__with_locale__(locale) { yield } else yield end end end end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems