noumenon 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.md +7 -6
  2. data/lib/noumenon/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -42,7 +42,7 @@ The core of a theme is the templates it provides. Each template can list the fie
42
42
  of them as being required. Templates also include a Liquid template which is used to transform the provided fields into a
43
43
  web page.
44
44
 
45
- Templates should be placed in a "templates" sub-directory within your theme, and end with the extension .html
45
+ Templates should be placed in a "templates" sub-directory within your theme, and end with the extension .nou.html
46
46
 
47
47
  title:
48
48
  required: true
@@ -71,12 +71,13 @@ Any fields provided to a template which aren't specified will still be available
71
71
 
72
72
  #### Layouts
73
73
 
74
- *WARNING:* This isn't implemented in the current version.
75
-
76
74
  Layouts are used to wrap a piece of content with the overall look and feel of your website, and are provided with a single field
77
- "body" containing the rendered content. Currently only one layout per theme is supported, and it should be called "layout.html".
75
+ "content" containing the rendered content, along with any fields that were specified on the page being rendered.
78
76
 
79
- body:
77
+ Unless otherwise specified the layout "default" will be used, which is loaded from the path layouts/default.nou.html within your
78
+ theme. To specify a different layout set the "layout" field on your content item.
79
+
80
+ content:
80
81
  required: true
81
82
  type: "text"
82
83
  ---
@@ -97,7 +98,7 @@ Layouts are used to wrap a piece of content with the overall look and feel of yo
97
98
  </nav>
98
99
 
99
100
  <section id="content">
100
- {{ body }}
101
+ {{ content }}
101
102
  </section>
102
103
 
103
104
  <footer>Copyright &copy; 2011, Enormicorp Plc.</footer>
@@ -1,5 +1,5 @@
1
1
  module Noumenon
2
2
  # The current version of Noumenon.
3
3
  # @api public
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: noumenon
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jon Wood