webgen 1.0.0.beta2 → 1.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +34 -1
- data/Rakefile +1 -8
- data/data/webgen/passive_sources/default.metainfo +5 -0
- data/data/webgen/passive_sources/stylesheets/api.css +284 -0
- data/data/webgen/passive_sources/templates/api.template +151 -0
- data/data/webgen/passive_sources/templates/feed.template +4 -0
- data/lib/webgen/bundle/built-in/init.rb +12 -3
- data/lib/webgen/bundle_loader.rb +8 -2
- data/lib/webgen/cli/create_command.rb +3 -1
- data/lib/webgen/cli/show_tree_command.rb +4 -3
- data/lib/webgen/content_processor.rb +2 -2
- data/lib/webgen/content_processor/blocks.rb +2 -2
- data/lib/webgen/content_processor/haml.rb +1 -1
- data/lib/webgen/content_processor/html_head.rb +5 -4
- data/lib/webgen/content_processor/kramdown.rb +3 -1
- data/lib/webgen/content_processor/r_doc.rb +16 -3
- data/lib/webgen/content_processor/sass.rb +3 -3
- data/lib/webgen/content_processor/scss.rb +1 -1
- data/lib/webgen/content_processor/tikz.rb +2 -2
- data/lib/webgen/context/html_head.rb +1 -1
- data/lib/webgen/destination/file_system.rb +2 -1
- data/lib/webgen/item_tracker/node_content.rb +4 -4
- data/lib/webgen/item_tracker/node_meta_info.rb +6 -6
- data/lib/webgen/item_tracker/nodes.rb +1 -1
- data/lib/webgen/node.rb +5 -7
- data/lib/webgen/node_finder.rb +40 -17
- data/lib/webgen/page.rb +10 -0
- data/lib/webgen/path.rb +14 -14
- data/lib/webgen/path_handler.rb +19 -13
- data/lib/webgen/path_handler/api.rb +173 -0
- data/lib/webgen/path_handler/base.rb +33 -11
- data/lib/webgen/path_handler/copy.rb +2 -27
- data/lib/webgen/path_handler/feed.rb +4 -3
- data/lib/webgen/path_handler/meta_info.rb +1 -1
- data/lib/webgen/path_handler/page_utils.rb +4 -3
- data/lib/webgen/path_handler/sitemap.rb +3 -2
- data/lib/webgen/path_handler/virtual.rb +7 -2
- data/lib/webgen/tag.rb +5 -5
- data/lib/webgen/tag/execute_command.rb +1 -1
- data/lib/webgen/tag/include_file.rb +1 -1
- data/lib/webgen/tag/link.rb +2 -2
- data/lib/webgen/tag/menu.rb +1 -1
- data/lib/webgen/tag/meta_info.rb +1 -0
- data/lib/webgen/tag/relocatable.rb +1 -1
- data/lib/webgen/tag/tikz.rb +2 -2
- data/lib/webgen/task/create_website.rb +1 -1
- data/lib/webgen/test_helper.rb +20 -16
- data/lib/webgen/tree.rb +5 -1
- data/lib/webgen/version.rb +1 -1
- data/lib/webgen/website.rb +8 -8
- data/test/webgen/content_processor/test_kramdown.rb +7 -5
- data/test/webgen/content_processor/test_sass.rb +4 -0
- data/test/webgen/content_processor/test_scss.rb +4 -0
- data/test/webgen/content_processor/test_tikz.rb +6 -2
- data/test/webgen/destination/test_file_system.rb +3 -4
- data/test/webgen/item_tracker/test_missing_node.rb +3 -3
- data/test/webgen/item_tracker/test_node_content.rb +9 -12
- data/test/webgen/item_tracker/test_node_meta_info.rb +7 -11
- data/test/webgen/item_tracker/test_nodes.rb +11 -5
- data/test/webgen/path_handler/test_api.rb +111 -0
- data/test/webgen/path_handler/test_page_utils.rb +1 -1
- data/test/webgen/source/test_file_system.rb +3 -3
- data/test/webgen/tag/test_coderay.rb +3 -4
- data/test/webgen/tag/test_meta_info.rb +3 -0
- data/test/webgen/task/test_create_website.rb +2 -2
- data/test/webgen/test_item_tracker.rb +11 -16
- data/test/webgen/test_node.rb +2 -0
- data/test/webgen/test_node_finder.rb +30 -2
- data/test/webgen/test_page.rb +8 -0
- data/test/webgen/test_source.rb +11 -18
- data/test/webgen/test_tag.rb +1 -1
- data/test/webgen/test_tree.rb +8 -8
- metadata +8 -88
- data/ChangeLog +0 -23710
- data/data/webgen/website_bundles/default/README +0 -6
- data/data/webgen/website_bundles/default/src/index.page +0 -15
- data/data/webgen/website_bundles/style/1024px/README +0 -13
- data/data/webgen/website_bundles/style/1024px/src/default.css +0 -188
- data/data/webgen/website_bundles/style/1024px/src/default.template +0 -60
- data/data/webgen/website_bundles/style/1024px/src/images/background.gif +0 -0
- data/data/webgen/website_bundles/style/andreas00/README +0 -13
- data/data/webgen/website_bundles/style/andreas00/src/default.css +0 -290
- data/data/webgen/website_bundles/style/andreas00/src/default.template +0 -60
- data/data/webgen/website_bundles/style/andreas00/src/images/bg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas00/src/images/front.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas00/src/images/menubg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas00/src/images/menubg2.gif +0 -0
- data/data/webgen/website_bundles/style/andreas01/README +0 -14
- data/data/webgen/website_bundles/style/andreas01/src/default.css +0 -310
- data/data/webgen/website_bundles/style/andreas01/src/default.template +0 -62
- data/data/webgen/website_bundles/style/andreas01/src/images/bg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas01/src/images/front.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas01/src/print.css +0 -35
- data/data/webgen/website_bundles/style/andreas03/README +0 -14
- data/data/webgen/website_bundles/style/andreas03/src/default.css +0 -223
- data/data/webgen/website_bundles/style/andreas03/src/default.template +0 -58
- data/data/webgen/website_bundles/style/andreas03/src/images/bodybg.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/contbg.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/footerbg.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/gradient1.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/gradient2.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/README +0 -15
- data/data/webgen/website_bundles/style/andreas04/src/default.css +0 -290
- data/data/webgen/website_bundles/style/andreas04/src/default.template +0 -81
- data/data/webgen/website_bundles/style/andreas04/src/images/blinkarrow.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/bodybg.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/contentbg.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/entrybg.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/flash.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/flash2.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/globe.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/globebottom.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/linkarrow.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/menuhover.png +0 -0
- data/data/webgen/website_bundles/style/andreas05/README +0 -14
- data/data/webgen/website_bundles/style/andreas05/src/default.css +0 -33
- data/data/webgen/website_bundles/style/andreas05/src/default.template +0 -40
- data/data/webgen/website_bundles/style/andreas05/src/images/bodybg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas05/src/images/front.png +0 -0
- data/data/webgen/website_bundles/style/andreas06/README +0 -14
- data/data/webgen/website_bundles/style/andreas06/src/default.css +0 -356
- data/data/webgen/website_bundles/style/andreas06/src/default.template +0 -70
- data/data/webgen/website_bundles/style/andreas06/src/images/bodybg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/boxbg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/greypx.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/header.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/innerbg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/leaves.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/tabs.gif +0 -0
- data/data/webgen/website_bundles/style/andreas07/README +0 -15
- data/data/webgen/website_bundles/style/andreas07/src/browserfix.css +0 -7
- data/data/webgen/website_bundles/style/andreas07/src/default.css +0 -92
- data/data/webgen/website_bundles/style/andreas07/src/default.template +0 -42
- data/data/webgen/website_bundles/style/andreas07/src/images/bodybg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas07/src/images/sidebarbg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas08/README +0 -14
- data/data/webgen/website_bundles/style/andreas08/src/default.css +0 -224
- data/data/webgen/website_bundles/style/andreas08/src/default.template +0 -51
- data/data/webgen/website_bundles/style/andreas09/README +0 -14
- data/data/webgen/website_bundles/style/andreas09/src/default.css +0 -308
- data/data/webgen/website_bundles/style/andreas09/src/default.template +0 -68
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-black.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-green.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-orange.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-purple.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-red.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/footerbg.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-black.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-green.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-orange.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-purple.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-red.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover.jpg +0 -0
- data/data/webgen/website_bundles/style/simple/README +0 -6
- data/data/webgen/website_bundles/style/simple/src/default.css +0 -84
- data/data/webgen/website_bundles/style/simple/src/default.template +0 -36
@@ -1,60 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="{lang:}">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
6
|
-
<meta name="description" content="Your description goes here" />
|
7
|
-
<meta name="keywords" content="your,keywords,goes,here" />
|
8
|
-
<meta name="author" content="Your Name / Original design: Andreas Viklund - http://andreasviklund.com/" />
|
9
|
-
<meta name="generator" content="webgen - http://webgen.rubyforge.org" />
|
10
|
-
<link rel="stylesheet" type="text/css" href="{relocatable: default.css}" media="screen,projection" />
|
11
|
-
<title>{title:}</title>
|
12
|
-
</head>
|
13
|
-
|
14
|
-
<body>
|
15
|
-
<div id="wrap">
|
16
|
-
<div id="header">
|
17
|
-
<h1><a href="{relocatable: /index.html}">Title of website</a></h1>
|
18
|
-
<p><strong>Your slogan here...</strong></p>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div id="avmenu">
|
22
|
-
<h2 class="hide">Site menu:</h2>
|
23
|
-
{menu: {used_nodes: files}}
|
24
|
-
|
25
|
-
<div class="announce">
|
26
|
-
<h2>Latest news:</h2>
|
27
|
-
<p><strong>09.09.2009:</strong><br />
|
28
|
-
Something will have happened by then.</p>
|
29
|
-
<p class="textright"><a href="#TODO">Read more »</a></p>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
<!-- The following div was not in the original template but was inserted to display the breadcrumb trail
|
34
|
-
and language links -->
|
35
|
-
<div id="contentwide">
|
36
|
-
<p class="textright">Location: {breadcrumb_trail: } | Language: {langbar: }</p>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div id="extras">
|
40
|
-
<h2>Information:</h2>
|
41
|
-
<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>
|
42
|
-
<h2>Links:</h2>
|
43
|
-
<ul>
|
44
|
-
<li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
|
45
|
-
<li><a href="http://andreasviklund.com/templates">More templates</a></li>
|
46
|
-
<li><a href="http://openwebdesign.org/">Open Web Design</a></li>
|
47
|
-
<li><a href="http://oswd.org/">OSWD.org</a></li>
|
48
|
-
</ul>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<div id="content">
|
52
|
-
<webgen:block name="content" />
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<div id="footer">
|
56
|
-
<p>Copyright © 2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></p>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</body>
|
60
|
-
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,14 +0,0 @@
|
|
1
|
-
description:
|
2
|
-
Open source web design template by Andreas Viklund. Features a simple two- or three-column
|
3
|
-
interface with many predefined styles. Similar to style andreas00.
|
4
|
-
Have a look at the available styles in the CSS file and visit the homepage to see the original
|
5
|
-
template and what can be done with it.
|
6
|
-
|
7
|
-
author:
|
8
|
-
Andreas Viklund (adapted for webgen by Thomas Leitner)
|
9
|
-
|
10
|
-
copyright:
|
11
|
-
http://andreasviklund.com/about/copyright/
|
12
|
-
|
13
|
-
homepage:
|
14
|
-
http://andreasviklund.com/templates
|
@@ -1,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
|
-
#menu ul {
|
114
|
-
width:140px;
|
115
|
-
margin:0 0 18px;
|
116
|
-
padding:0;
|
117
|
-
list-style:none;
|
118
|
-
}
|
119
|
-
|
120
|
-
#menu ul li {
|
121
|
-
width:140px;
|
122
|
-
padding:0;
|
123
|
-
line-height:1.4em;
|
124
|
-
display:inline;
|
125
|
-
}
|
126
|
-
|
127
|
-
#menu ul li a, #menu ul li span {
|
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
|
-
#menu ul li a:hover, #menu ul li.webgen-menu-item-selected a, #menu ul li.webgen-menu-item-selected span {
|
140
|
-
background-color:#eaeaea;
|
141
|
-
border-left:4px solid #286ea0;
|
142
|
-
color:#505050;
|
143
|
-
}
|
144
|
-
|
145
|
-
#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
|
-
#menu ul ul a, #menu ul ul span {
|
153
|
-
padding:3px 1px 3px 5px;
|
154
|
-
width:115px;
|
155
|
-
}
|
156
|
-
|
157
|
-
#menu ul ul ul {
|
158
|
-
width:113px;
|
159
|
-
}
|
160
|
-
|
161
|
-
#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,62 +0,0 @@
|
|
1
|
-
|
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
|
-
<title>{title:}</title>
|
14
|
-
</head>
|
15
|
-
|
16
|
-
<body>
|
17
|
-
<div id="wrap">
|
18
|
-
|
19
|
-
<div id="header">
|
20
|
-
<h1>andreas01</h1>
|
21
|
-
<p>Location: {breadcrumb_trail:} | Language: {langbar:}</p>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<img id="frontphoto" src="{relocatable: images/front.jpg}" width="760" height="175" alt="" />
|
25
|
-
|
26
|
-
<div id="leftside">
|
27
|
-
<h2 class="hide">Menu:</h2>
|
28
|
-
<div id="menu">{menu: {used_nodes: files}}</div>
|
29
|
-
|
30
|
-
<div class="announce">
|
31
|
-
<h2>Latest news:</h2>
|
32
|
-
<p><strong>09.09.2009:</strong><br />
|
33
|
-
Something will have happened by then.</p>
|
34
|
-
<p class="textright"><a href="#">Read more...</a></p>
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
|
38
|
-
<div id="extras">
|
39
|
-
<h2>More info:</h2>
|
40
|
-
<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>
|
41
|
-
|
42
|
-
<h2>Links:</h2>
|
43
|
-
<ul>
|
44
|
-
<li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
|
45
|
-
<li><a href="http://andreasviklund.com/templates/">Website templates</a></li>
|
46
|
-
<li><a href="http://validator.w3.org/check/referer">Valid XHTML</a></li>
|
47
|
-
<li><a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a></li>
|
48
|
-
</ul>
|
49
|
-
|
50
|
-
</div>
|
51
|
-
|
52
|
-
<div id="content">
|
53
|
-
<webgen:block name="content" />
|
54
|
-
</div>
|
55
|
-
|
56
|
-
<div id="footer">
|
57
|
-
Copyright © 2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
</body>
|
62
|
-
</html>
|