-rw-r--r-- | htdocs/ancestry/page.chtml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/htdocs/ancestry/page.chtml b/htdocs/ancestry/page.chtml new file mode 100644 index 0000000..28bf7f0 --- a/dev/null +++ b/htdocs/ancestry/page.chtml | |||
@@ -0,0 +1,28 @@ | |||
1 | % html(); return; /* vim:set ft=sitecing: */ | ||
2 | %%var bool b_strict = true; | ||
3 | <%decl> | ||
4 | using std::string; | ||
5 | </%decl> | ||
6 | <%method void html() %> | ||
7 | % if(b_strict){ | ||
8 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
9 | % }else{ | ||
10 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> | ||
11 | % } | ||
12 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | ||
13 | <head> | ||
14 | % __SCIF->headers["Content-Type"] = "text/html"; | ||
15 | <title><% title() %></title> | ||
16 | <meta name="copyright" content="Copyright (c) 1996-2005 Klever Group"/> | ||
17 | <link rel="stylesheet" href="/style.css" type="text/css" /> | ||
18 | </head> | ||
19 | <body> | ||
20 | % body(); | ||
21 | </body> | ||
22 | </html> | ||
23 | </%method> | ||
24 | <%codemethod string title() %> | ||
25 | return "untitled"; | ||
26 | </%codemethod> | ||
27 | <%method void body() %> | ||
28 | </%method> | ||