layout/skeleton/_base.html @ 47f9b4b91599

Permutation patterns
author Steve Losh <steve@stevelosh.com>
date Thu, 10 Dec 2015 19:53:35 +0000
parents c5f5f1d86f24
children d6bebd8d9778
{% extends "skeleton/_root.html" %}
{% block all %}
<!DOCTYPE html>
<html>
    <head>
        <link href='http://fonts.googleapis.com/css?family=OFL+Sorts+Mill+Goudy+TT:regular,italic' rel='stylesheet' type='text/css' />
        <link rel="profile" href="http://microformats.org/profile/hcard" />
        <meta charset="utf-8">

        <title>{% block title %}{% block extra_title %}{% endblock %}{{ page.title|safe }} / {{ site.name }}{% endblock %}</title>

        {% block feeds %}
            <link href="http://feeds2.feedburner.com/stevelosh"
                  rel="alternate" title="{{ site.name }}"
                  type="application/atom+xml" />
        {% endblock %}

        {% block css %}
            <link rel="stylesheet" href="/media/css/aal.css"      type="text/css" media="screen" charset="utf-8" />
            <link rel="stylesheet" href="/media/css/sjl.css"      type="text/css" media="screen" charset="utf-8" />
            <link rel="stylesheet" href="/media/css/print.css"    type="text/css" media="print" charset="utf-8" />
            {% block extra_css %}{% endblock %}
        {% endblock %}

        {% block js %}
            <script data-cfasync="false" src="/media/js/jquery.js" type="text/javascript"></script>
            <script data-cfasync="false" src="/media/js/jquery.timeago.js" type="text/javascript"></script>
            <script data-cfasync="false" src="/media/js/sjl.js" type="text/javascript"></script>
            <script data-cfasync="false" src="/media/js/print.js" type="text/javascript"></script>
            <script data-cfasync="false" type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

            {% block extra_js %}{% endblock %}
        {% endblock %}

        <link rel="openid.server" href="http://www.myopenid.com/server" />
        <link rel="openid.delegate" href="http://stevelosh.myopenid.com/" />

        <script type="text/javascript">
          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-15328874-2']);
          _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>

    </head>

    <body>
        <div class="wrap">
            <div class="top group">
                <header>
                    <a href="/">steve losh</a>
                </header>

                <nav>
                    <a href="/blog/">Blog</a>
                    <span class="sep">-</span>
                    <a href="/projects">Projects</a>
                    <span class="sep">-</span>
                    <a href="/about/">About</a>
                    <span class="sep">-</span>
                    <a href="http://feeds2.feedburner.com/stevelosh">Feed</a>
                </nav>
            </div>

            <div class="hr">&nbsp;</div>

            <div class="content">
                {% with page.node.ancestors|last as parent_node %}
                    {% with parent_node.url as parent_url %}
                        {% block content %}{% endblock %}
                    {% endwith %}
                {% endwith %}
            </div>

            <div class="hrb">&nbsp;</div>

            <footer>
                <p>
                    I'm also on
                    <a href="https://bitbucket.org/sjl/">Bitbucket</a>,
                    <a href="https://github.com/sjl/">GitHub</a>,
                    <a href="https://twitter.com/stevelosh/">Twitter</a>,
                    <a href="https://instagram.com/thirtytwobirds/">Instagram</a>,
                    and
                    <a href="http://500px.com/stevelosh/">500px</a>.
                </p>

                <a class="rochester-made" href="http://rochestermade.com" title="Rochester Made"><img src="http://rochestermade.com/media/images/rochester-made-dark-on-light.png" alt="Rochester Made" title="Rochester Made" /></a>
            </footer>
        </div>
    </body>
</html>
{% endblock %}