Sha256: b3de65464c3f7f690d4848c83a6a10a2b534a4fb578d1a1ac38ea844113c4665

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

# A _node.rb will be run against all nodes from the same directory -- use it
# to enhance the Ruby objects representing these nodes with extra methods
# or behavior.
#
# In this example, we're simply adding some convenience methods for easier
# access to specific pieces of data.

def date
  data["date"]
end

def title
  data["title"]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flutterby-0.4.0 lib/templates/new_project/site/blog/_node.rb
flutterby-0.3.1 lib/templates/new_project/site/blog/_node.rb