webgen 1.0.0.beta2 → 1.0.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. data/COPYING +34 -1
  2. data/Rakefile +1 -8
  3. data/data/webgen/passive_sources/default.metainfo +5 -0
  4. data/data/webgen/passive_sources/stylesheets/api.css +284 -0
  5. data/data/webgen/passive_sources/templates/api.template +151 -0
  6. data/data/webgen/passive_sources/templates/feed.template +4 -0
  7. data/lib/webgen/bundle/built-in/init.rb +12 -3
  8. data/lib/webgen/bundle_loader.rb +8 -2
  9. data/lib/webgen/cli/create_command.rb +3 -1
  10. data/lib/webgen/cli/show_tree_command.rb +4 -3
  11. data/lib/webgen/content_processor.rb +2 -2
  12. data/lib/webgen/content_processor/blocks.rb +2 -2
  13. data/lib/webgen/content_processor/haml.rb +1 -1
  14. data/lib/webgen/content_processor/html_head.rb +5 -4
  15. data/lib/webgen/content_processor/kramdown.rb +3 -1
  16. data/lib/webgen/content_processor/r_doc.rb +16 -3
  17. data/lib/webgen/content_processor/sass.rb +3 -3
  18. data/lib/webgen/content_processor/scss.rb +1 -1
  19. data/lib/webgen/content_processor/tikz.rb +2 -2
  20. data/lib/webgen/context/html_head.rb +1 -1
  21. data/lib/webgen/destination/file_system.rb +2 -1
  22. data/lib/webgen/item_tracker/node_content.rb +4 -4
  23. data/lib/webgen/item_tracker/node_meta_info.rb +6 -6
  24. data/lib/webgen/item_tracker/nodes.rb +1 -1
  25. data/lib/webgen/node.rb +5 -7
  26. data/lib/webgen/node_finder.rb +40 -17
  27. data/lib/webgen/page.rb +10 -0
  28. data/lib/webgen/path.rb +14 -14
  29. data/lib/webgen/path_handler.rb +19 -13
  30. data/lib/webgen/path_handler/api.rb +173 -0
  31. data/lib/webgen/path_handler/base.rb +33 -11
  32. data/lib/webgen/path_handler/copy.rb +2 -27
  33. data/lib/webgen/path_handler/feed.rb +4 -3
  34. data/lib/webgen/path_handler/meta_info.rb +1 -1
  35. data/lib/webgen/path_handler/page_utils.rb +4 -3
  36. data/lib/webgen/path_handler/sitemap.rb +3 -2
  37. data/lib/webgen/path_handler/virtual.rb +7 -2
  38. data/lib/webgen/tag.rb +5 -5
  39. data/lib/webgen/tag/execute_command.rb +1 -1
  40. data/lib/webgen/tag/include_file.rb +1 -1
  41. data/lib/webgen/tag/link.rb +2 -2
  42. data/lib/webgen/tag/menu.rb +1 -1
  43. data/lib/webgen/tag/meta_info.rb +1 -0
  44. data/lib/webgen/tag/relocatable.rb +1 -1
  45. data/lib/webgen/tag/tikz.rb +2 -2
  46. data/lib/webgen/task/create_website.rb +1 -1
  47. data/lib/webgen/test_helper.rb +20 -16
  48. data/lib/webgen/tree.rb +5 -1
  49. data/lib/webgen/version.rb +1 -1
  50. data/lib/webgen/website.rb +8 -8
  51. data/test/webgen/content_processor/test_kramdown.rb +7 -5
  52. data/test/webgen/content_processor/test_sass.rb +4 -0
  53. data/test/webgen/content_processor/test_scss.rb +4 -0
  54. data/test/webgen/content_processor/test_tikz.rb +6 -2
  55. data/test/webgen/destination/test_file_system.rb +3 -4
  56. data/test/webgen/item_tracker/test_missing_node.rb +3 -3
  57. data/test/webgen/item_tracker/test_node_content.rb +9 -12
  58. data/test/webgen/item_tracker/test_node_meta_info.rb +7 -11
  59. data/test/webgen/item_tracker/test_nodes.rb +11 -5
  60. data/test/webgen/path_handler/test_api.rb +111 -0
  61. data/test/webgen/path_handler/test_page_utils.rb +1 -1
  62. data/test/webgen/source/test_file_system.rb +3 -3
  63. data/test/webgen/tag/test_coderay.rb +3 -4
  64. data/test/webgen/tag/test_meta_info.rb +3 -0
  65. data/test/webgen/task/test_create_website.rb +2 -2
  66. data/test/webgen/test_item_tracker.rb +11 -16
  67. data/test/webgen/test_node.rb +2 -0
  68. data/test/webgen/test_node_finder.rb +30 -2
  69. data/test/webgen/test_page.rb +8 -0
  70. data/test/webgen/test_source.rb +11 -18
  71. data/test/webgen/test_tag.rb +1 -1
  72. data/test/webgen/test_tree.rb +8 -8
  73. metadata +8 -88
  74. data/ChangeLog +0 -23710
  75. data/data/webgen/website_bundles/default/README +0 -6
  76. data/data/webgen/website_bundles/default/src/index.page +0 -15
  77. data/data/webgen/website_bundles/style/1024px/README +0 -13
  78. data/data/webgen/website_bundles/style/1024px/src/default.css +0 -188
  79. data/data/webgen/website_bundles/style/1024px/src/default.template +0 -60
  80. data/data/webgen/website_bundles/style/1024px/src/images/background.gif +0 -0
  81. data/data/webgen/website_bundles/style/andreas00/README +0 -13
  82. data/data/webgen/website_bundles/style/andreas00/src/default.css +0 -290
  83. data/data/webgen/website_bundles/style/andreas00/src/default.template +0 -60
  84. data/data/webgen/website_bundles/style/andreas00/src/images/bg.gif +0 -0
  85. data/data/webgen/website_bundles/style/andreas00/src/images/front.jpg +0 -0
  86. data/data/webgen/website_bundles/style/andreas00/src/images/menubg.gif +0 -0
  87. data/data/webgen/website_bundles/style/andreas00/src/images/menubg2.gif +0 -0
  88. data/data/webgen/website_bundles/style/andreas01/README +0 -14
  89. data/data/webgen/website_bundles/style/andreas01/src/default.css +0 -310
  90. data/data/webgen/website_bundles/style/andreas01/src/default.template +0 -62
  91. data/data/webgen/website_bundles/style/andreas01/src/images/bg.gif +0 -0
  92. data/data/webgen/website_bundles/style/andreas01/src/images/front.jpg +0 -0
  93. data/data/webgen/website_bundles/style/andreas01/src/print.css +0 -35
  94. data/data/webgen/website_bundles/style/andreas03/README +0 -14
  95. data/data/webgen/website_bundles/style/andreas03/src/default.css +0 -223
  96. data/data/webgen/website_bundles/style/andreas03/src/default.template +0 -58
  97. data/data/webgen/website_bundles/style/andreas03/src/images/bodybg.png +0 -0
  98. data/data/webgen/website_bundles/style/andreas03/src/images/contbg.png +0 -0
  99. data/data/webgen/website_bundles/style/andreas03/src/images/footerbg.png +0 -0
  100. data/data/webgen/website_bundles/style/andreas03/src/images/gradient1.png +0 -0
  101. data/data/webgen/website_bundles/style/andreas03/src/images/gradient2.png +0 -0
  102. data/data/webgen/website_bundles/style/andreas04/README +0 -15
  103. data/data/webgen/website_bundles/style/andreas04/src/default.css +0 -290
  104. data/data/webgen/website_bundles/style/andreas04/src/default.template +0 -81
  105. data/data/webgen/website_bundles/style/andreas04/src/images/blinkarrow.gif +0 -0
  106. data/data/webgen/website_bundles/style/andreas04/src/images/bodybg.png +0 -0
  107. data/data/webgen/website_bundles/style/andreas04/src/images/contentbg.png +0 -0
  108. data/data/webgen/website_bundles/style/andreas04/src/images/entrybg.png +0 -0
  109. data/data/webgen/website_bundles/style/andreas04/src/images/flash.gif +0 -0
  110. data/data/webgen/website_bundles/style/andreas04/src/images/flash2.gif +0 -0
  111. data/data/webgen/website_bundles/style/andreas04/src/images/globe.gif +0 -0
  112. data/data/webgen/website_bundles/style/andreas04/src/images/globebottom.gif +0 -0
  113. data/data/webgen/website_bundles/style/andreas04/src/images/linkarrow.gif +0 -0
  114. data/data/webgen/website_bundles/style/andreas04/src/images/menuhover.png +0 -0
  115. data/data/webgen/website_bundles/style/andreas05/README +0 -14
  116. data/data/webgen/website_bundles/style/andreas05/src/default.css +0 -33
  117. data/data/webgen/website_bundles/style/andreas05/src/default.template +0 -40
  118. data/data/webgen/website_bundles/style/andreas05/src/images/bodybg.gif +0 -0
  119. data/data/webgen/website_bundles/style/andreas05/src/images/front.png +0 -0
  120. data/data/webgen/website_bundles/style/andreas06/README +0 -14
  121. data/data/webgen/website_bundles/style/andreas06/src/default.css +0 -356
  122. data/data/webgen/website_bundles/style/andreas06/src/default.template +0 -70
  123. data/data/webgen/website_bundles/style/andreas06/src/images/bodybg.gif +0 -0
  124. data/data/webgen/website_bundles/style/andreas06/src/images/boxbg.gif +0 -0
  125. data/data/webgen/website_bundles/style/andreas06/src/images/greypx.gif +0 -0
  126. data/data/webgen/website_bundles/style/andreas06/src/images/header.jpg +0 -0
  127. data/data/webgen/website_bundles/style/andreas06/src/images/innerbg.gif +0 -0
  128. data/data/webgen/website_bundles/style/andreas06/src/images/leaves.jpg +0 -0
  129. data/data/webgen/website_bundles/style/andreas06/src/images/tabs.gif +0 -0
  130. data/data/webgen/website_bundles/style/andreas07/README +0 -15
  131. data/data/webgen/website_bundles/style/andreas07/src/browserfix.css +0 -7
  132. data/data/webgen/website_bundles/style/andreas07/src/default.css +0 -92
  133. data/data/webgen/website_bundles/style/andreas07/src/default.template +0 -42
  134. data/data/webgen/website_bundles/style/andreas07/src/images/bodybg.gif +0 -0
  135. data/data/webgen/website_bundles/style/andreas07/src/images/sidebarbg.gif +0 -0
  136. data/data/webgen/website_bundles/style/andreas08/README +0 -14
  137. data/data/webgen/website_bundles/style/andreas08/src/default.css +0 -224
  138. data/data/webgen/website_bundles/style/andreas08/src/default.template +0 -51
  139. data/data/webgen/website_bundles/style/andreas09/README +0 -14
  140. data/data/webgen/website_bundles/style/andreas09/src/default.css +0 -308
  141. data/data/webgen/website_bundles/style/andreas09/src/default.template +0 -68
  142. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-black.jpg +0 -0
  143. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-green.jpg +0 -0
  144. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-orange.jpg +0 -0
  145. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-purple.jpg +0 -0
  146. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-red.jpg +0 -0
  147. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg.jpg +0 -0
  148. data/data/webgen/website_bundles/style/andreas09/src/images/footerbg.jpg +0 -0
  149. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-black.jpg +0 -0
  150. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-green.jpg +0 -0
  151. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-orange.jpg +0 -0
  152. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-purple.jpg +0 -0
  153. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-red.jpg +0 -0
  154. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover.jpg +0 -0
  155. data/data/webgen/website_bundles/style/simple/README +0 -6
  156. data/data/webgen/website_bundles/style/simple/src/default.css +0 -84
  157. data/data/webgen/website_bundles/style/simple/src/default.template +0 -36
@@ -1,51 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
4
- <head>
5
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
- <meta name="description" content="Your website description goes here" />
7
- <meta name="keywords" content="your,keywords,goes,here" />
8
- <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
9
- <link rel="stylesheet" href="{relocatable: default.css}" type="text/css" media="screen,projection" />
10
- <title>{title:}</title>
11
- </head>
12
-
13
- <body>
14
- <div id="container" >
15
-
16
- <div id="header">
17
- <h1><a href="{relocatable: /index.html}">website title</a></h1>
18
- <h2>space reserved for your website slogan!</h2>
19
- </div>
20
-
21
- <div id="navigation">
22
- {menu: {max_levels: 1, used_nodes: files}}
23
- </div>
24
-
25
- <div id="content">
26
- <webgen:block name="content" />
27
- </div>
28
-
29
- <div id="subcontent">
30
- <div class="small box"><strong>Note: </strong>This is a box. It can be used for special messages both in the sidebar and the content section. You could use it for special notes and announcements, but also as a frame for photos. This space can be used for a short website presentation!</div>
31
-
32
- <h2>Nested Menu</h2>
33
- <div id="submenu">{menu: }</div>
34
-
35
- <h2>Links</h2>
36
- <ul class="linkblock">
37
- <li><a href="http://webgen.rubyforge.org">webgen</a></li>
38
- <li><a href="http://andreasviklund.com/templates">Website templates</a></li>
39
- <li><a href="http://openwebdesign.org">Open Web Design</a></li>
40
- <li><a href="http://oswd.org">OSWD.org</a></li>
41
- </ul>
42
-
43
- </div>
44
-
45
- <div id="footer">
46
- <p>&copy; 2006 <a href="#">Your Name</a> | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></p>
47
- </div>
48
-
49
- </div>
50
- </body>
51
- </html>
@@ -1,14 +0,0 @@
1
- description:
2
- Open source web design template by Andreas Viklund. Features a two or three column layout in
3
- various colors (blue, green, orange, purple, red and black) with many styles.
4
- Have a look at the available styles in the CSS file and visit the homepage to see the original
5
- template and what can be done with it.
6
-
7
- author:
8
- Andreas Viklund (adapted for webgen by Thomas Leitner)
9
-
10
- copyright:
11
- http://andreasviklund.com/about/copyright/
12
-
13
- homepage:
14
- http://andreasviklund.com/templates
@@ -1,308 +0,0 @@
1
- /* andreas09 v1.0 (Dec 10th 2005) - An open source template by Andreas Viklund - http://andreasviklund.com. Free to use for any purpose as long as the proper credits are given to the original author. */
2
-
3
- body {
4
- background:#8b8b8b;
5
- color:#303030;
6
- font:76% Verdana,Tahoma,Arial,sans-serif;
7
- margin:0;
8
- padding:0;
9
- text-align:center;
10
- }
11
-
12
- a {
13
- color:#505050;
14
- font-weight:bold;
15
- text-decoration:none;
16
- }
17
-
18
- a:hover {
19
- color:#808080;
20
- text-decoration:underline;
21
- }
22
-
23
- p {
24
- line-height:1.5em;
25
- margin:0 0 15px;
26
- }
27
-
28
- /*** Main container ***/
29
-
30
- #container {
31
- background:#f0f0f0 url(images/bodybg.jpg) repeat-x;
32
- color:#303030;
33
- margin:0;
34
- min-width:770px;
35
- padding:0;
36
- text-align:left;
37
- width:100%;
38
- }
39
-
40
- /*** Header section ***/
41
-
42
- #sitename {
43
- color:#ffffff;
44
- height:92px;
45
- margin:0 20px 10px;
46
- text-align:left;
47
- }
48
-
49
- #sitename h1,#sitename h2 {
50
- font-weight:400;
51
- letter-spacing:-2px;
52
- margin:0;
53
- padding:0;
54
- }
55
-
56
- #sitename h1 {
57
- font-size:2.4em;
58
- padding-top:20px;
59
- }
60
-
61
- #sitename h2 {
62
- font-size:1.6em;
63
- }
64
-
65
- /*** Horizontal menu ***/
66
-
67
- #mainmenu {
68
- float:left;
69
- margin-bottom:25px;
70
- }
71
-
72
- #mainmenu ul {
73
- font-size:16px;
74
- margin:0;
75
- padding:0;
76
- }
77
-
78
- #mainmenu li {
79
- float:left;
80
- height:35px;
81
- list-style:none;
82
- margin:0;
83
- padding:0;
84
- }
85
-
86
- #mainmenu a, #mainmenu span {
87
- border-right:1px solid #b0b0b0;
88
- color:#606060;
89
- display:block;
90
- font-size:0.7em;
91
- padding:11px 10px 10px;
92
- text-transform:uppercase;
93
- }
94
-
95
- #mainmenu a:hover {
96
- background:#f0f0f0 url(images/menuhover.jpg) top left repeat-x;
97
- color:#505050;
98
- text-decoration:none;
99
- }
100
-
101
- #mainmenu .webgen-menu-item-selected a, #mainmenu .webgen-menu-item-selected span {
102
- background:#f0f0f0 url(images/menuhover.jpg) top left repeat-x;
103
- color:#505050;
104
- text-decoration:none;
105
- }
106
-
107
- /*** Content wrap ***/
108
-
109
- #wrap {
110
- clear:both;
111
- font-size:0.9em;
112
- padding:0;
113
- }
114
-
115
- /*** Sidebars ***/
116
-
117
- #leftside,#rightside {
118
- margin:0;
119
- padding:0 10px 10px;
120
- width:165px;
121
- }
122
-
123
- #leftside {
124
- float:left;
125
- margin-right:10px;
126
- }
127
-
128
- #rightside {
129
- float:right;
130
- margin-left:10px;
131
- }
132
-
133
- #leftside h1,#rightside h1 {
134
- color:#505050;
135
- font-size:1.6em;
136
- font-weight:bold;
137
- letter-spacing:-1px;
138
- margin:0 0 12px;
139
- }
140
-
141
- #leftside h2,#rightside h2 {
142
- font-size:1.1em;
143
- margin:0 0 20px;
144
- }
145
-
146
- #leftside p,#rightside p {
147
- font-size:0.9em;
148
- line-height:1.4em;
149
- margin:0 0 16px 10px;
150
- }
151
-
152
- .linklist {
153
- list-style:none;
154
- margin:0 0 16px 10px;
155
- padding:0;
156
- }
157
-
158
- .linklist li {margin-bottom:0.7em;}
159
-
160
- /*** Sidebar menu ***/
161
-
162
- #pagemenu ul {
163
- margin: 0 0 16px 10px;
164
- padding: 0px;
165
- list-style: none;
166
- }
167
-
168
- .nav, #pagemenu a {
169
- background:#e8e9ea;
170
- border:1px solid #b0b0b0;
171
- color:#606060;
172
- display:block;
173
- margin-top:8px;
174
- padding:5px 4px 4px 10px;
175
- position:relative;
176
- text-transform:uppercase;
177
- width:140px;
178
- }
179
-
180
- .nav:hover, #pagemenu a:hover, #pagemenu li.webgen-menu-item-selected a, #pagemenu li.webgen-menu-submenu-inhierarchy a, .active {
181
- background:#f8f9fa;
182
- border:1px solid #909090;
183
- color:#303030;
184
- text-decoration:none;
185
- }
186
-
187
- .sub {
188
- font-size:0.8em;
189
- letter-spacing:1px;
190
- margin:3px 0 2px 10px;
191
- padding:4px 2px 2px 8px;
192
- width:125px;
193
- }
194
-
195
- /*** Content ***/
196
-
197
- #navbar {
198
- height: 15px;
199
- margin-bottom: 5px;
200
- padding: 2px;
201
- }
202
-
203
- .rightbox {
204
- float: right;
205
- padding-left: 10px;
206
- }
207
-
208
- .leftbox {
209
- float: left;
210
- padding-right: 10px;
211
- }
212
-
213
- #content,#contentalt {
214
- background-color:#fafcff;
215
- border:1px solid #909090;
216
- color:#2a2a2a;
217
- padding:15px 20px 5px;
218
- }
219
-
220
- #content {margin:0 200px;}
221
- #contentalt {margin:0 200px 0 20px;}
222
-
223
- #content h1,#content h2,#contentalt h1,#contentalt h2 {
224
- background-color:inherit;
225
- color:#606060;
226
- font-size:1.8em;
227
- font-weight:bold;
228
- letter-spacing:-1px;
229
- margin:0 0 15px;
230
- padding:0;
231
- }
232
-
233
- #content h2,#contentalt h2 {
234
- font-size:1.6em;
235
- margin-bottom:10px;
236
- }
237
-
238
- #content img,#contentalt img {
239
- border:1px solid #b0b0b0;
240
- float:left;
241
- margin:5px 15px 6px;
242
- padding:5px;
243
- }
244
-
245
- /*** Footer ***/
246
-
247
- #footer {
248
- background:#8b8b8b url(images/footerbg.jpg) top left repeat-x;
249
- clear:both;
250
- color:#d0d0d0;
251
- font-size:0.9em;
252
- font-weight:bold;
253
- margin:0;
254
- padding:20px 0;
255
- text-align:center;
256
- width:100%;
257
- }
258
-
259
- #footer a {
260
- color:#d0d0d0;
261
- font-weight:bold;
262
- }
263
-
264
- /*** Various classes ***/
265
-
266
- .thumbnail {
267
- background:#fafbfc;
268
- border:1px solid #b0b0b0;
269
- margin:0 0 10px 10px;
270
- padding:5px;
271
- }
272
-
273
- .searchform {margin:0;}
274
-
275
- .searchbox {
276
- background:#f0f0f0;
277
- border:1px solid #b0b0b0;
278
- margin:0 4px 0 0;
279
- width:100px;
280
- }
281
-
282
- .searchbutton {
283
- background:#f0f0f0;
284
- border:1px solid #b0b0b0;
285
- }
286
-
287
- .clearingdiv {
288
- clear:both;
289
- height:30px;
290
- width:1px;
291
- }
292
-
293
- .hide {display:none;}
294
-
295
- /*** Text format ***/
296
-
297
- .intro {
298
- font-size:1.1em;
299
- font-weight:bold;
300
- letter-spacing:-1px;
301
- }
302
-
303
- .small {font-size:0.8em;}
304
- .large {font-size:1.4em;}
305
- .center {text-align:center;}
306
- .right {text-align:right;}
307
-
308
- /*** End of file ***/
@@ -1,68 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
4
- <head>
5
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
- <meta name="description" content="Your description goes here." />
7
- <meta name="keywords" content="your,keywords,goes,here" />
8
- <meta name="author" content="Your Name / Original design by Andreas Viklund - http://andreasviklund.com" />
9
- <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
10
- <link rel="stylesheet" href="{relocatable: default.css}" type="text/css" media="screen" />
11
- <title>{title:}</title>
12
- </head>
13
-
14
- <body>
15
- <div id="container">
16
-
17
- <div id="sitename">
18
- <h1>website title</h1>
19
- <h2>your website slogan</h2>
20
- </div>
21
-
22
- <div id="mainmenu">
23
- {menu: {max_levels: 1, used_nodes: files}}
24
- </div>
25
-
26
- <div id="wrap">
27
-
28
- <div id="leftside">
29
- <h1>Page Menu</h1>
30
- <div id="pagemenu">{menu: {used_nodes: fragments}}</div>
31
-
32
- <h1>Color</h1>
33
- <p>This website style is available in many different colors. Just copy one of the <code>menuhover-COLOR.jpg</code> and <code>bodybg-COLOR.jpg</code> over <code>menuhover.jpg</code> and <code>bodybg.jpg</code> and your are done. You can then delete the other menuhover-* and bodybg-* images.</p>
34
- </div>
35
-
36
- <div id="rightside">
37
- <h1>Latest news</h1>
38
- <p>
39
- <strong>09.09.2009</strong><br />
40
- Something has happened by then.
41
- </p>
42
-
43
- <h1>Links:</h1>
44
- <ul class="linklist">
45
- <li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
46
- <li><a href="http://andreasviklund.com/templates">Free website templates</a></li>
47
- <li><a href="http://openwebdesign.org">OpenWebDesign.org</a></li>
48
- <li><a href="http://oswd.org">OSWD.org</a></li>
49
- </ul>
50
- </div>
51
-
52
- <div id="navbar" class="content">
53
- <span class="leftbox">Location: {breadcrumb_trail: }</span>
54
- <span class="rightbox">Language: {langbar: }</span>
55
- <div class="clearingdiv">&nbsp;</div>
56
- </div>
57
-
58
- <div id="content">
59
- <webgen:block name="content" />
60
- </div>
61
- <div class="clearingdiv">&nbsp;</div>
62
-
63
- </div>
64
- </div>
65
-
66
- <div id="footer">&copy; 2005 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></div>
67
- </body>
68
- </html>