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,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/andreas01
@@ -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,310 +0,0 @@
1
- /* andreas01 - 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: 2.0 (Jun 25, 2006)
3
- Screen layout: */
4
-
5
- /***** Body and main container *****/
6
- body {
7
- margin:0 auto;
8
- padding:0;
9
- font:76% Verdana,Tahoma,Arial,sans-serif;
10
- background:#f4f4f4 url(images/bg.gif) top center repeat-y;
11
- color:#303030;
12
- }
13
-
14
- #wrap {
15
- background:#ffffff;
16
- color:#303030;
17
- margin:0 auto;
18
- width:760px;
19
- }
20
-
21
- /***** Various tags *****/
22
- a {
23
- text-decoration:none;
24
- font-weight:bold;
25
- color:#286ea0;
26
- background-color:inherit;
27
- }
28
-
29
- a:hover {
30
- text-decoration:underline;
31
- color:#286ea0;
32
- background-color:inherit;
33
- }
34
-
35
- a img {
36
- border:0;
37
- }
38
-
39
- /***** Header *****/
40
- #header {
41
- margin:10px 0 0;
42
- padding:0;
43
- height:45px;
44
- }
45
-
46
- #header h1 {
47
- color:#505050;
48
- background-color:inherit;
49
- width:250px;
50
- margin:0 0 10px;
51
- font-size:2.2em;
52
- float:left;
53
- }
54
-
55
- #header h1 a{
56
- color:#505050;
57
- background-color:inherit;
58
- text-decoration:none;
59
- }
60
-
61
- #header p {
62
- width:500px;
63
- float:right;
64
- text-align:right;
65
- color:#505050;
66
- margin:8px 0 0;
67
- font-size:1.1em;
68
- font-weight:bold;
69
- line-height:1.3em;
70
- background-color:inherit;
71
- }
72
-
73
- #frontphoto {
74
- margin:0 0 10px;
75
- border:0;
76
- }
77
-
78
- /***** Left sidebar *****/
79
- #leftside {
80
- clear:left;
81
- float:left;
82
- width:140px;
83
- margin:0 0 5px;
84
- padding:0;
85
- }
86
-
87
- #leftside h2,#leftside h3 {
88
- color:#505050;
89
- background-color:inherit;
90
- font-size:1.3em;
91
- margin:0 0 5px;
92
- padding:0;
93
- }
94
-
95
- #leftside div.announce {
96
- clear:left;
97
- margin:10px 0 15px;
98
- padding:7px 5px;
99
- width:126px;
100
- font-size:0.9em;
101
- background-color:#f4f4f4;
102
- color:#505050;
103
- border-left:4px solid #cccccc;
104
- line-height:1.5em;
105
- }
106
-
107
- #leftside div.announce p {
108
- margin:10px 0 0;
109
- padding:0;
110
- }
111
-
112
- /***** Main menu *****/
113
- .webgen-menu ul {
114
- width:140px;
115
- margin:0 0 18px;
116
- padding:0;
117
- list-style:none;
118
- }
119
-
120
- .webgen-menu ul li {
121
- width:140px;
122
- padding:0;
123
- line-height:1.4em;
124
- display:inline;
125
- }
126
-
127
- .webgen-menu ul li a {
128
- background-color:#f4f4f4;
129
- color:#505050;
130
- font-weight:bold;
131
- width:130px;
132
- float:left;
133
- margin-bottom:5px;
134
- padding:5px 1px 5px 5px;
135
- border-left:4px solid #cccccc;
136
- text-decoration:none;
137
- }
138
-
139
- .webgen-menu ul li a:hover, .webgen-menu ul li.webgen-menu-item-selected a {
140
- background-color:#eaeaea;
141
- border-left:4px solid #286ea0;
142
- color:#505050;
143
- }
144
-
145
- .webgen-menu ul ul {
146
- margin:0 0 0 15px;
147
- padding:0 0 5px 0;
148
- font-size:0.9em;
149
- width:125px;
150
- }
151
-
152
- .webgen-menu ul ul a {
153
- padding:3px 1px 3px 5px;
154
- width:115px;
155
- }
156
-
157
- .webgen-menu ul ul ul {
158
- width:113px;
159
- }
160
-
161
- .webgen-menu ul ul ul a {
162
- width:100px;
163
- }
164
-
165
- /***** Right sidebar *****/
166
- #extras {
167
- float:right;
168
- width:140px;
169
- margin:0 0 5px;
170
- padding:0;
171
- line-height:1.4em;
172
- }
173
-
174
- #extras p,#extras ul {
175
- font-size:0.9em;
176
- margin:0 0 16px;
177
- padding:0;
178
- }
179
-
180
- #extras li {
181
- list-style:none;
182
- line-height:1.2em;
183
- margin:0 0 6px 0;
184
- padding:0;
185
- }
186
-
187
- #extras ul ul {
188
- margin:6px 0 0 10px;
189
- padding:0;
190
- }
191
-
192
- #extras ul ul li {
193
- margin: 0 0 4px 0;
194
- }
195
-
196
- #extras ul ul li a {
197
- font-size:1.1em;
198
- font-weight:normal;
199
- }
200
-
201
- #extras h2, #extras h3 {
202
- color:#505050;
203
- background-color:inherit;
204
- font-size:1.2em;
205
- margin:0 0 10px;
206
- padding:0;
207
- }
208
-
209
- /***** Main content *****/
210
- #content {
211
- margin:0 150px 5px 150px;
212
- border-left:1px solid #e0e0e0;
213
- border-right:1px solid #e0e0e0;
214
- padding:0 10px;
215
- line-height:1.6em;
216
- }
217
-
218
- #contentwide {
219
- margin:0 0 5px 150px;
220
- border-left:1px solid #f0f0f0;
221
- padding:0 0 0 10px;
222
- line-height:1.6em;
223
- }
224
-
225
- #content h2,#contentwide h2 {
226
- font-size:1.6em;
227
- margin:0 0 10px;
228
- }
229
-
230
- #content h3,#contentwide h3 {
231
- font-size:1.4em;
232
- margin:0 0 8px;
233
- }
234
-
235
- #content img,#contentwide img {
236
- padding:1px;
237
- display:inline;
238
- background:#cccccc;
239
- color:#303030;
240
- border:4px solid #f0f0f0;
241
- }
242
-
243
- #content ul, #contentwide ul, #content ol, #contentwide ol {
244
- margin:0 0 16px 20px;
245
- padding:0;
246
- }
247
-
248
- #content li, #contentwide li {
249
- margin:0;
250
- padding:0 0 0 5px;
251
- }
252
-
253
- #content ul ul, #contentwide ul ul, #content ol ol, #contentwide ol ol{
254
- margin:0 0 0 16px;
255
- padding:0;
256
- }
257
-
258
- /***** Footer *****/
259
- #footer {
260
- clear:both;
261
- margin:0 auto;
262
- padding:10px 0 20px;
263
- border-top:4px solid #f0f0f0;
264
- width:760px;
265
- text-align:center;
266
- color:#808080;
267
- background:#ffffff;
268
- font-size:0.9em;
269
- }
270
-
271
- #footer a {
272
- color:#808080;
273
- background-color:inherit;
274
- text-decoration:none;
275
- }
276
-
277
- #footer a:hover {
278
- text-decoration:underline;
279
- }
280
-
281
- /***** Various classes *****/
282
- .left {
283
- margin:3px 10px 2px 0;
284
- float:left;
285
- }
286
-
287
- .right {
288
- margin:2px 0 2px 10px;
289
- float:right;
290
- }
291
-
292
- .textright {
293
- text-align:right;
294
- }
295
-
296
- .center {
297
- text-align:center;
298
- }
299
-
300
- .small {
301
- font-size:0.8em;
302
- }
303
-
304
- .bold {
305
- font-weight:bold;
306
- }
307
-
308
- .hide {
309
- display:none;
310
- }
@@ -1,63 +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="{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="{relocatable: print.css}" media="print" />
13
- <link rel="stylesheet" type="text/css" href="{resource: webgen-css}" />
14
- <title>{title:}</title>
15
- </head>
16
-
17
- <body>
18
- <div id="wrap">
19
-
20
- <div id="header">
21
- <h1>andreas01</h1>
22
- <p>Location: {breadcrumbTrail:}&nbsp;|&nbsp;Language: {langbar:}</p>
23
- </div>
24
-
25
- <img id="frontphoto" src="{relocatable: images/front.jpg}" width="760" height="175" alt="" />
26
-
27
- <div id="leftside">
28
- <h2 class="hide">Menu:</h2>
29
- {menu: vertical}
30
-
31
- <div class="announce">
32
- <h2>Latest news:</h2>
33
- <p><strong>09.09.2009:</strong><br />
34
- Something will have happened by then.</p>
35
- <p class="textright"><a href="#">Read more...</a></p>
36
- </div>
37
- </div>
38
-
39
- <div id="extras">
40
- <h2>More info:</h2>
41
- <p>This is the third column, and it can be used in many different ways. You can put links, images, short notes or contact information here just to give a few examples. Filler content has been added here to give an idea of what it can look like. It can also be removed to give more space for the main content.</p>
42
-
43
- <h2>Links:</h2>
44
- <ul>
45
- <li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
46
- <li><a href="http://andreasviklund.com/templates/">Website templates</a></li>
47
- <li><a href="http://validator.w3.org/check/referer">Valid XHTML</a></li>
48
- <li><a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a></li>
49
- </ul>
50
-
51
- </div>
52
-
53
- <div id="content">
54
- {block:}
55
- </div>
56
-
57
- <div id="footer">
58
- 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>
59
- </div>
60
-
61
- </div>
62
- </body>
63
- </html>