Sha256: 09aed0bf8145b60f2185d18bea005b4d32071a98f2cc80830e639a9453945580

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

# When you add a _view.rb file to a folder, all pages in this folder
# and all folders below it will have the methods defined in it available
# as view helper methods.


# Define a `config` view helper that provides quick access to the
# site configuration object's data.
#
def config
  find("/_config").data
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flutterby-0.5.0 lib/templates/new_project/site/_view.rb
flutterby-0.4.0 lib/templates/new_project/site/_view.rb
flutterby-0.3.1 lib/templates/new_project/site/_view.rb