aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/templates/base.html
diff options
context:
space:
mode:
authorMassimo Santini <massimo.santini@gmail.com>2011-12-05 23:43:04 +0100
committerMassimo Santini <massimo.santini@gmail.com>2011-12-05 23:43:04 +0100
commitdc67ee39fcfc6ae8cbcc56fffd39242b839f8cd3 (patch)
tree66b96f17911a0f2142515162d7ad38ec0b9b3b28 /bootstrap/templates/base.html
parent28bc815799239f17f896b3b64929a0356fd090db (diff)
downloadpelican-themes-dc67ee39fcfc6ae8cbcc56fffd39242b839f8cd3.tar.gz
A new theme based on Bootstrap from Twitter
Diffstat (limited to 'bootstrap/templates/base.html')
-rw-r--r--bootstrap/templates/base.html76
1 files changed, 76 insertions, 0 deletions
diff --git a/bootstrap/templates/base.html b/bootstrap/templates/base.html
new file mode 100644
index 0000000..5710a5e
--- /dev/null
+++ b/bootstrap/templates/base.html
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>{% block windowtitle %}{{ SITENAME }}{% endblock %}</title>
+ <meta name="description" content="">
+ <meta name="author" content="{{ AUTHOR }}">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="{{ SITEURL }}/theme/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="{{ SITEURL }}/theme/bootstrap.min.css" rel="stylesheet">
+ <link href="{{ SITEURL }}/theme/local.css" rel="stylesheet">
+ <link href="{{ SITEURL }}/theme/pygments.css" rel="stylesheet">
+ {% include "analytics.html" %}
+ {% include "disqus.html" %}
+</head>
+<body>
+ {% include "facebook.html" %}
+ {% include "github.html" %}
+ <div class="topbar">
+ <div class="topbar-inner">
+ <div class="container-fluid">
+ <a class="brand" href="{{ SITEURL }}/index.html">{{ SITENAME }}</a>
+ <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 }}/pages/{{ page.url }}">{{ page.title }}</a></li>
+ {% endfor %}
+ {% endif %}
+ {% for cat, null in categories %}
+ <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
+ {% endfor %}
+ </ul>
+ <p class="pull-right"><a href="{{ SITEURL }}/archives.html">[archives]</a> <a href="{{ SITEURL }}/tags.html">[tags]</a></p>
+ </div>
+ </div>
+ </div>
+
+ <div class="container-fluid">
+ <div class="sidebar">
+ <div class="well">
+ <h3>Blogroll</h3>
+ <ul>
+ {% for name, link in LINKS %}
+ <li><a href="{{ link }}">{{ name }}</a></li>
+ {% endfor %}
+ </ul>
+ <div class="social">
+ <h3>Social</h3>
+ <ul>
+ {% for name, link in SOCIAL %}
+ <li><a href="{{ link }}">{{ name }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="content">
+ {% block indextitle %}<div class="page-header"><h1>{% block title %} {{ self.windowtitle() }} {% endblock %}</h1></div>{% endblock %}
+ {% block content %}{% endblock %}
+ <footer>
+ <p> Powered by <a href="http://alexis.notmyidea.org/pelican/">Pelican</a>, theme based on <a href="http://twitter.github.com/bootstrap/">Bootstrap, from Twitter</a>.</p>
+ <p>&copy; {{ AUTHOR }} 2011</p>
+ </footer>
+ </div>
+
+ </div>
+</body>
+</html> \ No newline at end of file