snipt/blogs/templates/blogs/themes/default/base.html

79 lines
2.8 KiB
HTML
Raw Normal View History

2012-05-31 19:33:19 -07:00
{% extends "base.html" %}
{% block body-class %}blog-site{% endblock %}
2012-05-31 22:21:28 -07:00
{% block html-class %}blog-site{% endblock %}
2012-06-05 20:41:37 -07:00
{% block page-title %}{% if blog_user.username == 'nick' %}// Nick Sergeant {% elif blog_user.username == 'blog' %}// Snipt Blog{% else %}// {{ blog_user.username }}{% endif %}{% endblock %}
2012-05-31 19:33:19 -07:00
2012-05-31 22:21:28 -07:00
{% block page-description %}{% endblock %}
2012-05-31 19:33:19 -07:00
{% block rochester-made %}{% endblock %}
2012-06-05 16:57:19 -07:00
{% block keyboard-shortcuts %}{% endblock %}
{% block intercom %}{% endblock %}
2012-06-05 20:10:30 -07:00
{% block js %}
{{ block.super }}
window.blog_post = true;
{% endblock %}
2012-06-05 16:57:19 -07:00
{% block header %}
<header class="main">
<div class="inner group">
<h1>
<a href="/">
{% if blog_user.username == 'nick' %}
Nick Sergeant
{% elif blog_user.username == 'blog' %}
Snipt Blog
{% else %}
{{ blog_user.username }}
{% endif %}
</a>
</h1>
</div>
</header>
{% endblock %}
2012-06-05 21:53:02 -07:00
{% block sub-header %}
<header class="sub">
<div class="inner group">
<ul class="bcrumb">
<li class="prompt">//</li>
<li><a href="/">blog</a></li>
{% block breadcrumb %}{% endblock %}
<li class="rss">
<a href="/?rss">RSS</a>
</li>
</ul>
</div>
</header>
{% endblock %}
{% block aside %}
<aside class="main">
{% if sidebar %}
<section class="sidebar">
{{ sidebar.stylized|safe }}
2013-01-10 08:41:10 -08:00
{% if blog_user.username == 'rochacbruno' %}
<iframe style="border: 0; margin: 0; padding: 0;" src="https://www.gittip.com/rochacbruno/widget.html" width="48pt" height="22pt"></iframe>
{% endif %}
2012-06-05 21:53:02 -07:00
</section>
{% endif %}
<nav class="footer {% if sidebar %}with-sidebar{% endif %}">
<ul class="powered">
<li class="snipt"><a href="https://snipt.net/">Blog powered by Snipt</a></li>
</ul>
</nav>
</aside>
{% endblock %}
2012-08-09 12:58:25 -07:00
{% block analytics %}
{% if blog_user.username == 'rochacbruno' %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33970092-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{% endif %}
{% endblock %}