themes/stevelosh/layouts/partials/header.html @ 696be47e585d

MathJaxpocalypse
author Steve Losh <steve@stevelosh.com>
date Mon, 10 Apr 2017 16:10:41 +0000
parents 78b32a9a02c3
children 88e1e358f431
<!DOCTYPE html>
<html>
    <head>
        <link rel="profile" href="http://microformats.org/profile/hcard" />
        <meta charset="utf-8">

        <title>
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ if not (or (eq $url "/") (eq $url "")) }}
    {{ if .Params.heading }}
        {{ .Params.heading }}
    {{ else }}
        {{ .Title }}
    {{ end }}
    /
{{ end }}
{{ .Site.Title }}
        </title>

        <link href="http://feeds2.feedburner.com/stevelosh"
              rel="alternate" title="Steve Losh"
              type="application/atom+xml" />

        <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" />
        <link rel="stylesheet" href="/media/css/pygments-clean.css" type="text/css" media="screen" charset="utf-8" />

        <script src="/media/js/jquery.js" type="text/javascript"></script>
        <script src="/media/js/jquery.timeago.js" type="text/javascript"></script>
        <script src="/media/js/sjl.js" type="text/javascript"></script>
        <script src="/media/js/print.js" type="text/javascript"></script>

        {{ if .Params.mathjax }}
        <script type="text/javascript" async
            src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
        </script>
        {{ end }}

        <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="/links">Links</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">