Sha256: 51b1e2982aace2eaacd722d8d78327a1f00760c53ffb3de83779dd31d435d045

Contents?: true

Size: 338 Bytes

Versions: 6

Compression:

Stored size: 338 Bytes

Contents

# A _init.rb file contains Ruby code that will be executed when
# your application boots up. Use it to extend and modify other nodes!
#
# In this simple example, we're simply adding some convenience methods to
# all available blog posts for easier access to specific pieces of data.

extend_siblings do
  def date
    data.date
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flutterby-0.6.2 lib/templates/new_project/site/blog/_init.rb
flutterby-0.6.1 lib/templates/new_project/site/blog/_init.rb
flutterby-0.6.0 lib/templates/new_project/site/blog/_init.rb
flutterby-0.5.2 lib/templates/new_project/site/blog/_init.rb
flutterby-0.5.1 lib/templates/new_project/site/blog/_init.rb
flutterby-0.5.0 lib/templates/new_project/site/blog/_init.rb