dcd-templates / base.html

{% extends "_base.html" %}
<!DOCTYPE html>{% load mango %}
<html xmlns="">
<head>{% block head %}{{ block.super }}{% block stylesheets %}{% endblock %}
    <link rel="shortcut icon" type="image/x-icon" href="" />
    <script src=""></script>
    <script>try{Typekit.load();}catch(e){}</script>{% endblock %}
<body>{% block body %}
    <div id="skip">
        <a href="#main">Skip to main content</a>
    <div id="wrap">
        <div id="header">
            <header>{% url mango.views.index as path %}{% if request.path == path %}
                <h1 id="title">{{ SITE_TITLE }}</h1>{% else %}
                <a id="title" href="{{ path }}">{{ SITE_TITLE }}</a>{% endif %}
                <hr />
                <p>It's where I share interesting info with other web geeks</p>
                <form action="{% url %}">
                        <label for="query">Search</label>
                        <input type="search" id="query" name="query"{% if terms %} value="{{ terms|to_query_string }}"{% endif %} />
                        <input type="submit" value="Search" />
                <nav id="nav">
                        <li><a href="/about/"><span><strong>About.</strong> Who I am and what I do.</span></a></li>
                        <li><a href="{% url %}"><span><strong>Contact.</strong> Just in case you want to get in touch.</span></a></li>
                        <li><a href="{% url mango.views.archives %}"><span><strong>Archives.</strong> Old posts, recent posts, they're all here.</span></a></li>
                        <li><a href="{% url mango.views.tags %}"><span><strong>Tags.</strong> Helpful if you're after posts on a particular topic.</span></a></li>
                        <li><a href=""><span><strong>Bitbucket.</strong> Home to most of my open-source projects.</span></a></li>
                        <li><a href="/twitter/"><span><strong>Twitter.</strong> It's where I chirrup… or chirp… or something.</span></a></li>{% if request|internal %}
                        <li><a href="{% url mango.handlers.flush_cache %}"><span><strong>Flush cache.</strong></span></a></li>{% endif %}
        <div id="main">
{% block content %}
{% endblock %}
        <p>Powered by <a href="" data-version="{{ VERSION }}">Mango</a>. Hosted on <a href="">Linode</a>. Original content <a href="{% url copying %}">WTFPL-licensed</a>.</p>
    </footer>{% block scripts %}{% for script in scripts %}
    {{ script }}{% endfor %}{% endblock %}
        window.SyntaxHighlighter &&
        SyntaxHighlighter.brushes &&
        SyntaxHighlighter.brushes.AppleScript &&
    </script>{% block analytics %}{{ block.super }}{% endblock %}
    <!-- Generated by Mango -->{% endblock %}