themes/stevelosh/layouts/blog/single.html @ fdf01e99fd51

Hugo's TOC support is fucked, reimplement in JS

God is dead.
author Steve Losh <steve@stevelosh.com>
date Mon, 10 Oct 2016 14:26:27 +0000
parents e7bc59b9ebda
children a94c8ec4eb98
{{ partial "header.html" . }}

    <div id="leaf-title">
        <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
    </div>


    <div id="leaf-stats" class="group">
        <p>
            Posted
            <span class="timeago"
                  title="{{ .Date.Format .Site.Params.DateFormFull }}">
            </span>
            on {{ .Date.Format .Site.Params.DateForm }}.
        </p>
    </div>

    <div id="leaf-toc">
        {{ .TableOfContents }}
    </div>

    <div id="leaf-content" class="">
        {{ .Content }}
    </div>

{{ partial "footer.html" . }}