diff options
author | Kura <kura@kura.io> | 2014-06-09 14:10:04 +0100 |
---|---|---|
committer | Kura <kura@kura.io> | 2014-06-09 14:10:04 +0100 |
commit | d0a9737671da09cd8bf0ee5ce1fc4aded1867544 (patch) | |
tree | e324a258041486c4a2deaecfab2e47119e50d98b /bootstrap2-dark/templates/base.html | |
parent | 93944ff65e49df141c2908d7c335a4d0fc3da106 (diff) | |
parent | 5c241b5d62414cd379a8baedc45a1b72a37d08dd (diff) | |
download | pelican-themes-d0a9737671da09cd8bf0ee5ce1fc4aded1867544.tar.gz |
Merge pull request #116 from frantic1048/master
New theme bootstrap2-dark
Diffstat (limited to 'bootstrap2-dark/templates/base.html')
-rw-r--r-- | bootstrap2-dark/templates/base.html | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/bootstrap2-dark/templates/base.html b/bootstrap2-dark/templates/base.html new file mode 100644 index 0000000..6b18f05 --- /dev/null +++ b/bootstrap2-dark/templates/base.html @@ -0,0 +1,134 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <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="{{ AUTHOR }}"> + + <!-- Le styles --> + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.dark.css" type="text/css" /> + <style type="text/css"> + body { + padding-top: 60px; + padding-bottom: 40px; + } + .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; + } + </style> + <link href="{{ SITEURL }}/theme/css/bootstrap-responsive.dark.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 --> + <!--[if lt IE 9]> + <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + + <!-- Le fav and touch icons --> + <link rel="shortcut icon" href="{{ SITEURL }}/theme/images/favicon.ico"> + <link rel="apple-touch-icon" href="{{ SITEURL }}/theme/images/apple-touch-icon.png"> + <link rel="apple-touch-icon" sizes="72x72" href="{{ SITEURL }}/theme/images/apple-touch-icon-72x72.png"> + <link rel="apple-touch-icon" sizes="114x114" href="{{ SITEURL }}/theme/images/apple-touch-icon-114x114.png"> + + <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> + {% if FEED_RSS %} + <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> + {% endif %} + + </head> + + <body> + + <div class="navbar navbar-fixed-top"> + <div class="navbar-inner"> + <div class="container-fluid"> + <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </a> + <a class="brand" href="{{ SITEURL }}/index.html">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> + <div class="nav-collapse"> + <ul class="nav"> + {% for title, link in MENUITEMS %} + <li><a href="{{ link }}">{{ title }}</a></li> + {% endfor %} + {% if DISPLAY_PAGES_ON_MENU %} + {% for page in PAGES %} + <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> + {% endfor %} + <li class="divider-vertical"></li> + {% endif %} + {% for cat, null in categories %} + <li {% if cat == category %}class="active"{% endif %}> + <a href="{{ SITEURL }}/{{ cat.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> + <!--<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>--> + </div><!--/.nav-collapse --> + </div> + </div> + </div> + + <div class="container-fluid"> + <div class="row"> + <div class="span9" id="content"> + {% block content %} + {% endblock %} + </div><!--/span--> + + <div class="span3 well sidebar-nav" id="sidebar"> + {% include 'sidebar.html' %} + </div><!--/.well --> + + </div><!--/row--> + + <hr> + + <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>. + </address><!-- /#about --> + + <p>The theme is based on <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--> + + + {% include 'analytics.html' %} + {% include 'piwik.html' %} + {% include 'disqus_script.html' %} + + <!-- Le javascript --> + <!-- Placed at the end of the document so the pages load faster --> + <script src="{{ SITEURL }}/theme/js/jquery-1.7.2.min.js"></script> + <script src="{{ SITEURL }}/theme/js/bootstrap.min.js"></script> + </body> +</html> |