webgen 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. data/ChangeLog +76 -0
  2. data/Rakefile +23 -18
  3. data/TODO +5 -0
  4. data/VERSION +1 -1
  5. data/doc/metainfo.yaml +4 -1
  6. data/doc/src/default.template +5 -1
  7. data/doc/src/documentation/basics.page +148 -0
  8. data/doc/src/documentation/extending_webgen.page +4 -1
  9. data/doc/src/documentation/index.page +6 -3
  10. data/doc/src/documentation/plugins/core/filehandler.page +1 -1
  11. data/doc/src/documentation/plugins/file/directoryhandler.page +1 -1
  12. data/doc/src/documentation/references/index.page +20 -1
  13. data/doc/src/documentation/references/meta_info_reference.page +2 -1
  14. data/doc/src/documentation/{gettingstarted.page → tutorial.page} +6 -103
  15. data/doc/src/news.page +11 -0
  16. data/lib/webgen/config.rb +4 -4
  17. data/lib/webgen/node.rb +4 -2
  18. data/lib/webgen/plugins/filehandlers/template.rb +3 -1
  19. data/lib/webgen/plugins/miscplugins/rendered_files.rb +75 -0
  20. data/lib/webgen/rake/webgentask.rb +161 -0
  21. data/test/fixtures/sample_site/src/index.de.page +1 -0
  22. data/test/unittests/tc_filehandler_template.rb +3 -0
  23. data/test/unittests/tc_node.rb +3 -0
  24. metadata +6 -266
  25. data/doc/examples/website_styles/1024px/README +0 -9
  26. data/doc/examples/website_styles/1024px/config.yaml +0 -2
  27. data/doc/examples/website_styles/1024px/src/about.page +0 -12
  28. data/doc/examples/website_styles/1024px/src/default.css +0 -188
  29. data/doc/examples/website_styles/1024px/src/default.template +0 -62
  30. data/doc/examples/website_styles/1024px/src/download.page +0 -15
  31. data/doc/examples/website_styles/1024px/src/features.page +0 -8
  32. data/doc/examples/website_styles/1024px/src/images/background.gif +0 -0
  33. data/doc/examples/website_styles/1024px/src/index.page +0 -9
  34. data/doc/examples/website_styles/1024px/src/screenshots.page +0 -18
  35. data/doc/examples/website_styles/andreas00/README +0 -9
  36. data/doc/examples/website_styles/andreas00/config.yaml +0 -2
  37. data/doc/examples/website_styles/andreas00/src/about.page +0 -12
  38. data/doc/examples/website_styles/andreas00/src/default.css +0 -290
  39. data/doc/examples/website_styles/andreas00/src/default.template +0 -62
  40. data/doc/examples/website_styles/andreas00/src/download.page +0 -15
  41. data/doc/examples/website_styles/andreas00/src/features.page +0 -8
  42. data/doc/examples/website_styles/andreas00/src/images/bg.gif +0 -0
  43. data/doc/examples/website_styles/andreas00/src/images/front.jpg +0 -0
  44. data/doc/examples/website_styles/andreas00/src/images/menubg.gif +0 -0
  45. data/doc/examples/website_styles/andreas00/src/images/menubg2.gif +0 -0
  46. data/doc/examples/website_styles/andreas00/src/index.page +0 -9
  47. data/doc/examples/website_styles/andreas00/src/screenshots.page +0 -18
  48. data/doc/examples/website_styles/andreas01/README +0 -9
  49. data/doc/examples/website_styles/andreas01/config.yaml +0 -2
  50. data/doc/examples/website_styles/andreas01/src/about.page +0 -12
  51. data/doc/examples/website_styles/andreas01/src/default.css +0 -310
  52. data/doc/examples/website_styles/andreas01/src/default.template +0 -63
  53. data/doc/examples/website_styles/andreas01/src/download.page +0 -15
  54. data/doc/examples/website_styles/andreas01/src/features.page +0 -8
  55. data/doc/examples/website_styles/andreas01/src/images/bg.gif +0 -0
  56. data/doc/examples/website_styles/andreas01/src/images/front.jpg +0 -0
  57. data/doc/examples/website_styles/andreas01/src/index.page +0 -9
  58. data/doc/examples/website_styles/andreas01/src/print.css +0 -35
  59. data/doc/examples/website_styles/andreas01/src/screenshots.page +0 -18
  60. data/doc/examples/website_styles/andreas03/README +0 -9
  61. data/doc/examples/website_styles/andreas03/config.yaml +0 -2
  62. data/doc/examples/website_styles/andreas03/src/about.page +0 -12
  63. data/doc/examples/website_styles/andreas03/src/default.css +0 -223
  64. data/doc/examples/website_styles/andreas03/src/default.template +0 -60
  65. data/doc/examples/website_styles/andreas03/src/download.page +0 -15
  66. data/doc/examples/website_styles/andreas03/src/features.page +0 -8
  67. data/doc/examples/website_styles/andreas03/src/images/bodybg.png +0 -0
  68. data/doc/examples/website_styles/andreas03/src/images/contbg.png +0 -0
  69. data/doc/examples/website_styles/andreas03/src/images/footerbg.png +0 -0
  70. data/doc/examples/website_styles/andreas03/src/images/gradient1.png +0 -0
  71. data/doc/examples/website_styles/andreas03/src/images/gradient2.png +0 -0
  72. data/doc/examples/website_styles/andreas03/src/index.page +0 -9
  73. data/doc/examples/website_styles/andreas03/src/screenshots.page +0 -18
  74. data/doc/examples/website_styles/andreas04/README +0 -9
  75. data/doc/examples/website_styles/andreas04/config.yaml +0 -2
  76. data/doc/examples/website_styles/andreas04/src/about.page +0 -12
  77. data/doc/examples/website_styles/andreas04/src/default.css +0 -290
  78. data/doc/examples/website_styles/andreas04/src/default.template +0 -83
  79. data/doc/examples/website_styles/andreas04/src/download.page +0 -15
  80. data/doc/examples/website_styles/andreas04/src/features.page +0 -8
  81. data/doc/examples/website_styles/andreas04/src/images/blinkarrow.gif +0 -0
  82. data/doc/examples/website_styles/andreas04/src/images/bodybg.png +0 -0
  83. data/doc/examples/website_styles/andreas04/src/images/contentbg.png +0 -0
  84. data/doc/examples/website_styles/andreas04/src/images/entrybg.png +0 -0
  85. data/doc/examples/website_styles/andreas04/src/images/flash.gif +0 -0
  86. data/doc/examples/website_styles/andreas04/src/images/flash2.gif +0 -0
  87. data/doc/examples/website_styles/andreas04/src/images/globe.gif +0 -0
  88. data/doc/examples/website_styles/andreas04/src/images/globebottom.gif +0 -0
  89. data/doc/examples/website_styles/andreas04/src/images/linkarrow.gif +0 -0
  90. data/doc/examples/website_styles/andreas04/src/images/menuhover.png +0 -0
  91. data/doc/examples/website_styles/andreas04/src/index.page +0 -9
  92. data/doc/examples/website_styles/andreas04/src/screenshots.page +0 -18
  93. data/doc/examples/website_styles/andreas05/README +0 -9
  94. data/doc/examples/website_styles/andreas05/config.yaml +0 -2
  95. data/doc/examples/website_styles/andreas05/src/about.page +0 -12
  96. data/doc/examples/website_styles/andreas05/src/default.css +0 -33
  97. data/doc/examples/website_styles/andreas05/src/default.template +0 -42
  98. data/doc/examples/website_styles/andreas05/src/download.page +0 -15
  99. data/doc/examples/website_styles/andreas05/src/features.page +0 -8
  100. data/doc/examples/website_styles/andreas05/src/images/bodybg.gif +0 -0
  101. data/doc/examples/website_styles/andreas05/src/images/front.png +0 -0
  102. data/doc/examples/website_styles/andreas05/src/index.page +0 -9
  103. data/doc/examples/website_styles/andreas05/src/screenshots.page +0 -18
  104. data/doc/examples/website_styles/andreas06/README +0 -9
  105. data/doc/examples/website_styles/andreas06/config.yaml +0 -2
  106. data/doc/examples/website_styles/andreas06/src/about.page +0 -12
  107. data/doc/examples/website_styles/andreas06/src/default.css +0 -353
  108. data/doc/examples/website_styles/andreas06/src/default.template +0 -72
  109. data/doc/examples/website_styles/andreas06/src/download.page +0 -15
  110. data/doc/examples/website_styles/andreas06/src/features.page +0 -8
  111. data/doc/examples/website_styles/andreas06/src/images/bodybg.gif +0 -0
  112. data/doc/examples/website_styles/andreas06/src/images/boxbg.gif +0 -0
  113. data/doc/examples/website_styles/andreas06/src/images/greypx.gif +0 -0
  114. data/doc/examples/website_styles/andreas06/src/images/header.jpg +0 -0
  115. data/doc/examples/website_styles/andreas06/src/images/innerbg.gif +0 -0
  116. data/doc/examples/website_styles/andreas06/src/images/leaves.jpg +0 -0
  117. data/doc/examples/website_styles/andreas06/src/images/tabs.gif +0 -0
  118. data/doc/examples/website_styles/andreas06/src/index.page +0 -9
  119. data/doc/examples/website_styles/andreas06/src/screenshots.page +0 -18
  120. data/doc/examples/website_styles/andreas07/README +0 -9
  121. data/doc/examples/website_styles/andreas07/config.yaml +0 -2
  122. data/doc/examples/website_styles/andreas07/src/about.page +0 -12
  123. data/doc/examples/website_styles/andreas07/src/browserfix.css +0 -7
  124. data/doc/examples/website_styles/andreas07/src/default.css +0 -92
  125. data/doc/examples/website_styles/andreas07/src/default.template +0 -44
  126. data/doc/examples/website_styles/andreas07/src/download.page +0 -15
  127. data/doc/examples/website_styles/andreas07/src/features.page +0 -8
  128. data/doc/examples/website_styles/andreas07/src/images/bodybg.gif +0 -0
  129. data/doc/examples/website_styles/andreas07/src/images/sidebarbg.gif +0 -0
  130. data/doc/examples/website_styles/andreas07/src/index.page +0 -9
  131. data/doc/examples/website_styles/andreas07/src/screenshots.page +0 -18
  132. data/doc/examples/website_styles/andreas08/README +0 -9
  133. data/doc/examples/website_styles/andreas08/config.yaml +0 -2
  134. data/doc/examples/website_styles/andreas08/src/about.page +0 -12
  135. data/doc/examples/website_styles/andreas08/src/default.css +0 -224
  136. data/doc/examples/website_styles/andreas08/src/default.template +0 -53
  137. data/doc/examples/website_styles/andreas08/src/download.page +0 -15
  138. data/doc/examples/website_styles/andreas08/src/features.page +0 -8
  139. data/doc/examples/website_styles/andreas08/src/index.page +0 -9
  140. data/doc/examples/website_styles/andreas08/src/screenshots.page +0 -18
  141. data/doc/examples/website_styles/andreas09/README +0 -9
  142. data/doc/examples/website_styles/andreas09/config.yaml +0 -2
  143. data/doc/examples/website_styles/andreas09/src/about.page +0 -12
  144. data/doc/examples/website_styles/andreas09/src/default.css +0 -308
  145. data/doc/examples/website_styles/andreas09/src/default.template +0 -70
  146. data/doc/examples/website_styles/andreas09/src/download.page +0 -15
  147. data/doc/examples/website_styles/andreas09/src/features.page +0 -8
  148. data/doc/examples/website_styles/andreas09/src/images/bodybg-black.jpg +0 -0
  149. data/doc/examples/website_styles/andreas09/src/images/bodybg-green.jpg +0 -0
  150. data/doc/examples/website_styles/andreas09/src/images/bodybg-orange.jpg +0 -0
  151. data/doc/examples/website_styles/andreas09/src/images/bodybg-purple.jpg +0 -0
  152. data/doc/examples/website_styles/andreas09/src/images/bodybg-red.jpg +0 -0
  153. data/doc/examples/website_styles/andreas09/src/images/bodybg.jpg +0 -0
  154. data/doc/examples/website_styles/andreas09/src/images/footerbg.jpg +0 -0
  155. data/doc/examples/website_styles/andreas09/src/images/menuhover-black.jpg +0 -0
  156. data/doc/examples/website_styles/andreas09/src/images/menuhover-green.jpg +0 -0
  157. data/doc/examples/website_styles/andreas09/src/images/menuhover-orange.jpg +0 -0
  158. data/doc/examples/website_styles/andreas09/src/images/menuhover-purple.jpg +0 -0
  159. data/doc/examples/website_styles/andreas09/src/images/menuhover-red.jpg +0 -0
  160. data/doc/examples/website_styles/andreas09/src/images/menuhover.jpg +0 -0
  161. data/doc/examples/website_styles/andreas09/src/index.page +0 -9
  162. data/doc/examples/website_styles/andreas09/src/screenshots.page +0 -18
  163. data/doc/examples/website_styles/default/README +0 -9
  164. data/doc/examples/website_styles/default/config.yaml +0 -2
  165. data/doc/examples/website_styles/default/src/about.page +0 -12
  166. data/doc/examples/website_styles/default/src/default.css +0 -84
  167. data/doc/examples/website_styles/default/src/default.template +0 -38
  168. data/doc/examples/website_styles/default/src/download.page +0 -15
  169. data/doc/examples/website_styles/default/src/features.page +0 -8
  170. data/doc/examples/website_styles/default/src/index.page +0 -9
  171. data/doc/examples/website_styles/default/src/screenshots.page +0 -18
  172. data/doc/examples/website_styles/plain/README +0 -9
  173. data/doc/examples/website_styles/plain/config.yaml +0 -2
  174. data/doc/examples/website_styles/plain/src/about.page +0 -12
  175. data/doc/examples/website_styles/plain/src/default.css +0 -244
  176. data/doc/examples/website_styles/plain/src/default.template +0 -63
  177. data/doc/examples/website_styles/plain/src/download.page +0 -15
  178. data/doc/examples/website_styles/plain/src/features.page +0 -8
  179. data/doc/examples/website_styles/plain/src/images/a_hover.jpg +0 -0
  180. data/doc/examples/website_styles/plain/src/images/desc.jpg +0 -0
  181. data/doc/examples/website_styles/plain/src/images/li.gif +0 -0
  182. data/doc/examples/website_styles/plain/src/images/mainbar.jpg +0 -0
  183. data/doc/examples/website_styles/plain/src/images/menu.jpg +0 -0
  184. data/doc/examples/website_styles/plain/src/images/submenua.gif +0 -0
  185. data/doc/examples/website_styles/plain/src/images/submenua_hover.jpg +0 -0
  186. data/doc/examples/website_styles/plain/src/index.page +0 -9
  187. data/doc/examples/website_styles/plain/src/screenshots.page +0 -18
  188. data/doc/examples/website_templates/default/README +0 -8
  189. data/doc/examples/website_templates/default/config.yaml +0 -2
  190. data/doc/examples/website_templates/default/src/default.css +0 -84
  191. data/doc/examples/website_templates/default/src/default.template +0 -38
  192. data/doc/examples/website_templates/default/src/index.page +0 -8
  193. data/doc/examples/website_templates/personal_hp/README +0 -8
  194. data/doc/examples/website_templates/personal_hp/config.yaml +0 -2
  195. data/doc/examples/website_templates/personal_hp/src/about.page +0 -12
  196. data/doc/examples/website_templates/personal_hp/src/default.css +0 -84
  197. data/doc/examples/website_templates/personal_hp/src/default.template +0 -38
  198. data/doc/examples/website_templates/personal_hp/src/index.page +0 -9
  199. data/doc/examples/website_templates/personal_hp/src/links.page +0 -22
  200. data/doc/examples/website_templates/personal_hp/src/projects.page +0 -20
  201. data/doc/examples/website_templates/project/README +0 -9
  202. data/doc/examples/website_templates/project/config.yaml +0 -2
  203. data/doc/examples/website_templates/project/src/about.page +0 -12
  204. data/doc/examples/website_templates/project/src/default.css +0 -84
  205. data/doc/examples/website_templates/project/src/default.template +0 -38
  206. data/doc/examples/website_templates/project/src/download.page +0 -15
  207. data/doc/examples/website_templates/project/src/features.page +0 -8
  208. data/doc/examples/website_templates/project/src/index.page +0 -9
  209. data/doc/examples/website_templates/project/src/screenshots.page +0 -18
  210. data/doc/plugin/gallery/slides/collage.rb +0 -334
  211. data/doc/src/examples/gallery_styles/default/default.gallery +0 -78
  212. data/doc/src/examples/gallery_styles/default/gallery_gallery.template +0 -38
  213. data/doc/src/examples/gallery_styles/default/gallery_image.template +0 -30
  214. data/doc/src/examples/gallery_styles/default/gallery_main.template +0 -18
  215. data/doc/src/examples/gallery_styles/index.page +0 -22
  216. data/doc/src/examples/gallery_styles/slides/gallery_gallery.template +0 -62
  217. data/doc/src/examples/gallery_styles/slides/gallery_image.template +0 -53
  218. data/doc/src/examples/gallery_styles/slides/gallery_main.template +0 -32
  219. data/doc/src/examples/gallery_styles/slides/slides.gallery +0 -79
  220. data/doc/src/examples/website_styles/1024px.page +0 -5
  221. data/doc/src/examples/website_styles/andreas00.page +0 -5
  222. data/doc/src/examples/website_styles/andreas01.page +0 -5
  223. data/doc/src/examples/website_styles/andreas03.page +0 -5
  224. data/doc/src/examples/website_styles/andreas04.page +0 -5
  225. data/doc/src/examples/website_styles/andreas05.page +0 -5
  226. data/doc/src/examples/website_styles/andreas06.page +0 -5
  227. data/doc/src/examples/website_styles/andreas07.page +0 -5
  228. data/doc/src/examples/website_styles/andreas08.page +0 -5
  229. data/doc/src/examples/website_styles/andreas09.page +0 -5
  230. data/doc/src/examples/website_styles/default.page +0 -5
  231. data/doc/src/examples/website_styles/index.page +0 -71
  232. data/doc/src/examples/website_styles/plain.page +0 -5
  233. data/doc/src/examples/website_templates/default.page +0 -5
  234. data/doc/src/examples/website_templates/index.page +0 -24
  235. data/doc/src/examples/website_templates/personal_hp.page +0 -5
  236. data/doc/src/examples/website_templates/project.page +0 -5
@@ -1,53 +0,0 @@
1
- --- content, html
2
- <?xml version="1.0" encoding="UTF-8"?>
3
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
5
- <head>
6
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7
- <meta name="description" content="Your website description goes here" />
8
- <meta name="keywords" content="your,keywords,goes,here" />
9
- <meta name="generato" content="webgen - http://webgen.rubyforge.org" />
10
- <link rel="stylesheet" href="{relocatable: default.css}" type="text/css" media="screen,projection" />
11
- <link rel="stylesheet" type="text/css" href="{resource: webgen-css}" />
12
- <title>{title:}</title>
13
- </head>
14
-
15
- <body>
16
- <div id="container" >
17
-
18
- <div id="header">
19
- <h1><a href="{relocatable: /index.page}">website title</a></h1>
20
- <h2>space reserved for your website slogan!</h2>
21
- </div>
22
-
23
- <div id="navigation">
24
- {menu: {menuStyle: vertical, options: {maxLevels: 1}}}
25
- </div>
26
-
27
- <div id="content">
28
- {block:}
29
- </div>
30
-
31
- <div id="subcontent">
32
- <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>
33
-
34
- <h2>Nested Menu</h2>
35
- {menu: vertical}
36
-
37
- <h2>Links</h2>
38
- <ul class="linkblock">
39
- <li><a href="http://webgen.rubyforge.org">webgen</a></li>
40
- <li><a href="http://andreasviklund.com/templates">Website templates</a></li>
41
- <li><a href="http://openwebdesign.org">Open Web Design</a></li>
42
- <li><a href="http://oswd.org">OSWD.org</a></li>
43
- </ul>
44
-
45
- </div>
46
-
47
- <div id="footer">
48
- <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>
49
- </div>
50
-
51
- </div>
52
- </body>
53
- </html>
@@ -1,15 +0,0 @@
1
- ---
2
- title: Download
3
- inMenu: true
4
- orderInfo: 30
5
- ---
6
- h2. Download
7
-
8
- Download link will be here!
9
-
10
- List of dependencies:
11
-
12
- * Dep One v. 3.3.3
13
- * Dep Two v. 2.5.1 (optional)
14
-
15
-
@@ -1,8 +0,0 @@
1
- ---
2
- title: Features
3
- inMenu: true
4
- orderInfo: 20
5
- ---
6
- h2. Features
7
-
8
- Here is the place where the feature list for your project should go.
@@ -1,9 +0,0 @@
1
- ---
2
- title: Homepage
3
- inMenu: true
4
- orderInfo: 0
5
- directoryName: Project XXX
6
- ---
7
- h2. Project XXX
8
-
9
- This is the first page your viewers will see!
@@ -1,18 +0,0 @@
1
- ---
2
- title: Screenshots
3
- inMenu: true
4
- orderInfo: 40
5
- ---
6
- h2. Screenshots
7
-
8
- h3. Main View
9
-
10
- Image of Main View
11
-
12
- Description of image
13
-
14
- h3. Next image
15
-
16
- Image
17
-
18
- bla bla bla
@@ -1,9 +0,0 @@
1
- description:
2
- This template provides the basic files for a website for a software project.
3
- You just need to fill in the correct data in the provided files and there
4
- you go!
5
-
6
- author:
7
- Thomas Leitner
8
- ---
9
- note: This file can be deleted!
@@ -1,2 +0,0 @@
1
- Core/Configuration:
2
- outDir: ../../../output/examples/website_styles/andreas09
@@ -1,12 +0,0 @@
1
- ---
2
- title: About
3
- inMenu: true
4
- orderInfo: 10
5
- ---
6
- h2. About Project XXX
7
-
8
- Description of project!
9
-
10
- h2. About the Author
11
-
12
- bla bla bla
@@ -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 {
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 {
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
- .webgen-menu-section ul {
163
- margin: 0 0 16px 10px;
164
- padding: 0px;
165
- list-style: none;
166
- }
167
-
168
- .nav, .webgen-menu-section 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, .webgen-menu-section a:hover, .webgen-menu-section li.webgen-menu-item-selected a, .webgen-menu-section 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,70 +0,0 @@
1
- --- content, html
2
- <?xml version="1.0" encoding="UTF-8"?>
3
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
5
- <head>
6
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7
- <meta name="description" content="Your description goes here." />
8
- <meta name="keywords" content="your,keywords,goes,here" />
9
- <meta name="author" content="Your Name / Original design by Andreas Viklund - http://andreasviklund.com" />
10
- <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
11
- <link rel="stylesheet" href="{relocatable: default.css}" type="text/css" media="screen" />
12
- <link rel="stylesheet" href="{resource: webgen-css}" type="text/css" media="screen" />
13
- <title>{title:}</title>
14
- </head>
15
-
16
- <body>
17
- <div id="container">
18
-
19
- <div id="sitename">
20
- <h1>website title</h1>
21
- <h2>your website slogan</h2>
22
- </div>
23
-
24
- <div id="mainmenu">
25
- {menu: {menuStyle: vertical, options: {maxLevels: 1}}}
26
- </div>
27
-
28
- <div id="wrap">
29
-
30
- <div id="leftside">
31
- <h1>Page Menu</h1>
32
- {menu: {menuStyle: section}}
33
-
34
- <h1>Color</h1>
35
- <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>
36
- </div>
37
-
38
- <div id="rightside">
39
- <h1>Latest news</h1>
40
- <p>
41
- <strong>09.09.2009</strong><br />
42
- Something has happened by then.
43
- </p>
44
-
45
- <h1>Links:</h1>
46
- <ul class="linklist">
47
- <li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
48
- <li><a href="http://andreasviklund.com/templates">Free website templates</a></li>
49
- <li><a href="http://openwebdesign.org">OpenWebDesign.org</a></li>
50
- <li><a href="http://oswd.org">OSWD.org</a></li>
51
- </ul>
52
- </div>
53
-
54
- <div id="navbar" class="content">
55
- <span class="leftbox">Location: {breadcrumbTrail: }</span>
56
- <span class="rightbox">Language: {langbar: }</span>
57
- <div class="clearingdiv">&nbsp;</div>
58
- </div>
59
-
60
- <div id="content">
61
- {block:}
62
- </div>
63
- <div class="clearingdiv">&nbsp;</div>
64
-
65
- </div>
66
- </div>
67
-
68
- <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>
69
- </body>
70
- </html>