class Jekyll::Locale::AutoPage

Attributes

content[RW]
data[RW]
output[RW]

Public Class Methods

new(canon, locale) click to toggle source
# File lib/jekyll/locale/auto_page.rb, line 11
def initialize(canon, locale)
  setup(canon, locale)
  @path    = canon.path
  @content = canon.content
  @data    = canon.data
end

Public Instance Methods

to_liquid() click to toggle source
# File lib/jekyll/locale/auto_page.rb, line 22
def to_liquid
  @to_liquid ||= Locale::PageDrop.new(self)
end
url() click to toggle source
# File lib/jekyll/locale/auto_page.rb, line 18
def url
  @url ||= File.join("", locale, canon.url)
end