Files
hugo/layouts/_default/single.html
T
Ryan Watters d5b49fe3c4 Fix toc
2017-03-02 15:36:43 -06:00

24 lines
729 B
HTML

{{ define "main" }}
{{$title := .Title}}
<span id="page-top"></span>
<main class="main">
<article class="content" id="{{.Title | urlize}}">
<header class="content-header">
{{- partial "breadcrumb.html" . -}}
{{- partial "page-title.html" . -}}
{{- partial "content-header-links.html" . -}}
{{- partial "tags.html" . -}}
<!-- temporary WIP badge; should be removed before site launch -->
<!-- {{- if .Params.wip -}}
<div id="beingreviewed">WIP</div>
{{- end -}} -->
{{ $title := .Title }}
</header>
<div class="body-copy" data-section={{.Section | urlize}}>
{{.Content}}
</div>
{{- partial "content-footer.html" . -}}
</article>
</main>
{{- partial "table-of-contents.html" . -}}
{{ end }}