Files
HugoBlox-kit/layouts/_default/baseof.html
T
George Cushen 0810ee024f feat: enable pages to be edited on GitHub
`edit_page` option can be added to `params.toml`. For example,
`edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", editable = {docs = true}}`

Currently works for GitHub repos and pages using the `docs` layout.
2019-07-08 13:13:32 +01:00

26 lines
609 B
HTML

<!DOCTYPE html>
<html lang="{{ site.LanguageCode | default "en-us" }}">
{{ partial "site_head.html" . }}
<body id="top" data-spy="scroll" data-target="{{ if or .IsHome (eq .Type "widget_page") }}#navbar-main{{else}}#TableOfContents{{end}}" data-offset="70" {{ if not (.Scratch.Get "light") }}class="dark"{{end}}>
{{ partial "search" . }}
{{ partial "navbar.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "site_js.html" . }}
{{ if ne .Type "docs" }}
<div class="container">
{{ partial "site_footer.html" . }}
</div>
{{ end }}
{{ partial "citation.html" . }}
</body>
</html>