Skip to content
Newer
Older
100644 102 lines (98 sloc) 5.26 KB
da9748f Initial version.
Matthias Mees authored
1 {if $is_embedded != true}
2 <!doctype html>
4d34036 @yellowled Changed conditional classes to H5BP v3 versions.
authored
3 <!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{$lang}"> <![endif]-->
4 <!--[if IE 7 ]> <html class="no-js lt-ie9 lt-ie8" lang="{$lang}"> <![endif]-->
5 <!--[if IE 8 ]> <html class="no-js lt-ie9" lang="{$lang}"> <![endif]-->
f224587 Upgraded to H5BP v2.0.
Matthias Mees authored
6 <!--[if gt IE 8]><!--> <html class="no-js" lang="{$lang}"> <!--<![endif]-->
da9748f Initial version.
Matthias Mees authored
7 <head>
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
8 <meta charset="{$head_charset}">
37c385f Better seperation of parts of title element on subpages.
Matthias Mees authored
9 <title>{$head_title|@default:$blogTitle}{if $head_subtitle} | {$head_subtitle}{/if}</title>
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
10 <meta name="generator" content="Serendipity v.{$head_version}">
15a861e @yellowled Edited viewport meta element to H5BP v3 version.
authored
11 <meta name="viewport" content="width=device-width">
2e68e0c Added basic support for Google Webfonts.
Matthias Mees authored
12 {if $template_option.webfonts == 'droid'}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
13 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700">
2e68e0c Added basic support for Google Webfonts.
Matthias Mees authored
14 {elseif $template_option.webfonts == 'ptsans'}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
15 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic">
2e68e0c Added basic support for Google Webfonts.
Matthias Mees authored
16 {elseif $template_option.webfonts == 'osans'}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
17 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic">
2e68e0c Added basic support for Google Webfonts.
Matthias Mees authored
18 {elseif $template_option.webfonts == 'cabin'}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
19 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Cabin:400,400italic,700,700italic">
2e68e0c Added basic support for Google Webfonts.
Matthias Mees authored
20 {elseif $template_option.webfonts == 'ubuntu'}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
21 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700,700italic">
a35a127 @yellowled Added Droid Serif as additional Webfont choice.
authored
22 {elseif $template_option.webfonts == 'dserif'}
23 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic">
2e68e0c Added basic support for Google Webfonts.
Matthias Mees authored
24 {/if}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
25 <link rel="stylesheet" href="{$head_link_stylesheet}">
62cb8a2 Added theme option to include user.css (*sigh*)
Matthias Mees authored
26 {if $template_option.userstyles == true}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
27 <link rel="stylesheet" href="{serendipity_getFile file="user.css"}">
62cb8a2 Added theme option to include user.css (*sigh*)
Matthias Mees authored
28 {/if}
a17d005 @yellowled Referenced correct Modernizr version. Oops.
authored
29 <script src="{serendipity_getFile file="js/modernizr-2.6.2.min.js"}"></script>
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
30 <link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2">
31 <link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml">
da9748f Initial version.
Matthias Mees authored
32 {if $entry_id}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
33 <link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&amp;entry_id={$entry_id}">
da9748f Initial version.
Matthias Mees authored
34 {/if}
35 {serendipity_hookPlugin hook="frontend_header"}
36 </head>
2e68e0c Added basic support for Google Webfonts.
Matthias Mees authored
37 <body{if $template_option.webfonts != 'none'} class="{$template_option.webfonts}"{/if}>
da9748f Initial version.
Matthias Mees authored
38 {else}
39 {serendipity_hookPlugin hook="frontend_header"}
40 {/if}
41 {if $is_raw_mode != true}
2b61e24 Added skiplink to content.
Matthias Mees authored
42 <a class="visuallyhidden" href="#content"><span lang="en">Skip to content</span></a>
f514513 Dropped redundant container class, styles applied to #page instead.
Matthias Mees authored
43 <div id="page" class="clearfix">
c549130 Removed most of the hardcoded role attributes (to be replaced by Acce…
Matthias Mees authored
44 <header id="banner" class="clearfix{if $leftSidebarElements > 0 && $rightSidebarElements > 0} col3{elseif $leftSidebarElements > 0 && $rightSidebarElements == 0} col2l{else} col2r{/if}{if not $template_option.use_corenav} no-nav{/if}">
da9748f Initial version.
Matthias Mees authored
45 <div id="identity">
299673b @yellowled Slight change in the markup to make image replacement in the head a l…
authored
46 <a href="{$serendipityBaseURL}">
47 <h1>{$blogTitle}</h1>
b5f1823 @yellowled Fix for empty p element if no blog description is given.
authored
48 {if $blogDescription}<p>{$blogDescription}</p>{/if}
299673b @yellowled Slight change in the markup to make image replacement in the head a l…
authored
49 </a>
da9748f Initial version.
Matthias Mees authored
50 </div>
997bd48 @yellowled Removed trailing spaces.
authored
51
dea192d @yellowled WAI-ARIA roles are supposed to be handled via scripts.
authored
52 <form id="searchform" action="{$serendipityHTTPPath}{$serendipityIndexFile}" method="get">
da9748f Initial version.
Matthias Mees authored
53 <div>
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
54 <input type="hidden" name="serendipity[action]" value="search">
6e26c25 @yellowled Different hiding method for searchform label so it works with placeho…
authored
55 <label for="serendipityQuickSearchTermField">{$CONST.QUICKSEARCH}</label>
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
56 <input id="serendipityQuickSearchTermField" name="serendipity[searchTerm]" type="search" placeholder="{$CONST.TWOK11_PLACE_SEARCH}" value="">
57 <input id="searchsend" name="serendipity[searchButton]" type="submit" value="{$CONST.GO}">
da9748f Initial version.
Matthias Mees authored
58 </div>
59 </form>
60 {serendipity_hookPlugin hook="quicksearch_plugin" hookAll="true"}
5437c5c Added theme option to include a (responsive) img in the header.
Matthias Mees authored
61 {if $template_option.header_img}
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
62 <img src="{$template_option.header_img}" alt="">
5437c5c Added theme option to include a (responsive) img in the header.
Matthias Mees authored
63 {/if}
da9748f Initial version.
Matthias Mees authored
64 </header>
8c411f0 Added theme option to suppress global nav (manually) altogether.
Matthias Mees authored
65 {if $template_option.use_corenav}
c549130 Removed most of the hardcoded role attributes (to be replaced by Acce…
Matthias Mees authored
66 <nav id="primary-nav">
aaab7a5 Removed unnecessary assignment of constants to smarty variables. D'oh.
Matthias Mees authored
67 <h2 class="visuallyhidden">{$CONST.TWOK11_NAV_TITLE}</h2>
997bd48 @yellowled Removed trailing spaces.
authored
68
f1acb78 Suppress navlink if title or href is empty.
Matthias Mees authored
69 <ul class="clearfix">{foreach from=$navlinks item="navlink" name="sbnav"}{if $navlink.title!=""&&$navlink.href!=""}<li>{if $currpage==$navlink.href or $currpage2==$navlink.href}<span>{else}<a href="{$navlink.href}">{/if}{$navlink.title}{if $currpage==$navlink.href or $currpage2==$navlink.href}</span>{else}</a>{/if}</li>{/if}{/foreach}</ul>
da9748f Initial version.
Matthias Mees authored
70 </nav>
8c411f0 Added theme option to suppress global nav (manually) altogether.
Matthias Mees authored
71 {/if}
c13bd41 Added container element.
Matthias Mees authored
72 <div id="main" class="clearfix{if $leftSidebarElements > 0 && $rightSidebarElements > 0} col3{elseif $leftSidebarElements > 0 && $rightSidebarElements == 0} col2l{else} col2r{/if}">
6257f48 @yellowled Removed hardcoded landmark role main. AccessifyHTML5 is supposed to t…
authored
73 <div id="content" class="clearfix">
da9748f Initial version.
Matthias Mees authored
74 {$CONTENT}
a93fbed Changed #content from section to div.
Matthias Mees authored
75 </div>
da9748f Initial version.
Matthias Mees authored
76 {if $leftSidebarElements > 0}
c549130 Removed most of the hardcoded role attributes (to be replaced by Acce…
Matthias Mees authored
77 <aside id="sidebar_left">
cea12ad Some additional headline to fix document outline.
Matthias Mees authored
78 <h2 class="visuallyhidden">Sidebar</h2>
79 {serendipity_printSidebar side="left"}
da9748f Initial version.
Matthias Mees authored
80 </aside>
81 {/if}
82 {if $rightSidebarElements > 0}
c549130 Removed most of the hardcoded role attributes (to be replaced by Acce…
Matthias Mees authored
83 <aside id="sidebar_right">
cea12ad Some additional headline to fix document outline.
Matthias Mees authored
84 <h2 class="visuallyhidden">Sidebar</h2>
85 {serendipity_printSidebar side="right"}
da9748f Initial version.
Matthias Mees authored
86 </aside>
87 {/if}
88 </div>
997bd48 @yellowled Removed trailing spaces.
authored
89
c549130 Removed most of the hardcoded role attributes (to be replaced by Acce…
Matthias Mees authored
90 <footer id="colophon">
cb56118 Added link to GitHub repo in the footer.
Matthias Mees authored
91 <small lang="en">Powered by <a href="http://s9y.org">Serendipity</a> &amp; the <a href="http://github.com/yellowled/s9y-2k11">2k11</a> theme.</small>
da9748f Initial version.
Matthias Mees authored
92 </footer>
c13bd41 Added container element.
Matthias Mees authored
93 </div>
ab8ae75 @yellowled Finally able to use minified js files properly.
authored
94 <script src="{serendipity_getFile file="js/2k11.min.js"}"></script>
da9748f Initial version.
Matthias Mees authored
95 {/if}
96 {$raw_data}
97 {serendipity_hookPlugin hook="frontend_footer"}
98 {if $is_embedded != true}
99 </body>
100 </html>
101 {/if}
Something went wrong with that request. Please try again.