|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
3 <head> |
|
4 <meta http-equiv="content-type" content="text/xhtml; charset=utf-8" /> |
|
5 <meta name="author" content="lgen" /> |
|
6 <meta name="viewport" content="initial-scale=1" /> |
|
7 <link rel="stylesheet" type="text/css" href="<%= base_url %>style/default.css" /> |
|
8 <link rel="apple-touch-icon-precomposed" href="<%= base_url %>style/icon144.png" type="144x144"/> |
|
9 <link rel="shortcut icon" href="<%= base_url %>style/icon16.png" type="image/png" /> |
|
10 <!-- |
|
11 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<%= base_url %>feed.rss}" /> |
|
12 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<%= base_url %>feed.atom" /> |
|
13 --> |
|
14 <title>lgen test page – <%= page.meta.title %></title> |
|
15 </head> |
|
16 |
|
17 <% |
|
18 --require('plugin.breadcrumb') |
|
19 local main_url = (base_url=="" and "./" or base_url) |
|
20 %> |
|
21 <body> |
|
22 <div class="header"> |
|
23 <!-- <span> <a href="<%= main_url %>">main</a> </span> --> |
|
24 <!-- <span> < %= plugin.breadcrumb.trail(env) % > </span> --> |
|
25 </div> |
|
26 |
|
27 <div id="sidebar"> |
|
28 <div class="sidetitle"> |
|
29 lgen |
|
30 </div> |
|
31 <div class="side"> |
|
32 <a href="<%= base_url %>subpage/">sub-page</a><br/> |
|
33 </div> |
|
34 </div> |
|
35 |
|
36 |
|
37 <div id="content"> |
|
38 <% if page.meta.blogpost then %> |
|
39 <div class="posted-header"> |
|
40 <%= page.meta.created_at %> |
|
41 <!-- strftime("%Y-%m-%d %H:%M UTC") --> |
|
42 </div> |
|
43 <% end %> |
|
44 |
|
45 <% if page.meta.h1_title then %> |
|
46 <h1><%= page.meta.h1_title %></h1> |
|
47 <% else %> |
|
48 <h1><%= page.meta.title %></h1> |
|
49 <% end %> |
|
50 <%= content %> |
|
51 </div> |
|
52 |
|
53 <div id="footer"> |
|
54 </div> |
|
55 </body> |
|
56 </html> |