webgen 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. data/ChangeLog +132 -6742
  2. data/Rakefile +3 -1
  3. data/THANKS +27 -0
  4. data/VERSION +1 -1
  5. data/doc/examples/website_styles/1024px/README +9 -0
  6. data/doc/examples/website_styles/1024px/config.yaml +2 -0
  7. data/doc/examples/website_styles/1024px/src/about.page +12 -0
  8. data/doc/examples/website_styles/1024px/src/default.css +188 -0
  9. data/doc/examples/website_styles/1024px/src/default.template +62 -0
  10. data/doc/examples/website_styles/1024px/src/download.page +15 -0
  11. data/doc/examples/website_styles/1024px/src/features.page +8 -0
  12. data/doc/examples/website_styles/1024px/src/images/background.gif +0 -0
  13. data/doc/examples/website_styles/1024px/src/index.page +9 -0
  14. data/doc/examples/website_styles/1024px/src/screenshots.page +18 -0
  15. data/doc/examples/website_styles/andreas00/README +9 -0
  16. data/doc/examples/website_styles/andreas00/config.yaml +2 -0
  17. data/doc/examples/website_styles/andreas00/src/about.page +12 -0
  18. data/doc/examples/website_styles/andreas00/src/default.css +290 -0
  19. data/doc/examples/website_styles/andreas00/src/default.template +62 -0
  20. data/doc/examples/website_styles/andreas00/src/download.page +15 -0
  21. data/doc/examples/website_styles/andreas00/src/features.page +8 -0
  22. data/doc/examples/website_styles/andreas00/src/images/bg.gif +0 -0
  23. data/doc/examples/website_styles/andreas00/src/images/front.jpg +0 -0
  24. data/doc/examples/website_styles/andreas00/src/images/menubg.gif +0 -0
  25. data/doc/examples/website_styles/andreas00/src/images/menubg2.gif +0 -0
  26. data/doc/examples/website_styles/andreas00/src/index.page +9 -0
  27. data/doc/examples/website_styles/andreas00/src/screenshots.page +18 -0
  28. data/doc/examples/website_styles/andreas01/README +9 -0
  29. data/doc/examples/website_styles/andreas01/config.yaml +2 -0
  30. data/doc/examples/website_styles/andreas01/src/about.page +12 -0
  31. data/doc/examples/website_styles/andreas01/src/default.css +310 -0
  32. data/doc/examples/website_styles/andreas01/src/default.template +63 -0
  33. data/doc/examples/website_styles/andreas01/src/download.page +15 -0
  34. data/doc/examples/website_styles/andreas01/src/features.page +8 -0
  35. data/doc/examples/website_styles/andreas01/src/images/bg.gif +0 -0
  36. data/doc/examples/website_styles/andreas01/src/images/front.jpg +0 -0
  37. data/doc/examples/website_styles/andreas01/src/index.page +9 -0
  38. data/doc/examples/website_styles/andreas01/src/print.css +35 -0
  39. data/doc/examples/website_styles/andreas01/src/screenshots.page +18 -0
  40. data/doc/examples/website_styles/andreas03/README +9 -0
  41. data/doc/examples/website_styles/andreas03/config.yaml +2 -0
  42. data/doc/examples/website_styles/andreas03/src/about.page +12 -0
  43. data/doc/examples/website_styles/andreas03/src/default.css +223 -0
  44. data/doc/examples/website_styles/andreas03/src/default.template +60 -0
  45. data/doc/examples/website_styles/andreas03/src/download.page +15 -0
  46. data/doc/examples/website_styles/andreas03/src/features.page +8 -0
  47. data/doc/examples/website_styles/andreas03/src/images/bodybg.png +0 -0
  48. data/doc/examples/website_styles/andreas03/src/images/contbg.png +0 -0
  49. data/doc/examples/website_styles/andreas03/src/images/footerbg.png +0 -0
  50. data/doc/examples/website_styles/andreas03/src/images/gradient1.png +0 -0
  51. data/doc/examples/website_styles/andreas03/src/images/gradient2.png +0 -0
  52. data/doc/examples/website_styles/andreas03/src/index.page +9 -0
  53. data/doc/examples/website_styles/andreas03/src/screenshots.page +18 -0
  54. data/doc/examples/website_styles/andreas04/README +9 -0
  55. data/doc/examples/website_styles/andreas04/config.yaml +2 -0
  56. data/doc/examples/website_styles/andreas04/src/about.page +12 -0
  57. data/doc/examples/website_styles/andreas04/src/default.css +290 -0
  58. data/doc/examples/website_styles/andreas04/src/default.template +83 -0
  59. data/doc/examples/website_styles/andreas04/src/download.page +15 -0
  60. data/doc/examples/website_styles/andreas04/src/features.page +8 -0
  61. data/doc/examples/website_styles/andreas04/src/images/blinkarrow.gif +0 -0
  62. data/doc/examples/website_styles/andreas04/src/images/bodybg.png +0 -0
  63. data/doc/examples/website_styles/andreas04/src/images/contentbg.png +0 -0
  64. data/doc/examples/website_styles/andreas04/src/images/entrybg.png +0 -0
  65. data/doc/examples/website_styles/andreas04/src/images/flash.gif +0 -0
  66. data/doc/examples/website_styles/andreas04/src/images/flash2.gif +0 -0
  67. data/doc/examples/website_styles/andreas04/src/images/globe.gif +0 -0
  68. data/doc/examples/website_styles/andreas04/src/images/globebottom.gif +0 -0
  69. data/doc/examples/website_styles/andreas04/src/images/linkarrow.gif +0 -0
  70. data/doc/examples/website_styles/andreas04/src/images/menuhover.png +0 -0
  71. data/doc/examples/website_styles/andreas04/src/index.page +9 -0
  72. data/doc/examples/website_styles/andreas04/src/screenshots.page +18 -0
  73. data/doc/examples/website_styles/andreas05/README +9 -0
  74. data/doc/examples/website_styles/andreas05/config.yaml +2 -0
  75. data/doc/examples/website_styles/andreas05/src/about.page +12 -0
  76. data/doc/examples/website_styles/andreas05/src/default.css +33 -0
  77. data/doc/examples/website_styles/andreas05/src/default.template +42 -0
  78. data/doc/examples/website_styles/andreas05/src/download.page +15 -0
  79. data/doc/examples/website_styles/andreas05/src/features.page +8 -0
  80. data/doc/examples/website_styles/andreas05/src/images/bodybg.gif +0 -0
  81. data/doc/examples/website_styles/andreas05/src/images/front.png +0 -0
  82. data/doc/examples/website_styles/andreas05/src/index.page +9 -0
  83. data/doc/examples/website_styles/andreas05/src/screenshots.page +18 -0
  84. data/doc/examples/website_styles/andreas06/README +9 -0
  85. data/doc/examples/website_styles/andreas06/config.yaml +2 -0
  86. data/doc/examples/website_styles/andreas06/src/about.page +12 -0
  87. data/doc/examples/website_styles/andreas06/src/default.css +354 -0
  88. data/doc/examples/website_styles/andreas06/src/default.template +72 -0
  89. data/doc/examples/website_styles/andreas06/src/download.page +15 -0
  90. data/doc/examples/website_styles/andreas06/src/features.page +8 -0
  91. data/doc/examples/website_styles/andreas06/src/images/bodybg.gif +0 -0
  92. data/doc/examples/website_styles/andreas06/src/images/boxbg.gif +0 -0
  93. data/doc/examples/website_styles/andreas06/src/images/greypx.gif +0 -0
  94. data/doc/examples/website_styles/andreas06/src/images/header.jpg +0 -0
  95. data/doc/examples/website_styles/andreas06/src/images/innerbg.gif +0 -0
  96. data/doc/examples/website_styles/andreas06/src/images/leaves.jpg +0 -0
  97. data/doc/examples/website_styles/andreas06/src/images/tabs.gif +0 -0
  98. data/doc/examples/website_styles/andreas06/src/index.page +9 -0
  99. data/doc/examples/website_styles/andreas06/src/screenshots.page +18 -0
  100. data/doc/examples/website_styles/andreas07/README +9 -0
  101. data/doc/examples/website_styles/andreas07/config.yaml +2 -0
  102. data/doc/examples/website_styles/andreas07/src/about.page +12 -0
  103. data/doc/examples/website_styles/andreas07/src/browserfix.css +7 -0
  104. data/doc/examples/website_styles/andreas07/src/default.css +92 -0
  105. data/doc/examples/website_styles/andreas07/src/default.template +44 -0
  106. data/doc/examples/website_styles/andreas07/src/download.page +15 -0
  107. data/doc/examples/website_styles/andreas07/src/features.page +8 -0
  108. data/doc/examples/website_styles/andreas07/src/images/bodybg.gif +0 -0
  109. data/doc/examples/website_styles/andreas07/src/images/sidebarbg.gif +0 -0
  110. data/doc/examples/website_styles/andreas07/src/index.page +9 -0
  111. data/doc/examples/website_styles/andreas07/src/screenshots.page +18 -0
  112. data/doc/examples/website_styles/andreas08/README +9 -0
  113. data/doc/examples/website_styles/andreas08/config.yaml +2 -0
  114. data/doc/examples/website_styles/andreas08/src/about.page +12 -0
  115. data/doc/examples/website_styles/andreas08/src/default.css +224 -0
  116. data/doc/examples/website_styles/andreas08/src/default.template +53 -0
  117. data/doc/examples/website_styles/andreas08/src/download.page +15 -0
  118. data/doc/examples/website_styles/andreas08/src/features.page +8 -0
  119. data/doc/examples/website_styles/andreas08/src/index.page +9 -0
  120. data/doc/examples/website_styles/andreas08/src/screenshots.page +18 -0
  121. data/doc/examples/website_styles/andreas09/README +9 -0
  122. data/doc/examples/website_styles/andreas09/config.yaml +2 -0
  123. data/doc/examples/website_styles/andreas09/src/about.page +12 -0
  124. data/doc/examples/website_styles/andreas09/src/default.css +308 -0
  125. data/doc/examples/website_styles/andreas09/src/default.template +70 -0
  126. data/doc/examples/website_styles/andreas09/src/download.page +15 -0
  127. data/doc/examples/website_styles/andreas09/src/features.page +8 -0
  128. data/doc/examples/website_styles/andreas09/src/images/bodybg-black.jpg +0 -0
  129. data/doc/examples/website_styles/andreas09/src/images/bodybg-green.jpg +0 -0
  130. data/doc/examples/website_styles/andreas09/src/images/bodybg-orange.jpg +0 -0
  131. data/doc/examples/website_styles/andreas09/src/images/bodybg-purple.jpg +0 -0
  132. data/doc/examples/website_styles/andreas09/src/images/bodybg-red.jpg +0 -0
  133. data/doc/examples/website_styles/andreas09/src/images/bodybg.jpg +0 -0
  134. data/doc/examples/website_styles/andreas09/src/images/footerbg.jpg +0 -0
  135. data/doc/examples/website_styles/andreas09/src/images/menuhover-black.jpg +0 -0
  136. data/doc/examples/website_styles/andreas09/src/images/menuhover-green.jpg +0 -0
  137. data/doc/examples/website_styles/andreas09/src/images/menuhover-orange.jpg +0 -0
  138. data/doc/examples/website_styles/andreas09/src/images/menuhover-purple.jpg +0 -0
  139. data/doc/examples/website_styles/andreas09/src/images/menuhover-red.jpg +0 -0
  140. data/doc/examples/website_styles/andreas09/src/images/menuhover.jpg +0 -0
  141. data/doc/examples/website_styles/andreas09/src/index.page +9 -0
  142. data/doc/examples/website_styles/andreas09/src/screenshots.page +18 -0
  143. data/doc/examples/website_styles/default/README +9 -0
  144. data/doc/examples/website_styles/default/config.yaml +2 -0
  145. data/doc/examples/website_styles/default/src/about.page +12 -0
  146. data/doc/examples/website_styles/default/src/default.css +84 -0
  147. data/doc/examples/website_styles/default/src/default.template +38 -0
  148. data/doc/examples/website_styles/default/src/download.page +15 -0
  149. data/doc/examples/website_styles/default/src/features.page +8 -0
  150. data/doc/examples/website_styles/default/src/index.page +9 -0
  151. data/doc/examples/website_styles/default/src/screenshots.page +18 -0
  152. data/doc/examples/website_templates/default/README +8 -0
  153. data/doc/examples/website_templates/default/config.yaml +2 -0
  154. data/doc/examples/website_templates/default/src/default.css +84 -0
  155. data/doc/examples/website_templates/default/src/default.template +38 -0
  156. data/doc/examples/website_templates/default/src/index.page +8 -0
  157. data/doc/examples/website_templates/personal_hp/README +8 -0
  158. data/doc/examples/website_templates/personal_hp/config.yaml +2 -0
  159. data/doc/examples/website_templates/personal_hp/src/about.page +12 -0
  160. data/doc/examples/website_templates/personal_hp/src/default.css +84 -0
  161. data/doc/examples/website_templates/personal_hp/src/default.template +38 -0
  162. data/doc/examples/website_templates/personal_hp/src/index.page +9 -0
  163. data/doc/examples/website_templates/personal_hp/src/links.page +22 -0
  164. data/doc/examples/website_templates/personal_hp/src/projects.page +20 -0
  165. data/doc/examples/website_templates/project/README +9 -0
  166. data/doc/examples/website_templates/project/config.yaml +2 -0
  167. data/doc/examples/website_templates/project/src/about.page +12 -0
  168. data/doc/examples/website_templates/project/src/default.css +84 -0
  169. data/doc/examples/website_templates/project/src/default.template +38 -0
  170. data/doc/examples/website_templates/project/src/download.page +15 -0
  171. data/doc/examples/website_templates/project/src/features.page +8 -0
  172. data/doc/examples/website_templates/project/src/index.page +9 -0
  173. data/doc/examples/website_templates/project/src/screenshots.page +18 -0
  174. data/doc/plugin/gallery/slides/collage.rb +337 -0
  175. data/doc/src/default.template +12 -5
  176. data/doc/src/documentation/plugins/contentconverter/maruku.page +23 -0
  177. data/doc/src/documentation/plugins/menustyle/horizontal.page +4 -0
  178. data/doc/src/documentation/plugins/tag/htmlmetainfo.page +32 -0
  179. data/doc/src/documentation/plugins/tag/news.page +48 -0
  180. data/doc/src/download.page +3 -3
  181. data/doc/src/examples/example_sites/index.page +4 -0
  182. data/doc/src/examples/example_sites/personal.zip +0 -0
  183. data/doc/src/examples/example_sites/photo_gallery.zip +0 -0
  184. data/doc/src/examples/gallery_styles/default/default.gallery +78 -0
  185. data/doc/src/examples/gallery_styles/default/gallery_gallery.template +38 -0
  186. data/doc/src/examples/gallery_styles/default/gallery_image.template +30 -0
  187. data/doc/src/examples/gallery_styles/default/gallery_main.template +18 -0
  188. data/doc/src/examples/gallery_styles/index.page +22 -0
  189. data/doc/src/examples/gallery_styles/slides/gallery_gallery.template +62 -0
  190. data/doc/src/examples/gallery_styles/slides/gallery_image.template +53 -0
  191. data/doc/src/examples/gallery_styles/slides/gallery_main.template +32 -0
  192. data/doc/src/examples/gallery_styles/slides/slides.gallery +79 -0
  193. data/doc/src/examples/sipttra_styles/default.page +5 -0
  194. data/doc/src/examples/sipttra_styles/default/css/sipttra.rcss +71 -0
  195. data/doc/src/examples/sipttra_styles/default/default.template +16 -0
  196. data/doc/src/examples/sipttra_styles/default/index.todo +60 -0
  197. data/doc/src/examples/sipttra_styles/default/js/sipttra.js +7 -0
  198. data/doc/src/examples/sipttra_styles/default/sipttra.template +105 -0
  199. data/doc/src/examples/sipttra_styles/index.page +17 -0
  200. data/doc/src/examples/website_styles/1024px.page +5 -0
  201. data/doc/src/examples/website_styles/andreas00.page +5 -0
  202. data/doc/src/examples/website_styles/andreas01.page +5 -0
  203. data/doc/src/examples/website_styles/andreas03.page +5 -0
  204. data/doc/src/examples/website_styles/andreas04.page +5 -0
  205. data/doc/src/examples/website_styles/andreas05.page +5 -0
  206. data/doc/src/examples/website_styles/andreas06.page +5 -0
  207. data/doc/src/examples/website_styles/andreas07.page +5 -0
  208. data/doc/src/examples/website_styles/andreas08.page +5 -0
  209. data/doc/src/examples/website_styles/andreas09.page +5 -0
  210. data/doc/src/examples/website_styles/default.page +5 -0
  211. data/doc/src/examples/website_styles/index.page +76 -0
  212. data/doc/src/examples/website_templates/default.page +5 -0
  213. data/doc/src/examples/website_templates/index.page +24 -0
  214. data/doc/src/examples/website_templates/personal_hp.page +5 -0
  215. data/doc/src/examples/website_templates/project.page +5 -0
  216. data/doc/src/news.page +24 -0
  217. data/doc/src/project.todo +34 -0
  218. data/lib/webgen/config.rb +3 -3
  219. data/lib/webgen/content.rb +1 -1
  220. data/lib/webgen/plugins/contentconverters/maruku.rb +33 -0
  221. data/lib/webgen/plugins/filehandlers/gallery.rb +1 -1
  222. data/lib/webgen/plugins/filehandlers/template.rb +2 -3
  223. data/lib/webgen/plugins/menustyles/horizontal.rb +14 -3
  224. data/lib/webgen/plugins/tags/htmlmetainfo.rb +27 -0
  225. data/lib/webgen/plugins/tags/news.rb +149 -0
  226. data/lib/webgen/website.rb +1 -0
  227. data/test/unittests/tc_config.rb +1 -1
  228. data/test/unittests/tc_content.rb +8 -0
  229. data/test/unittests/tc_menustyles_horizontal.rb +49 -3
  230. metadata +704 -445
  231. data/data/webgen/website_styles/plain/README +0 -17
  232. data/data/webgen/website_styles/plain/default.css +0 -244
  233. data/data/webgen/website_styles/plain/default.template +0 -63
  234. data/data/webgen/website_styles/plain/images/a_hover.jpg +0 -0
  235. data/data/webgen/website_styles/plain/images/desc.jpg +0 -0
  236. data/data/webgen/website_styles/plain/images/li.gif +0 -0
  237. data/data/webgen/website_styles/plain/images/mainbar.jpg +0 -0
  238. data/data/webgen/website_styles/plain/images/menu.jpg +0 -0
  239. data/data/webgen/website_styles/plain/images/submenua.gif +0 -0
  240. data/data/webgen/website_styles/plain/images/submenua_hover.jpg +0 -0
data/Rakefile CHANGED
@@ -372,6 +372,7 @@ PKG_FILES = FileList.new( [
372
372
  'TODO',
373
373
  'COPYING',
374
374
  'README',
375
+ 'THANKS',
375
376
  'Rakefile',
376
377
  'ChangeLog',
377
378
  'VERSION',
@@ -395,7 +396,7 @@ end
395
396
 
396
397
  CLOBBER << "ChangeLog"
397
398
  task :gen_changelog do
398
- sh "svn log -r HEAD:1 -v > ChangeLog"
399
+ sh "svk log -r HEAD:1 -v > ChangeLog"
399
400
  end
400
401
 
401
402
  CLOBBER << "VERSION"
@@ -428,6 +429,7 @@ else
428
429
 
429
430
  s.files = PKG_FILES.to_a
430
431
  s.add_dependency( 'cmdparse', '~> 2.0.0' )
432
+ s.add_dependency( 'redcloth', '>= 3.0.0' )
431
433
 
432
434
  s.require_path = 'lib'
433
435
  s.autorequire = nil
data/THANKS ADDED
@@ -0,0 +1,27 @@
1
+ Thanks to all the people on the mailing list and in the forums for the many comments, suggestions
2
+ and critics!
3
+
4
+ Special thanks to:
5
+
6
+ * Jeremy Hinegardner
7
+ - implemented plugin Tag/News
8
+ - implemented webgen rake task
9
+ - implemented plugin Misc/RenderedFiles used in the rake task
10
+
11
+ * Andrea Censi
12
+ - implemented plugin Tag/HtmlMetaInfo
13
+ - implemented plugin ContentConverter/Maruku
14
+
15
+ * Bill Paxton
16
+ - thanks for the donation!
17
+
18
+ * Arnaud Cornet
19
+ - provided the initial man page
20
+
21
+ * Massimiliano Filacchioni
22
+ - provided extended version of Tag/BreadcrumbTrail
23
+
24
+ * Lionel Thiry
25
+ - initial idea for using a command style CLI and a website specific plugin directory
26
+
27
+ If I have forgotten to mention someone, please send me an email and I will correct it!
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -0,0 +1,9 @@
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!
@@ -0,0 +1,2 @@
1
+ Core/Configuration:
2
+ outDir: ../../../output/examples/website_styles/1024px
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,188 @@
1
+ /* 1024px - An open source xhtml/css website template by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer.
2
+
3
+ Version: 1.2, April 20, 2006 */
4
+
5
+ /******** General tags ********/
6
+ body{
7
+ font:76% Verdana,Tahoma,Arial,sans-serif;
8
+ background:#ffffff url(images/background.gif) top center repeat-y;
9
+ color:#404040;
10
+ line-height:1.2em;
11
+ margin:0 auto;
12
+ padding:0;
13
+ }
14
+
15
+ a, #sidebar .webgen-menu span {
16
+ text-decoration:none;
17
+ color:#4088b8;
18
+ font-weight:bold;
19
+ }
20
+
21
+ a:hover{text-decoration:underline;}
22
+ a img{border:0;}
23
+ p{margin:0 0 18px 10px;}
24
+ ul,ol,dl{font-size:0.9em; margin:2px 0 16px 35px;}
25
+ ul ul,ol ol{margin:4px 0 4px 35px;}
26
+
27
+ h1{
28
+ font-size:4.2em;
29
+ letter-spacing:-5px;
30
+ margin:0 0 30px 25px;
31
+ color:#4088b8;
32
+ }
33
+
34
+ h1 a{text-transform:none; color:#4088b8;}
35
+
36
+ h2{
37
+ font-size:1.4em;
38
+ color:#4088b8;
39
+ border-bottom:4px solid #dadada;
40
+ padding:0 2px 2px 5px;
41
+ margin:0 0 10px 0;
42
+ letter-spacing:-1px;
43
+ }
44
+
45
+ h3{
46
+ font-size:1.2em;
47
+ font-weight:bold;
48
+ color:#4088b8;
49
+ border-bottom:1px solid #dadada;
50
+ margin:10px 0 8px 0;
51
+ padding:1px 2px 2px 3px;
52
+ }
53
+
54
+ blockquote{
55
+ font-size:0.9em;
56
+ border:1px solid #dadada;
57
+ margin:20px 10px;
58
+ padding:8px;
59
+ }
60
+
61
+ /******** Main wrap ********/
62
+ #wrap{
63
+ color:#404040;
64
+ width:970px;
65
+ margin:10px auto;
66
+ padding:0;
67
+ }
68
+
69
+ #header{margin:0;}
70
+
71
+ #header h1 {margin-top: -30px}
72
+
73
+ #toplinks{text-align:right; padding:5px 2px 2px 3px;}
74
+
75
+ #slogan{
76
+ font-size:1.5em;
77
+ color:#808080;
78
+ font-weight:bold;
79
+ letter-spacing:-1px;
80
+ margin:15px 0px 20px 35px;
81
+ line-height:1.2em;
82
+ }
83
+
84
+ /******** sidebar ********/
85
+ #sidebar{
86
+ float:left;
87
+ width:195px;
88
+ margin:0 0 5px 0;
89
+ padding:1px 0 0 0;
90
+ }
91
+
92
+ #sidebar ul{
93
+ list-style:none;
94
+ font-size:0.9em;
95
+ margin:0;
96
+ padding:0 0 15px 10px;
97
+ }
98
+
99
+ #sidebar li{
100
+ list-style:none;
101
+ margin:0 0 4px 0;
102
+ padding:0;
103
+ }
104
+
105
+ #sidebar li a, #sidebar li span {
106
+ font-size:1.2em;
107
+ font-weight:bold;
108
+ padding:2px;
109
+ }
110
+
111
+ #sidebar ul ul{
112
+ margin:4px 0 3px 15px;
113
+ line-height:1.2em;
114
+ padding:0;
115
+ }
116
+
117
+ #sidebar ul ul li a, #sidebar ul ul li span {font-weight:normal;}
118
+ #sidebar h2{margin:3px 0px 8px 0px;}
119
+
120
+ /******** Content variations ********/
121
+ #content{
122
+ line-height:1.5em;
123
+ width:750px;
124
+ float:right;
125
+ text-align:left;
126
+ margin:0;
127
+ padding:0;
128
+ }
129
+
130
+ #contentalt{
131
+ line-height:1.5em;
132
+ width:750px;
133
+ float:left;
134
+ text-align:left;
135
+ padding:0;
136
+ margin-right:20px;
137
+ }
138
+
139
+ #content h3, #contentalt h3{margin:10px 0 8px;}
140
+
141
+ /******** Footer ********/
142
+ #footer{
143
+ clear:both;
144
+ text-align:right;
145
+ color:#808080;
146
+ font-size:0.9em;
147
+ border-top:4px solid #dadada;
148
+ margin:0 auto;
149
+ padding:8px 0;
150
+ line-height:1.6em;
151
+ }
152
+
153
+ #footer p{margin:0; padding:0;}
154
+ #footer a{color:#808080;}
155
+
156
+ /******** Various classes ********/
157
+ .box{
158
+ color:#ffffff;
159
+ font-size:0.9em;
160
+ background-color:#4088b8;
161
+ border:1px solid #c8c8c8;
162
+ line-height:1.3em;
163
+ padding:5px 5px 5px 8px;
164
+ }
165
+
166
+ .box a{color:#f0f0f0;}
167
+ .left{float:left; margin:0 15px 4px 0;}
168
+ .right{float:right; margin:0 0 4px 15px;}
169
+ .textright{text-align:right;}
170
+ .readmore{text-align:right; margin:-10px 10px 12px 0;}
171
+
172
+ .center{text-align:center;}
173
+ .blue{color:#4088b8;}
174
+ .big{font-size:1.3em;}
175
+ .small{font-size:0.8em;}
176
+ .bold{font-weight:bold;}
177
+
178
+ .clear{clear:both;}
179
+ .hide{display:none;}
180
+ .fade{color:#c8c8c8;}
181
+ .gray{color:#808080;}
182
+
183
+ .photo{
184
+ border:1px solid #bababa;
185
+ padding:2px;
186
+ background-color:#ffffff;
187
+ margin:6px 18px 2px 5px;
188
+ }
@@ -0,0 +1,62 @@
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>
@@ -0,0 +1,15 @@
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
+
@@ -0,0 +1,8 @@
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.
@@ -0,0 +1,9 @@
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!
@@ -0,0 +1,18 @@
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
@@ -0,0 +1,9 @@
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!
@@ -0,0 +1,2 @@
1
+ Core/Configuration:
2
+ outDir: ../../../output/examples/website_styles/andreas00
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,290 @@
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, #avmenu li span {
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, #avmenu li.webgen-menu-item-selected span {
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
+ }