lektor-website/templates/layout.html

94 lines
4.0 KiB
HTML
Raw Normal View History

2015-12-19 14:52:17 +01:00
<!doctype html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ '/static/styles.css'|asseturl }}">
<link rel="stylesheet" href="{{ get_pygments_stylesheet()|url }}">
2015-12-26 23:44:57 +01:00
<title>{% block title %}Hello{% endblock %} | Lektor Static Content Management System</title>
2015-12-19 14:52:17 +01:00
<body class="{% block bodyclass %}default{% endblock %}">
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ '/'|url }}">Lektor</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
{% for id, item in bag('menu').iteritems() %}
<li{% if this.is_child_of(item.path) %} class="active"{% endif
%}><a href="{{ item.path|url }}">{{ item.label }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</nav>
<div class="body-wrapper">
{% block outerbody %}
<div class="container">
{% block body %}{% endblock %}
</div>
{% endblock %}
</div>
{% block bottomsummary %}
<div class="bottomsummary">
<div class="container">
</div>
</div>
{% endblock %}
{% block footer %}
<footer>
<div class="container">
<div class="row">
2015-12-20 21:37:07 +01:00
<div class="col-sm-6 icon-bar">
<a href="https://github.com/lektor/lektor/" title="Lektor on Github"
><i class="fa fa-github"></i></a>
<a href="https://github.com/lektor/lektor/issues/" title="Report Issues for Lektor"
><i class="fa fa-bug"></i></a>
<a href="https://twitter.com/getlektor" title="Find Lektor on Twitter"
><i class="fa fa-twitter"></i></a>
2015-12-23 10:20:38 +01:00
<a href="https://gitter.im/lektor/lektor" title="Chat on Gitter"
><i class="fa fa-comment"></i></a>
2015-12-20 21:37:07 +01:00
{%- if this.path %}
<a href="https://github.com/lektor/lektor-website/tree/master/content{{ this.path
}}/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
{%- endif %}
2015-12-19 14:52:17 +01:00
</div>
<div class="col-sm-6">
2015-12-20 21:37:07 +01:00
<a href="{{ '/license'|url }}">License</a>
<a href="{{ '/contact'|url }}">Contact</a>
Made with <i class="fa fa-fw fa-heart" title="Heart"><span hidden>Heart</span></i> in Carinthia
2015-12-19 14:52:17 +01:00
</div>
</div>
</div>
</footer>
{% endblock %}
<script type=text/javascript src="{{ '/static/app.js'|asseturl }}" charset="utf-8"></script>
<script>
2015-12-30 00:23:33 +01:00
((window.gitter = {}).chat = {}).options = {
room: 'lektor/lektor',
activationElement: null
};
document.write('<button class="js-gitter-toggle-chat-button">Toggle Chat</button>');
2015-12-19 14:52:17 +01:00
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-70822533-1', 'auto');
ga('send', 'pageview');
</script>
2015-12-20 00:31:49 +01:00
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
2015-12-30 00:23:33 +01:00
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
2015-12-19 14:52:17 +01:00
</body>