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,62 +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 / Design by Andreas Viklund - http://andreasviklund.com/" />
10
- <meta name="generator" content="webgen - http://webgen.rubyforge.com/" />
11
- <link rel="stylesheet" type="text/css" href="{relocatable: default.css}" media="screen,projection" />
12
- <link rel="stylesheet" type="text/css" href="{resource: webgen-css}" />
13
- <title>{title: }</title>
14
- </head>
15
-
16
- <body>
17
- <div id="wrap">
18
-
19
- <div id="header">
20
- <p id="toplinks">Skip to: <a href="#content">Content</a> | <a href="#sidebar">Navigation</a> | <a href="#footer">Footer</a><br />
21
- Location: {breadcrumbTrail: }<br />
22
- Language: {langbar: }
23
- </p>
24
- <h1><a href="{relocatable: /index.page}">Title<span class="fade">appendix</span></a></h1>
25
- <p id="slogan">the slogan of the site...</p>
26
- </div>
27
-
28
- <div id="content">
29
- {block: }
30
-
31
- <p class="readmore"><a href="styles.html">Example "Read more" link</a> &raquo;</p>
32
- <p class="box"><strong>Example Note:</strong>This is a note! Check out the CSS file for other CSS classes and styles included!</p>
33
- </div>
34
-
35
- <div id="sidebar">
36
- <h2>Welcome!</h2>
37
- <p>Write a short presentation of yourself or the site right here!</p>
38
-
39
- <h2>Pages:</h2>
40
- {menu: {menuStyle: vertical, options: {maxLevels: 2}}}
41
-
42
- <h2>Site news:</h2>
43
- <p><strong>09.09.2009</strong><br />
44
- Something will have happened by then.</p>
45
-
46
- <h2>Links:</h2>
47
- <ul class="links">
48
- <li><a href="http://webgen.rubyforge.org/">webgen homepage</a></li>
49
- <li><a href="http://andreasviklund.com/templates/">Free templates</a></li>
50
- <li><a href="http://openwebdesign.org">Open Webdesign</a></li>
51
- <li><a href="http://oswd.org">OSWD.org</a></li>
52
- </ul>
53
- </div>
54
-
55
- <div id="footer">
56
- <p><a href="#">Contact us</a> | <a href="#">Privacy policy</a> | <a href="#">Sitemap</a> | <a href="#">RSS</a> | <a href="#header">Back to top</a><br />
57
- &copy; 2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com/">Andreas Viklund</a></p>
58
- </div>
59
-
60
- </div>
61
- </body>
62
- </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/andreas00
@@ -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,290 +0,0 @@
1
- /* andreas00 - an open source xhtml/css website layout 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
- Version: 1.1 (Apr 20, 2006) */
3
-
4
- /***** Body and main container *****/
5
-
6
- body {
7
- margin:0 auto;padding:0;font:76% Verdana,Tahoma,Arial,sans-serif;background:#eaeaea url(images/bg.gif) top center repeat-y;color:#3a3a3a;
8
- }
9
-
10
- #wrap {
11
- background-color:#ffffff;color:#303030;margin:0 auto;padding:1px 5px;width:760px;
12
- }
13
-
14
- /***** Header *****/
15
-
16
- #header {
17
- color:#505050;background:#ffffff url(images/front.jpg) bottom left no-repeat;height:250px;margin:0 0 10px 0;padding:0;
18
- }
19
-
20
- #header h1 {
21
- font-size:2.5em;font-weight:normal;letter-spacing:-2px;margin:0 0 4px 15px;padding:15px 0 0 0;
22
- }
23
-
24
- #header h1 a,#header h1 a:hover {
25
- padding:0;
26
- }
27
-
28
- #header p {
29
- font-size:1.1em;letter-spacing:-1px;margin:0 0 20px 15px;padding:0 0 0 3px;
30
- }
31
-
32
- /***** Left sidebar *****/
33
-
34
- #avmenu {
35
- clear:left;float:left;width:150px;margin:0 0 10px 0;padding:0;
36
- }
37
-
38
- #avmenu ul {
39
- list-style:none;width:150px;margin:0 0 20px 0;padding:0;
40
- }
41
-
42
- #avmenu li {
43
- margin-bottom:5px;
44
- }
45
-
46
- #avmenu li a {
47
- font-weight:bold;height:20px;text-decoration:none;color:#505050;display:block;padding:6px 0 0 10px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;
48
- }
49
-
50
- #avmenu li a:hover, #avmenu li a.current, #avmenu li.webgen-menu-item-selected a {
51
- background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;color:#505050;border-top:1px solid #b0b0b0;border-right:1px solid #b0b0b0;border-bottom:1px solid #b0b0b0;border-left:4px solid #505050;
52
- }
53
-
54
- #avmenu ul ul {
55
- margin:5px 0 5px 15px;font-size:0.9em;width:135px;
56
- }
57
-
58
- #avmenu ul ul a {
59
- height:16px;margin:0;padding:4px 0 0 8px;
60
- }
61
-
62
- #avmenu h2 {
63
- font-size:1.5em;font-weight:normal;
64
- }
65
-
66
- /***** Right sidebar *****/
67
-
68
- #extras {
69
- float:right;width:130px;margin:0 0 10px 0;padding:0;font-size:0.9em;
70
- }
71
-
72
- #extras p, #extras ul {
73
- margin:0 0 1.5em 0;line-height:1.3em;padding:0;
74
- }
75
-
76
- #extras a {
77
- font-weight:bold;
78
- }
79
-
80
- #extras li {
81
- list-style:none;margin:0 0 6px 0;padding:0;
82
- }
83
-
84
- #extras h2 {
85
- font-size:1.6em;font-weight:normal;margin:0 0 6px 0;;letter-spacing:-1px;
86
- }
87
-
88
- /***** Main content *****/
89
-
90
- #content {
91
- margin:10px 140px 10px 160px;padding:0;line-height:1.5em;text-align:left;
92
- }
93
-
94
- #contentwide {
95
- margin:10px 0 10px 160px;padding:0;line-height:1.5em;text-align:left;
96
- }
97
-
98
- #contentfull {
99
- margin:10px 10px 10px 10px;padding:2px 0 0 0;line-height:1.5em;text-align:left;
100
- }
101
-
102
- #content h2, #contentwide h2, #contentfull h2 {
103
- font-size:1.8em;letter-spacing:-1px;font-weight:normal;margin:8px 0 10px 0;padding:0;
104
- }
105
-
106
- #content h3, #contentwide h3, #contentfull h3 {
107
- font-size:1.5em;font-weight:normal;margin:6px 0 6px 0;padding:0;
108
- }
109
-
110
- #content img, #contentwide img, #contentfull img {
111
- padding:1px;display:inline;background:#cccccc;color:#303030;border:4px solid #f0f0f0;
112
- }
113
-
114
- #content a, #contentwide a, #contentfull a {
115
- font-weight:bold;
116
- }
117
-
118
- #content ul, #content ol,
119
- #contentwide ul, #contentwide ol,
120
- #contentfull ul, #contentfull ol {
121
- margin:0 0 16px 20px;
122
- padding:0;
123
- }
124
-
125
- #content ul ul, #content ol ol,
126
- #contentwide ul ul, #contentwide ol ol,
127
- #contentfull ul ul, #contentfull ol ol {
128
- margin:2px 0 2px 20px;
129
- }
130
-
131
- #content li, #contentwide li, #contentfull li {
132
- margin:0 0 2px 10px;
133
- padding:0 0 0 4px;
134
- }
135
-
136
- /***** Footer *****/
137
-
138
- #footer {
139
- clear:both;margin:0 auto;padding:8px 0;border-top:2px solid #dadada;width:760px;text-align:center;color:#808080;background-color:#ffffff;font-size:0.9em;
140
- }
141
-
142
- #footer p {
143
- padding:0;margin:0;
144
- }
145
-
146
- #footer a {
147
- color:#808080;background-color:inherit;text-decoration:none;
148
- }
149
-
150
- #footer a:hover {
151
- text-decoration:underline;
152
- }
153
-
154
- /***** Various tags *****/
155
-
156
- a {
157
- text-decoration:none;color:#505050;background-color:inherit;
158
- }
159
-
160
- a:hover {
161
- text-decoration:underline;color:#286ea0;background-color:inherit;
162
- }
163
-
164
- a img {
165
- border:0;
166
- }
167
-
168
- p {
169
- margin:0 0 16px 0;
170
- }
171
-
172
- blockquote {
173
- border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:16px;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;
174
- }
175
-
176
- blockquote p {
177
- font-size:1.1em;line-height:1.3em;margin:0;
178
- }
179
-
180
- /***** Table styles *****/
181
-
182
- table {
183
- margin:0 0 16px 0;padding:0;line-height:1.3em;border-collapse:collapse;border:1px solid #d8d8d8;
184
- }
185
-
186
- caption {
187
- text-align:left;font-size:1.5em;font-weight:normal;margin:0;padding:6px 0 8px 0;
188
- }
189
-
190
- th {
191
- padding:7px;text-align:left;background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;color:#505050;
192
- }
193
-
194
- td {
195
- padding:7px;font-size:0.9em;text-align:left;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#303030;
196
- }
197
-
198
- /***** Form styles *****/
199
-
200
- .button {
201
- border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:0 0 15px 0;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;font-weight:bold;width:120px;
202
- }
203
-
204
- input, textarea {
205
- border:1px solid #cccccc;font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:1em;margin:0;padding:4px;
206
- }
207
-
208
- label {
209
- margin:2px;
210
- }
211
-
212
- input {
213
- width:200px;
214
- }
215
-
216
- textarea {
217
- width:400px;
218
- }
219
-
220
- /***** Search box *****/
221
-
222
- #searchbox {
223
- padding:0;margin:6px 0 16px 0;
224
- }
225
-
226
- #searchform {
227
- background:#ffffff;border:1px solid #cccccc;color:#505050;font-size:0.9em;padding:4px;width:116px;
228
- }
229
-
230
- #searchbox label {
231
- display:none;
232
- }
233
-
234
- /***** Various classes *****/
235
-
236
- .left {
237
- margin:10px 10px 5px 0;float:left;
238
- }
239
-
240
- .right {
241
- margin:10px 0 5px 10px;float:right;
242
- }
243
-
244
- .announce {
245
- margin:10px 0 10px 0;padding:10px 10px 5px 10px;width:105px;color:#505050;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;line-height:1.3em;
246
- }
247
-
248
- .announce a {
249
- font-weight:bold;
250
- }
251
-
252
- .announce p {
253
- font-size:0.9em;
254
- }
255
-
256
- .announce h2 {
257
- margin:0 0 10px 0;padding:0;
258
- }
259
-
260
- #avmenu .announce {
261
- width:125px;
262
- }
263
-
264
- .textright {
265
- text-align:right;margin:-10px 0 4px 0;
266
- }
267
-
268
- .center {
269
- text-align:center;
270
- }
271
-
272
- .small {
273
- font-size:0.8em;
274
- }
275
-
276
- .large {
277
- font-size:1.3em;
278
- }
279
-
280
- .bold {
281
- font-weight:bold;
282
- }
283
-
284
- .highlighted {
285
- padding:3px;background-color:#f0f0f0;color:#303030;border:1px solid #b0b0b0;
286
- }
287
-
288
- .hide {
289
- display:none;
290
- }
@@ -1,62 +0,0 @@
1
- --- content, html
2
- <?xml version="1.0" encoding="UTF-8"?>
3
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" 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: Andreas Viklund - http://andreasviklund.com/" />
10
- <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
11
- <link rel="stylesheet" type="text/css" href="{relocatable: default.css}" media="screen,projection" />
12
- <link rel="stylesheet" type="text/css" href="{resource: webgen-css}" />
13
- <title>{title:}</title>
14
- </head>
15
-
16
- <body>
17
- <div id="wrap">
18
- <div id="header">
19
- <h1><a href="{relocatable: /index.page}">Title of website</a></h1>
20
- <p><strong>Your slogan here...</strong></p>
21
- </div>
22
-
23
- <div id="avmenu">
24
- <h2 class="hide">Site menu:</h2>
25
- {menu: vertical}
26
-
27
- <div class="announce">
28
- <h2>Latest news:</h2>
29
- <p><strong>09.09.2009:</strong><br />
30
- Something will have happened by then.</p>
31
- <p class="textright"><a href="#TODO">Read more &raquo;</a></p>
32
- </div>
33
- </div>
34
-
35
- <!-- The following div was not in the original template but was inserted to display the breadcrumb trail
36
- and language links -->
37
- <div id="contentwide">
38
- <p class="textright">Location: {breadcrumbTrail: }&nbsp;|&nbsp;Language: {langbar: }</p>
39
- </div>
40
-
41
- <div id="extras">
42
- <h2>Information:</h2>
43
- <p>This template has a lot of additional styles and layout variations built into the stylesheet! Have a look at the homepage for this template!</p>
44
- <h2>Links:</h2>
45
- <ul>
46
- <li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
47
- <li><a href="http://andreasviklund.com/templates">More templates</a></li>
48
- <li><a href="http://openwebdesign.org/">Open Web Design</a></li>
49
- <li><a href="http://oswd.org/">OSWD.org</a></li>
50
- </ul>
51
- </div>
52
-
53
- <div id="content">
54
- {block:}
55
- </div>
56
-
57
- <div id="footer">
58
- <p>Copyright &copy; 2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></p>
59
- </div>
60
- </div>
61
- </body>
62
- </html>