Sha256: 8a62647cef0ec0c2e267abe1b831e81b8749b726f0828a9af93a2ad63c579e9e

Contents?: true

Size: 188 Bytes

Versions: 3

Compression:

Stored size: 188 Bytes

Contents

require 'models/post'

class Page < Post
  def permalink
    if vars.has_key?('permalink')
      "/#{ normalize_custom_permalink }.html"
    else
      "/#{ slug }.html"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ignoramos-1.1.0 lib/models/page.rb
ignoramos-1.0.1 lib/models/page.rb
ignoramos-1.0.0 lib/models/page.rb