themes/stevelosh/layouts/partials/header.html @ ceb68ee2312a

Start new post, continue work on expunging JS
author Steve Losh <steve@stevelosh.com>
date Wed, 25 Jul 2018 22:32:23 +0000
parents a94c8ec4eb98
children (none)
<!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 defer src="/media/js/sjl.js" type="text/javascript"></script>

        {{ if .Params.lightbox }}
            <script defer src="/media/js/jquery.js" type="text/javascript"></script>
            <script defer src="/media/js/featherlight.min.js" type="text/javascript" charset="utf-8"></script>
            <script defer src="/media/js/featherlight.gallery.min.js" type="text/javascript" charset="utf-8"></script>
            <link href="/media/css/featherlight.min.css" type="text/css" rel="stylesheet" />
            <link href="/media/css/featherlight.gallery.min.css" type="text/css" rel="stylesheet" />
        {{ end }}

        {{ if .Params.mathjax }}
            <script defer src="/media/js/jquery.js" type="text/javascript"></script>
            <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 }}
    </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="/photography/">Photography</a>
                    <span class="sep">-</span>
                    <a href="/links">Links</a>
                    <span class="sep">-</span>
                    <a href="http://feeds2.feedburner.com/stevelosh">Feed</a>
                </nav>
            </div>

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

            <div class="content">