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.
- data/README.md +7 -6
- data/lib/noumenon/version.rb +1 -1
- 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
|
-
"
|
|
75
|
+
"content" containing the rendered content, along with any fields that were specified on the page being rendered.
|
|
78
76
|
|
|
79
|
-
|
|
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
|
-
{{
|
|
101
|
+
{{ content }}
|
|
101
102
|
</section>
|
|
102
103
|
|
|
103
104
|
<footer>Copyright © 2011, Enormicorp Plc.</footer>
|
data/lib/noumenon/version.rb
CHANGED