diff options
Diffstat (limited to 'bootstrap2/templates/base.html')
-rw-r--r-- | bootstrap2/templates/base.html | 89 |
1 files changed, 34 insertions, 55 deletions
diff --git a/bootstrap2/templates/base.html b/bootstrap2/templates/base.html index 26195f7..e98d06e 100644 --- a/bootstrap2/templates/base.html +++ b/bootstrap2/templates/base.html @@ -2,13 +2,13 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title>{% block title %}{{ SITENAME }}{%endblock%}</title> + <title>{% block title %}{{ SITENAME }}{% endblock %}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> - <meta name="author" content=""> + <meta name="author" content="{{ AUTHOR }}"> <!-- Le styles --> - <link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.css" type="text/css" /> + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.min.css" type="text/css" /> <style type="text/css"> body { padding-top: 60px; @@ -17,27 +17,22 @@ .sidebar-nav { padding: 9px 0; } - - .tag-1 { - font-size: 13pt; - } - - .tag-2 { - font-size: 10pt; - } - - .tag-2 { - font-size: 8pt; - } - - .tag-4 { - font-size: 6pt; - } - + .tag-1 { + font-size: 13pt; + } + .tag-2 { + font-size: 10pt; + } + .tag-2 { + font-size: 8pt; + } + .tag-4 { + font-size: 6pt; + } </style> - <link href="{{ SITEURL }}/theme/css/bootstrap-responsive.css" rel="stylesheet"> - <link href="{{ SITEURL }}/theme/css/font-awesome.css" rel="stylesheet"> - + <link href="{{ SITEURL }}/theme/css/bootstrap-responsive.min.css" rel="stylesheet"> + <link href="{{ SITEURL }}/theme/css/font-awesome.css" rel="stylesheet"> + <link href="{{ SITEURL }}/theme/css/pygments.css" rel="stylesheet"> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> @@ -78,20 +73,20 @@ {% for page in PAGES %} <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} - <li class="divider-vertical"></li> + <li class="divider-vertical"></li> {% endif %} {% for cat, null in categories %} <li {% if cat == category %}class="active"{% endif %}> - <a href="{{ SITEURL }}/{{ cat.url }}"> + <a href="{{ SITEURL }}/{{ cat.url.url }}"> <i class="icon-folder-open icon-large"></i>{{ cat }} </a> </li> {% endfor %} - - <ul class="nav pull-right"> - <li><a href="{{ SITEURL }}/archives.html"><i class="icon-th-list"></i>Archives</a></li> - </ul> - + + <ul class="nav pull-right"> + <li><a href="{{ SITEURL }}/archives.html"><i class="icon-th-list"></i>Archives</a></li> + </ul> + </ul> <!--<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>--> </div><!--/.nav-collapse --> @@ -105,8 +100,8 @@ {% block content %} {% endblock %} </div><!--/span--> - - <div class="span3 well sidebar-nav" id="sidebar"> + + <div class="span3 well sidebar-nav" id="sidebar"> {% include 'sidebar.html' %} </div><!--/.well --> @@ -117,11 +112,11 @@ <footer> <address id="about"> Proudly powered by <a href="http://pelican.notmyidea.org/">Pelican <i class="icon-external-link"></i></a>, - which takes great advantage of <a href="http://python.org">Python <i class="icon-external-link"></i></a>. + which takes great advantage of <a href="http://python.org">Python <i class="icon-external-link"></i></a>. </address><!-- /#about --> - <p>The theme is from <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter <i class="icon-external-link"></i></a>, - and <a href="http://fortawesome.github.com/Font-Awesome/">Font-Awesome <i class="icon-external-link"></i></a>, thanks!</p> + <p>The theme is from <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter <i class="icon-external-link"></i></a>, + and <a href="http://fortawesome.github.com/Font-Awesome/">Font-Awesome <i class="icon-external-link"></i></a>, thanks!</p> </footer> </div><!--/.fluid-container--> @@ -129,27 +124,11 @@ {% include 'analytics.html' %} {% include 'piwik.html' %} - {% include 'disqus_script.html' %} + {% include 'disqus_script.html' %} - - <!-- Le javascript - ================================================== --> + <!-- Le javascript --> <!-- Placed at the end of the document so the pages load faster --> - <script src="{{ SITEURL }}/theme/js/jquery.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-transition.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-alert.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-modal.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-dropdown.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-scrollspy.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-tab.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-tooltip.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-popover.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-button.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-collapse.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-carousel.js"></script> - <script src="{{ SITEURL }}/theme/js/bootstrap-typeahead.js"></script> - - <!--<script src="{{ SITEURL }}/theme/js/autosidebar.js"></script>--> + <script src="{{ SITEURL }}/theme/js/jquery-1.7.2.min.js"></script> + <script src="{{ SITEURL }}/theme/js/bootstrap.min.js"></script> </body> </html> - |