comparison themes/tuxlite_tbs/templates/base.html @ 9:6e2bcaecf3ec

include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 01 Jul 2013 04:09:23 +0200
parents
children 51d2ddc51e40
comparison
equal deleted inserted replaced
8:587302b65fb6 9:6e2bcaecf3ec
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>{% block windowtitle %}{{ SITENAME }}{% endblock %}</title>
6 <meta name="description" content="">
7 <meta name="author" content="{{ AUTHOR }}">
8 <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
10 <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
11 <!--[if lt IE 9]>
12 <script src="{{ SITEURL }}/theme/html5.js"></script>
13 <![endif]-->
14
15 <!-- Le styles -->
16 <link href="{{ SITEURL }}/theme/bootstrap.min.css" rel="stylesheet">
17 <link href="{{ SITEURL }}/theme/bootstrap.min.responsive.css" rel="stylesheet">
18 <link href="{{ SITEURL }}/theme/local.css" rel="stylesheet">
19 <link href="{{ SITEURL }}/theme/pygments.css" rel="stylesheet">
20
21 </head>
22
23 <body>
24
25 <div class="navbar">
26 <div class="navbar-inner">
27 <div class="container">
28
29 <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
30 <span class="icon-bar"></span>
31 <span class="icon-bar"></span>
32 <span class="icon-bar"></span>
33 </a>
34
35 <a class="brand" href="{{ SITEURL }}">{{ SITENAME }}</a>
36
37 <div class="nav-collapse">
38 <ul class="nav">
39 {% for title, link in MENUITEMS %}
40 <li><a href="{{ link }}">{{ title }}</a></li>
41 {% endfor %}
42
43 {% if DISPLAY_PAGES_ON_MENU %}
44 {% for page in PAGES %}
45 <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
46 {% endfor %}
47 {% endif %}
48 </ul>
49 </div>
50
51 </div>
52 </div>
53 </div>
54
55 <div class="container">
56 <div class="content">
57 <div class="row">
58
59 <div class="span9">
60 {% block content %}{% endblock %}
61 </div>
62
63 <div class="span3">
64
65 <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
66 <ul class="nav nav-list">
67 <li class="nav-header">
68 Site
69 </li>
70
71 <li><a href="{{ SITEURL }}/archives.html">Archives</a>
72 <li><a href="{{ SITEURL }}/tags.html">Tags</a>
73 <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" rel="alternate">Atom feed</a></li>
74 {% if FEED_RSS %}
75 <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" rel="alternate">RSS feed</a></li>
76 {% endif %}
77 </ul>
78 </div>
79
80
81 {% if categories %}
82 <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
83 <ul class="nav nav-list">
84 <li class="nav-header">
85 Categories
86 </li>
87
88 {% for cat, null in categories %}
89 <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
90 {% endfor %}
91 </ul>
92 </div>
93 {% endif %}
94
95
96 {% if LINKS %}
97 <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
98 <ul class="nav nav-list">
99 <li class="nav-header">
100 Links
101 </li>
102
103 {% for name, link in LINKS %}
104 <li><a href="{{ link }}">{{ name }}</a></li>
105 {% endfor %}
106 </ul>
107 </div>
108 {% endif %}
109
110
111 {% if SOCIAL %}
112 <div class="social">
113 <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
114 <ul class="nav nav-list">
115 <li class="nav-header">
116 Social
117 </li>
118
119 {% for name, link in SOCIAL %}
120 <li><a href="{{ link }}">{{ name }}</a></li>
121 {% endfor %}
122 </ul>
123 </div>
124 </div>
125 {% endif %}
126
127 </div> {# End span3 #}
128 </div> {# End row #}
129 </div> {# End content #}
130
131 <footer>
132 <br />
133 <p><a href="{{ SITEURL }}">{{ SITENAME }}</a> &copy; {{ AUTHOR }} 2012</p>
134 </footer>
135
136 </div> <!-- /container -->
137 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
138 <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-collapse.js"></script>
139 {% include "analytics.html" %}
140 {% include "github.html" %}
141 </body>
142 </html>