Sha256: 9ec6e4cfba891e4889e0b1717d802400da1f9770fa15c04cd288a0fcf6bfcc4c

Contents?: true

Size: 172 Bytes

Versions: 17

Compression:

Stored size: 172 Bytes

Contents

class Hyde::Page::Post < Hyde::Page
  def css_class
    title.downcase.gsub(' ', '-')
  end

  def default_layout
    'post'  if html?
  end

  # Alias
  ::Post = self
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
hydeweb-0.2.3 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.2.2 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.14 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.13 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.12 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.11 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.10 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.9 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.8 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.7 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.6 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.5 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.4 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.3 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.2 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.1 test/fixture/subclass/extensions/a/a.rb
hydeweb-0.1.0 test/fixture/subclass/extensions/a/a.rb