Sha256: ab97d21271f4e03be72c44e6028223bbec8bef1fa52344e67c21c89ae52892a4
Contents?: true
Size: 464 Bytes
Versions: 4
Compression:
Stored size: 464 Bytes
Contents
# Frozen-string-literal: true # Encoding: utf-8 module Jekyll class LanguageDocument < Document include LanguageProperties alias_method :url_template_orig, :url_template alias_method :url_placeholders_orig, :url_placeholders def url_template return "/:language" + url_template_orig if !language.nil? url_template_orig end def url_placeholders @url_placeholders ||= Drops::LanguageUrlDrop.new(self) end end end
Version data entries
4 entries across 4 versions & 1 rubygems