Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 12839 Bytes
1 | name: Styled Blog |
2 | description: Setup Radiant as a fully styled weblog. |
3 | records: |
4 | Layouts: |
5 | 1: |
6 | name: Normal |
7 | id: 1 |
8 | content: | |
9 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
10 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
11 | <html> |
12 | <head> |
13 | <title><r:title /></title> |
14 | <link href="/rss/" rel="alternate" title="RSS" type="application/rss+xml" /> |
15 | <link rel="stylesheet" type="text/css" href="/styles.css" /> |
16 | </head> |
17 | <body> |
18 | <div id="page"> |
19 | <r:snippet name="header" /> |
20 | <div id="main"> |
21 | <div id="content-wrapper"> |
22 | <div id="content"> |
23 | <r:unless_url matches="^/$"><h1><r:title /></h1></r:unless_url> |
24 | <r:content /> |
25 | <r:if_content part="extended"> |
26 | <div id="extended"> |
27 | <r:content part="extended" /> |
28 | </div> |
29 | </r:if_content> |
30 | <r:if_url matches="^/articles/\d{4}/\d{2}/\d{2}/.+"><r:unless_url matches="-archives/$"><p class="info">Posted by <r:author /> on <r:date /></p></r:unless_url></r:if_url> |
31 | </div> |
32 | </div> |
33 | <div id="sidebar-wrapper"> |
34 | <div id="sidebar"> |
35 | <r:content part="sidebar" inherit="true" /> |
36 | </div> |
37 | </div> |
38 | </div> |
39 | <r:snippet name="footer" /> |
40 | </div> |
41 | </body> |
42 | </html> |
43 | 2: |
44 | name: Stylesheet |
45 | content_type: text/css |
46 | id: 2 |
47 | content: | |
48 | <r:content /> |
49 | 3: |
50 | name: XML Feed |
51 | content_type: text/xml |
52 | id: 3 |
53 | content: | |
54 | <r:content /> |
55 | Snippets: |
56 | 1: |
57 | name: header |
58 | id: 1 |
59 | content: | |
60 | <div id="header"> |
61 | <div id="site-title"><r:if_url matches="^/$">Your Blog Name</r:if_url><r:unless_url matches="^/$"><a href="/">Your Blog Name</a></r:unless_url></div> |
62 | <div id="site-subtitle">a really amusing tag-line here</div> |
63 | </div> |
64 | <hr class="hidden" /> |
65 | 2: |
66 | name: footer |
67 | id: 2 |
68 | content: | |
69 | <hr class="hidden" /> |
70 | <div id="footer"> |
71 | <p>Copyright © <r:date format="%Y" />, Your Name Here. All rights reserved.<br /> |
72 | This site is powered by <a href="http://radiantcms.org/">Radiant CMS</a>.</p> |
73 | </div> |
74 | Pages: |
75 | 1: |
76 | slug: / |
77 | title: Home Page |
78 | breadcrumb: Home |
79 | id: 1 |
80 | status_id: 100 |
81 | layout_id: 1 |
82 | 2: |
83 | virtual: true |
84 | slug: file-not-found |
85 | class_name: FileNotFoundPage |
86 | title: File Not Found |
87 | breadcrumb: File Not Found |
88 | id: 2 |
89 | status_id: 100 |
90 | parent_id: 1 |
91 | 3: |
92 | slug: rss |
93 | title: RSS Feed |
94 | breadcrumb: RSS Feed |
95 | id: 3 |
96 | status_id: 100 |
97 | parent_id: 1 |
98 | layout_id: 3 |
99 | 4: |
100 | slug: articles |
101 | class_name: ArchivePage |
102 | title: Articles |
103 | breadcrumb: Articles |
104 | id: 4 |
105 | status_id: 100 |
106 | parent_id: 1 |
107 | 5: |
108 | slug: first-post |
109 | title: First Post |
110 | breadcrumb: First Post |
111 | id: 5 |
112 | status_id: 100 |
113 | parent_id: 4 |
114 | published_at: 06/09/2006 |
115 | 6: |
116 | slug: second-post |
117 | title: Second Post |
118 | breadcrumb: Second Post |
119 | id: 6 |
120 | status_id: 100 |
121 | parent_id: 4 |
122 | published_at: 06/10/2006 |
123 | 7: |
124 | slug: styles.css |
125 | title: Styles |
126 | breadcrumb: Styles |
127 | id: 7 |
128 | status_id: 100 |
129 | parent_id: 1 |
130 | layout_id: 2 |
131 | 8: |
132 | slug: third-post |
133 | title: Third Post |
134 | breadcrumb: Third Post |
135 | id: 8 |
136 | status_id: 100 |
137 | parent_id: 4 |
138 | 9: |
139 | slug: about |
140 | title: About |
141 | breadcrumb: About |
142 | id: 9 |
143 | status_id: 100 |
144 | parent_id: 1 |
145 | 10: |
146 | virtual: true |
147 | slug: monthly-archives |
148 | class_name: ArchiveMonthIndexPage |
149 | title: "%B %Y Archives" |
150 | breadcrumb: Monthly Archives |
151 | id: 10 |
152 | status_id: 100 |
153 | parent_id: 4 |
154 | PageParts: |
155 | 1: |
156 | name: body |
157 | page_id: 1 |
158 | id: 1 |
159 | content: | |
160 | <r:find url="/articles/"> |
161 | |
162 | <r:children:each limit="1" order="desc"> |
163 | <div class="first entry"> |
164 | <h3><r:link /></h3> |
165 | <r:content /> |
166 | <r:if_content part="extended"><r:link anchor="extended">Continue Reading…</r:link></r:if_content> |
167 | <p class="info">Posted by <r:author /> on <r:date format="%b %d, %Y" /></p> |
168 | </div> |
169 | </r:children:each> |
170 | |
171 | <r:children:each limit="4" offset="1" order="desc"> |
172 | <div class="entry"> |
173 | <h3><r:link /></h3> |
174 | <r:content /> |
175 | <r:if_content part="extended"><r:link anchor="extended">Continue Reading…</r:link></r:if_content> |
176 | <p class="info">Posted by <r:author /> on <r:date format="%b %d, %Y" /></p> |
177 | </div> |
178 | </r:children:each> |
179 | |
180 | </r:find> |
181 | 2: |
182 | name: body |
183 | filter_id: Textile |
184 | page_id: 2 |
185 | id: 2 |
186 | content: | |
187 | The file you were looking for could not be found. |
188 | |
189 | Attempted URL: @<r:attempted_url />@ |
190 | |
191 | It is possible that you typed the URL incorrectly or that you clicked on a bad link. |
192 | |
193 | "<< Back to Home Page":/ |
194 | 3: |
195 | name: body |
196 | page_id: 3 |
197 | id: 3 |
198 | content: | |
199 | <?xml version="1.0" encoding="UTF-8"?> |
200 | <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> |
201 | <channel> |
202 | <title>Article RSS Feed</title> |
203 | <link>http://your-web-site.com<r:url /></link> |
204 | <language>en-us</language> |
205 | <ttl>40</ttl> |
206 | <description>The main blog feed for my Web site.</description> |
207 | <r:find url="/articles/"> |
208 | <r:children:each limit="10" order="desc"> |
209 | <item> |
210 | <title><r:title /></title> |
211 | <description><r:escape_html><r:content /></r:escape_html></description> |
212 | <pubDate><r:rfc1123_date /></pubDate> |
213 | <guid>http://your-web-site.com<r:url /></guid> |
214 | <link>http://your-web-site.com<r:url /></link> |
215 | </item> |
216 | </r:children:each> |
217 | </r:find> |
218 | </channel> |
219 | </rss> |
220 | 4: |
221 | name: body |
222 | page_id: 4 |
223 | id: 4 |
224 | content: |- |
225 | <r:children:each limit="5" order="desc"> |
226 | <div class="entry"> |
227 | <h3><r:link /></h3> |
228 | <r:content /> |
229 | <r:if_content part="extended"><r:link anchor="extended">Continue Reading…</r:link></r:if_content> |
230 | <p class="info">Posted by <r:author /> on <r:date format="%b %d, %Y" /></p> |
231 | </div> |
232 | </r:children:each> |
233 | 5: |
234 | name: body |
235 | filter_id: Textile |
236 | page_id: 5 |
237 | id: 5 |
238 | content: | |
239 | This post uses "textile":http://www.textism.com/tools/textile/. |
240 | 6: |
241 | name: body |
242 | filter_id: Markdown |
243 | page_id: 6 |
244 | id: 6 |
245 | content: | |
246 | This post uses **Markdown**. |
247 | 7: |
248 | name: body |
249 | page_id: 7 |
250 | id: 7 |
251 | content: |- |
252 | a { |
253 | color: #3256B6; |
254 | } |
255 | a:visited { |
256 | color: #cc9; |
257 | } |
258 | a:hover, a:visited:hover { |
259 | color: #e00; |
260 | text-decoration: none; |
261 | } |
262 | body { |
263 | background-color: #041a61; |
264 | font-family: Verdana, Arial, Helvetica, sans-serif; |
265 | font-size: 80%; |
266 | padding: 0; |
267 | margin: 0; |
268 | text-align: center; |
269 | } |
270 | h1 { |
271 | font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; |
272 | font-size: 250%; |
273 | font-weight: normal; |
274 | } |
275 | h3 { |
276 | color: #999; |
277 | font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; |
278 | font-size: 180%; |
279 | font-weight: normal; |
280 | margin-top: 1.5em; |
281 | margin-bottom: .5em; |
282 | } |
283 | .hidden { |
284 | display: none; |
285 | } |
286 | .clear { |
287 | clear: both; |
288 | } |
289 | #page { |
290 | margin-left: auto; |
291 | margin-right: auto; |
292 | width: 730px; |
293 | text-align: left; |
294 | } |
295 | #header { |
296 | background-color: #4f57c5; |
297 | border-bottom: 4px solid #fc0; |
298 | color: white; |
299 | font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; |
300 | padding: 0; |
301 | padding-top: 30px; |
302 | padding-bottom: 30px; |
303 | text-align: center; |
304 | } |
305 | #site-title { |
306 | color: white; |
307 | font-size: 325%; |
308 | } |
309 | #site-title a, #site-title a:visited { |
310 | color: white; |
311 | text-decoration: none; |
312 | } |
313 | #site-title a:hover, #site-title a:hover { |
314 | color: white; |
315 | text-decoration: underline; |
316 | } |
317 | #site-subtitle { |
318 | font-style: italic; |
319 | letter-spacing: 2px; |
320 | text-transform: lowercase; |
321 | } |
322 | #main { |
323 | background-color: white; |
324 | border-bottom: 4px solid #fc0; |
325 | float: left; |
326 | width: 100%; |
327 | } |
328 | #content-wrapper { |
329 | float: left; |
330 | width: 500px; |
331 | } |
332 | #content { |
333 | padding: 25px; |
334 | border-right: 1px dotted #a3a39c; |
335 | } |
336 | #content h1 { |
337 | margin-top: 0; |
338 | } |
339 | #content h3 a { |
340 | border-bottom: 1px dotted #a3a39c; |
341 | display: block; |
342 | padding-bottom: 2px; |
343 | text-decoration: none; |
344 | } |
345 | #content p { |
346 | line-height: 160%; |
347 | } |
348 | #content .info { |
349 | color: #b0af99; |
350 | font-size: 80%; |
351 | margin-top: 1.5em; |
352 | } |
353 | #content .entry .info { |
354 | margin-top: 1em; |
355 | } |
356 | #content .first.entry { |
357 | background-color: #f7f3e8; |
358 | margin: -25px; |
359 | margin-bottom: 0; |
360 | padding: 25px; |
361 | } |
362 | #content .first.entry h3 { |
363 | margin-top: 0.25em; |
364 | } |
365 | #sidebar-wrapper { |
366 | float: right; |
367 | width: 225px; |
368 | } |
369 | #sidebar { |
370 | font-size: 90%; |
371 | padding: 15px; |
372 | padding-top: 0px; |
373 | } |
374 | #sidebar h3 { |
375 | font-size: 160%; |
376 | } |
377 | #sidebar p { |
378 | line-height: 140%; |
379 | } |
380 | #sidebar ul { |
381 | margin-left: 1.5em; |
382 | padding: 0; |
383 | } |
384 | #sidebar li { |
385 | margin-bottom: .25em; |
386 | } |
387 | #footer { |
388 | color: #818cb0; |
389 | float: left; |
390 | font-size: 90%; |
391 | padding-top: 1px; |
392 | padding-bottom: 20px; |
393 | width: 100%; |
394 | } |
395 | 8: |
396 | name: sidebar |
397 | filter_id: Textile |
398 | page_id: 1 |
399 | id: 8 |
400 | content: |- |
401 | h3. About Me |
402 | |
403 | I'm just a demonstration of how easy it is to use Radiant to power a blog. "More...":/about/ |
404 | |
405 | h3. Favorite Sites |
406 | |
407 | * "Radiant CMS":http://radiantcms.org |
408 | * "Ruby-Lang":http://ruby-lang.org |
409 | * "Wiseheart Design":http://wiseheartdesign.com |
410 | * "AVLUX Hosting":http://avlux.net |
411 | |
412 | h3. Recent Entries |
413 | <r:if_url matches="^/$"> |
414 | <r:find url="/articles/"><r:children:each limit="10" offset="5" order="desc"> |
415 | * <r:link /></r:children:each></r:find> |
416 | </r:if_url> |
417 | <r:unless_url matches="^/$"> |
418 | <r:find url="/articles/"><r:children:each limit="10" order="desc"> |
419 | * <r:link /></r:children:each></r:find> |
420 | </r:unless_url> |
421 | |
422 | "Archives...":/articles/ |
423 | |
424 | h3. Syndicate |
425 | |
426 | "Articles RSS Feed":/rss/ |
427 | 9: |
428 | name: body |
429 | page_id: 8 |
430 | id: 9 |
431 | content: This is the third post. |
432 | 10: |
433 | name: body |
434 | filter_id: Textile |
435 | page_id: 9 |
436 | id: 10 |
437 | content: This is just an example of how Radiant can be used to power a Weblog. |
438 | 11: |
439 | name: sidebar |
440 | filter_id: Textile |
441 | page_id: 9 |
442 | id: 11 |
443 | content: |- |
444 | h3. Contact Me |
445 | |
446 | List your contact information here. |
447 | 12: |
448 | name: sidebar |
449 | page_id: 4 |
450 | id: 12 |
451 | content: |- |
452 | <h3>Archives By Month</h3> |
453 | <ul> |
454 | <r:find url="/articles/"> |
455 | <r:children:each order="desc"> |
456 | <r:header><li><a href="<r:date format="/articles/%Y/%m/" />"><r:date format="%B %Y" /></a></li></r:header> |
457 | </r:children:each> |
458 | </r:find> |
459 | </ul> |
460 | 13: |
461 | name: body |
462 | page_id: 10 |
463 | id: 13 |
464 | content: |- |
465 | <r:archive:children:each order="desc"> |
466 | <div class="entry"> |
467 | <h3><r:link /></h3> |
468 | <r:content /> |
469 | <r:if_content part="extended"><r:link anchor="extended">Continue Reading…</r:link></r:if_content> |
470 | <p class="info">Posted by <r:author /> on <r:date format="%b %d, %Y" /></p> |
471 | </div> |
472 | </r:archive:children:each> |