summaryrefslogtreecommitdiffstats
path: root/_base.html
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-07-13 21:49:17 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-07-13 21:49:17 +0200
commitd019dea5c77f1a82d486d776b7fedc3294ddb3ff (patch)
treed7b821c2884544c5d7678ab5fbc4c42463e71ca9 /_base.html
parentb657113fec4dff8444bf0db8b9bb3b5244a6d074 (diff)
downloadwww-d019dea5c77f1a82d486d776b7fedc3294ddb3ff.tar.gz
www-d019dea5c77f1a82d486d776b7fedc3294ddb3ff.tar.bz2
www-d019dea5c77f1a82d486d776b7fedc3294ddb3ff.zip
port to bootstrap, lots of changes...
Diffstat (limited to '_base.html')
-rw-r--r--_base.html56
1 files changed, 27 insertions, 29 deletions
diff --git a/_base.html b/_base.html
index 59608b1..2f3223d 100644
--- a/_base.html
+++ b/_base.html
@@ -3,46 +3,44 @@
<head>
<meta charset="utf-8" />
<meta name="author" content="{{ author }}" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
<title>{{ site.title }}{% block title %}: {{ entry.title }}{% endblock %}</title>
- <link rel="stylesheet" href="{{ url_for("static/css/reset.css") }}" type="text/css" />
- <link rel="stylesheet" href="{{ url_for("static/css/text.css") }}" type="text/css" />
- <link rel="stylesheet" href="{{ url_for("static/css/960.css") }}" type="text/css" />
+ <link rel="stylesheet" href="{{ url_for("static/css/bootstrap.min.css") }}" type="text/css" />
<link rel="stylesheet" href="{{ url_for("static/css/syntax.css") }}" type="text/css" />
<link rel="stylesheet" href="{{ url_for("static/css/main.css") }}" type="text/css" />
+ <link rel="stylesheet" href="{{ url_for("static/css/bootstrap-responsive.min.css") }}" type="text/css" />
+ <link rel="stylesheet" href="{{ url_for("static/css/responsive.css") }}" type="text/css" />
+
+ <!--[if lt IE 9]>
+ <script src="{{ url_for("static/js/html5.js") }}"></script>
+ <![endif]-->
</head>
<body>
+ <div class="container-fluid">
+ <header class="row-fluid">
+ <a href="{{site.url}}" id="logo">
+ <img src="{{ url_for("static/images/logo.png") }}" alt="SPLINE" />
+ </a>
- <div class="container_16">
- <div id="header" class="grid_16">
- <h1 class="grid_8 alpha">
- <a href="{{site.url}}">
- <img src="{{ url_for("static/images/logo.png") }}" alt="SPLINE" />
- </a>
- </h1>
-
- <ol class="grid_8 omega">
+ <nav>
{% for page in site.pages|filter_by_attr('top_link')|sort(attribute='top_link')%}
- <li><a href="{{page.get_url()}}">{{page.title}}</a></li>
+ <a href="{{page.get_url()}}">{{page.title}}</a>
{% endfor %}
- </ol>
- </div>
+ </nav>
+ </header>
- <div class="clear"></div>
- <div class="grid_16" id="content">
- {% block content %}{% endblock %}
+ <div id="content">
+ {% block content %}{% endblock %}
</div>
- <div class="clear"></div>
- <div class="grid_16" id="footer">
- <footer>
- {{ site.url }}
- |
- 2012
- |
- <a href="mailto:spline@spline.de">spline@spline.de</a>
- </footer>
- </div>
-
+ <footer>
+ {{ site.url }}
+ |
+ 2012
+ |
+ <a href="mailto:spline@spline.de">spline@spline.de</a>
+ </footer>
</div>
</body>
</html>