radiant-site_templates-extension 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +3 -0
- data/Rakefile +136 -0
- data/db/templates/empty.yml +2 -0
- data/db/templates/roasters.yml +7826 -0
- data/db/templates/simple-blog.yml +251 -0
- data/db/templates/styled-blog.yml +535 -0
- data/lib/radiant-site_templates-extension/version.rb +3 -0
- data/lib/radiant-site_templates-extension.rb +2 -0
- data/lib/tasks/site_templates_extension_tasks.rake +55 -0
- data/public/images/roasters/banner.jpg +0 -0
- data/public/images/roasters/closelabel.gif +0 -0
- data/public/images/roasters/comment.png +0 -0
- data/public/images/roasters/gallery1.jpg +0 -0
- data/public/images/roasters/gallery2.jpg +0 -0
- data/public/images/roasters/gallery3.jpg +0 -0
- data/public/images/roasters/gallery4.jpg +0 -0
- data/public/images/roasters/gift.gif +0 -0
- data/public/images/roasters/green.gif +0 -0
- data/public/images/roasters/nav-background.gif +0 -0
- data/public/images/roasters/nav-divider.gif +0 -0
- data/public/images/roasters/nextlabel.gif +0 -0
- data/public/images/roasters/open.gif +0 -0
- data/public/images/roasters/preview-1.jpg +0 -0
- data/public/images/roasters/preview.jpg +0 -0
- data/public/images/roasters/prevlabel.gif +0 -0
- data/public/images/roasters/prize.gif +0 -0
- data/public/images/roasters/recycle.gif +0 -0
- data/public/images/roasters/rss.gif +0 -0
- data/public/images/roasters/thumb-grinder.jpg +0 -0
- data/public/images/roasters/thumb-grower.jpg +0 -0
- data/public/images/roasters/thumb-roaster.jpg +0 -0
- data/public/images/roasters/truck.gif +0 -0
- data/radiant-site_templates-extension.gemspec +30 -0
- data/site_templates_extension.rb +8 -0
- metadata +101 -0
@@ -0,0 +1,251 @@
|
|
1
|
+
--- !omap
|
2
|
+
- name: Simple Blog
|
3
|
+
- records: !omap
|
4
|
+
- Layouts: !omap
|
5
|
+
- 1:
|
6
|
+
name: Normal
|
7
|
+
content_type: ""
|
8
|
+
id: 1
|
9
|
+
content: |
|
10
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
11
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
12
|
+
<html>
|
13
|
+
<head>
|
14
|
+
<title><r:title /></title>
|
15
|
+
<link href="/rss/" rel="alternate" title="RSS" type="application/rss+xml" />
|
16
|
+
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<r:snippet name="header" />
|
20
|
+
<div id="content">
|
21
|
+
<r:content />
|
22
|
+
<div id="extended">
|
23
|
+
<r:content part="extended" />
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<r:snippet name="footer" />
|
27
|
+
</body>
|
28
|
+
</html>
|
29
|
+
|
30
|
+
- 2:
|
31
|
+
name: XML Feed
|
32
|
+
content_type: text/xml
|
33
|
+
id: 2
|
34
|
+
content: |
|
35
|
+
<r:content />
|
36
|
+
|
37
|
+
- Snippets: !omap
|
38
|
+
- 2:
|
39
|
+
name: footer
|
40
|
+
filter_id:
|
41
|
+
id: 2
|
42
|
+
content: |
|
43
|
+
<hr />
|
44
|
+
<div id="footer">
|
45
|
+
<p>Powered by <a href="http://radiantcms.org/">Radiant CMS</a></p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
- 1:
|
49
|
+
name: header
|
50
|
+
filter_id:
|
51
|
+
id: 1
|
52
|
+
content: |
|
53
|
+
<div id="header">
|
54
|
+
<h1><r:title /></h1>
|
55
|
+
</div>
|
56
|
+
<hr />
|
57
|
+
|
58
|
+
- Pages: !omap
|
59
|
+
- 1:
|
60
|
+
slug: /
|
61
|
+
class_name:
|
62
|
+
virtual: false
|
63
|
+
title: Home Page
|
64
|
+
id: 1
|
65
|
+
breadcrumb: Home
|
66
|
+
parent_id:
|
67
|
+
status_id: 100
|
68
|
+
published_at: 2011-04-11 03:34:07 Z
|
69
|
+
layout_id: 1
|
70
|
+
- 2:
|
71
|
+
slug: file-not-found
|
72
|
+
class_name: FileNotFoundPage
|
73
|
+
virtual: true
|
74
|
+
title: File Not Found
|
75
|
+
id: 2
|
76
|
+
breadcrumb: File Not Found
|
77
|
+
parent_id: 1
|
78
|
+
status_id: 100
|
79
|
+
published_at: 2011-04-11 03:34:07 Z
|
80
|
+
layout_id:
|
81
|
+
- 3:
|
82
|
+
slug: rss
|
83
|
+
class_name:
|
84
|
+
virtual: false
|
85
|
+
title: RSS Feed
|
86
|
+
id: 3
|
87
|
+
breadcrumb: RSS Feed
|
88
|
+
parent_id: 1
|
89
|
+
status_id: 100
|
90
|
+
published_at: 2011-04-11 03:34:07 Z
|
91
|
+
layout_id: 2
|
92
|
+
- 4:
|
93
|
+
slug: articles
|
94
|
+
class_name: ArchivePage
|
95
|
+
virtual: false
|
96
|
+
title: Articles
|
97
|
+
id: 4
|
98
|
+
breadcrumb: Articles
|
99
|
+
parent_id: 1
|
100
|
+
status_id: 100
|
101
|
+
published_at: 2011-04-11 03:34:07 Z
|
102
|
+
layout_id:
|
103
|
+
- 5:
|
104
|
+
slug: first-post
|
105
|
+
class_name:
|
106
|
+
virtual: false
|
107
|
+
title: First Post
|
108
|
+
id: 5
|
109
|
+
breadcrumb: First Post
|
110
|
+
parent_id: 4
|
111
|
+
status_id: 100
|
112
|
+
published_at: 2011-04-11 03:34:07 Z
|
113
|
+
layout_id:
|
114
|
+
- 6:
|
115
|
+
slug: second-post
|
116
|
+
class_name:
|
117
|
+
virtual: false
|
118
|
+
title: Second Post
|
119
|
+
id: 6
|
120
|
+
breadcrumb: Second Post
|
121
|
+
parent_id: 4
|
122
|
+
status_id: 100
|
123
|
+
published_at: 2011-04-11 03:34:07 Z
|
124
|
+
layout_id:
|
125
|
+
- 7:
|
126
|
+
slug: css
|
127
|
+
class_name: StylesheetPage
|
128
|
+
virtual: true
|
129
|
+
title: css
|
130
|
+
id: 7
|
131
|
+
breadcrumb: css
|
132
|
+
parent_id: 1
|
133
|
+
status_id: 100
|
134
|
+
published_at: 2011-04-11 03:36:56 Z
|
135
|
+
layout_id:
|
136
|
+
- 8:
|
137
|
+
slug: styles.css
|
138
|
+
class_name: StylesheetPage
|
139
|
+
virtual: true
|
140
|
+
title: styles.css
|
141
|
+
id: 8
|
142
|
+
breadcrumb: styles.css
|
143
|
+
parent_id: 7
|
144
|
+
status_id: 100
|
145
|
+
published_at: 2011-04-11 03:37:19 Z
|
146
|
+
layout_id:
|
147
|
+
- PageParts: !omap
|
148
|
+
- 1:
|
149
|
+
name: body
|
150
|
+
filter_id:
|
151
|
+
page_id: 1
|
152
|
+
id: 1
|
153
|
+
content: |
|
154
|
+
<r:find path="/articles/">
|
155
|
+
<r:children:each limit="5" order="desc">
|
156
|
+
<div class="entry">
|
157
|
+
<h3><r:link /> <small><r:author /></small></h3>
|
158
|
+
<r:content />
|
159
|
+
<r:if_content part="extended"><r:link anchor="extended">Continue Reading…</r:link></r:if_content>
|
160
|
+
</div>
|
161
|
+
</r:children:each>
|
162
|
+
</r:find>
|
163
|
+
|
164
|
+
- 2:
|
165
|
+
name: body
|
166
|
+
filter_id: Textile
|
167
|
+
page_id: 2
|
168
|
+
id: 2
|
169
|
+
content: |
|
170
|
+
The file you were looking for could not be found.
|
171
|
+
|
172
|
+
Attempted URL: @<r:attempted_url />@
|
173
|
+
|
174
|
+
It is possible that you typed the URL incorrectly or that you clicked on a bad link.
|
175
|
+
|
176
|
+
"<< Back to Home Page":/
|
177
|
+
|
178
|
+
- 3:
|
179
|
+
name: body
|
180
|
+
filter_id:
|
181
|
+
page_id: 3
|
182
|
+
id: 3
|
183
|
+
content: |
|
184
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
185
|
+
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
186
|
+
<channel>
|
187
|
+
<title>Article RSS Feed</title>
|
188
|
+
<link>http://example.com<r:path /></link>
|
189
|
+
<language>en-us</language>
|
190
|
+
<ttl>40</ttl>
|
191
|
+
<description>The main blog feed for my Web site.</description>
|
192
|
+
<r:find path="/articles/">
|
193
|
+
<r:children:each limit="10">
|
194
|
+
<item>
|
195
|
+
<title><r:title /></title>
|
196
|
+
<description><r:escape_html><r:content /></r:escape_html></description>
|
197
|
+
<pubDate><r:rfc1123_date /></pubDate>
|
198
|
+
<guid>http://example.com<r:path /></guid>
|
199
|
+
<link>http://example.com<r:path /></link>
|
200
|
+
</item>
|
201
|
+
</r:children:each>
|
202
|
+
</r:find>
|
203
|
+
</channel>
|
204
|
+
</rss>
|
205
|
+
|
206
|
+
- 4:
|
207
|
+
name: body
|
208
|
+
filter_id:
|
209
|
+
page_id: 4
|
210
|
+
id: 4
|
211
|
+
content: |
|
212
|
+
<ul>
|
213
|
+
<r:children:each order="desc">
|
214
|
+
<li><r:link /></li>
|
215
|
+
</r:children:each>
|
216
|
+
</ul>
|
217
|
+
|
218
|
+
- 5:
|
219
|
+
name: body
|
220
|
+
filter_id: Textile
|
221
|
+
page_id: 5
|
222
|
+
id: 5
|
223
|
+
content: |
|
224
|
+
This post uses "textile":http://www.textism.com/tools/textile/.
|
225
|
+
|
226
|
+
- 6:
|
227
|
+
name: body
|
228
|
+
filter_id: Markdown
|
229
|
+
page_id: 6
|
230
|
+
id: 6
|
231
|
+
content: |
|
232
|
+
This post uses **Markdown**.
|
233
|
+
|
234
|
+
- 8:
|
235
|
+
name: body
|
236
|
+
filter_id:
|
237
|
+
page_id: 7
|
238
|
+
id: 8
|
239
|
+
content:
|
240
|
+
- 9:
|
241
|
+
name: body
|
242
|
+
filter_id: ""
|
243
|
+
page_id: 8
|
244
|
+
id: 9
|
245
|
+
content: |
|
246
|
+
body {
|
247
|
+
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
248
|
+
font-size: 80%;
|
249
|
+
}
|
250
|
+
|
251
|
+
- PageFields: !omap []
|