mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-09-18 10:23:22 +00:00
It's a beautiful thing. A thousand thanks, Bud. See PR rdwatters/hugo-docs-concept#118
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
{{/* <!-- {{ define "header" }}{{ partial "page-header" . }}{{ end }} --> */}}
|
|
|
|
{{ define "main" }}
|
|
<article class="w-100 ph4 pb5 pb6-ns pt1 pt5-ns">
|
|
<div class="flex-l">
|
|
|
|
<div class="order-2 w-100 w-20-l ph5-m ph0-l mb4 sticky">
|
|
{{- partial "toc.html" . -}}
|
|
</div>
|
|
|
|
<div class="order-1 w-60-l mw7 ph0 ph5-ns mid-gray nested-copy-line-height no-underline nested-links nested-img nested-copy-seperator nested-blockquote mt0-ns" style="flex-grow:1;">
|
|
<div class="documentation-copy center measure-wide-l">
|
|
<div id="readout" class="fixed right-0 bottom-0">
|
|
</div>
|
|
{{ .Render "page" }}
|
|
</div>
|
|
</div>
|
|
<div class="order-0 w-20 dn db-l">
|
|
{{ partial "nav-links-docs.html" . }}
|
|
</div>
|
|
|
|
</div>
|
|
</article>
|
|
|
|
<div class="w-100 bg-light-gray">
|
|
<div class="mw7 pa4 center nested-lh-copy lh-copy">
|
|
{{ partial "docs/page-meta-data.html" . }}
|
|
{{ partial "page-edit.html" . }}
|
|
{{ partial "tags.html" . }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ph4 mb6 mb0-ns pa2 pa4-ns bg-light-gray flex flex-wrap justify-between">
|
|
{{- partial "previous-next-links" . -}}
|
|
</div>
|
|
|
|
{{ end }}
|