| layouts/_default/baseof.html | ●●●●● patch | view | raw | blame | history | |
| layouts/partials/document.html | ●●●●● patch | view | raw | blame | history | |
| layouts/partials/footer.html | ●●●●● patch | view | raw | blame | history | |
| layouts/partials/head.html | ●●●●● patch | view | raw | blame | history |
layouts/_default/baseof.html
@@ -1,20 +1,20 @@ <!doctype html> <html lang="{{ .Site.Language.Lang }}"> <head> {{- partial "head.html" . }} {{- partial "head" . }} </head> <body class="page-{{ .Kind }}"> <header class="nav_header"> {{- partial "nav.html" . }} {{- partial "nav" . }} </header> <main class="main wrap pt-4"> {{- if eq .Section "docs" }} {{- partial "document.html" . }} {{- partial "document" . }} {{- else }} {{- block "main" . }}{{ end }} {{- end }} </main> {{- partial "footer.html" . }} {{- partial "scripts.html" . }} {{- partial "footer" . }} {{- partial "scripts" . }} </body> </html> layouts/partials/document.html
@@ -1,6 +1,6 @@ <div class="grid-auto"> <div> {{- partial "sidebar.html" . }} {{- partial "sidebar" . }} </div> <section class="content"> <h1>{{ .Title }}</h1> layouts/partials/footer.html
@@ -1,7 +1,7 @@ {{ if .Site.Params.enableCopyright | default true }} <footer class="mt-2 pt-2 pb-2"> <div class="wrap"> <p>© {{ now.Year}} {{ .Site.Params.author }}</p> <p>© {{ now.Year }} {{ .Site.Params.author }}</p> </div> </footer> {{ end }} layouts/partials/head.html
@@ -14,7 +14,7 @@ <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title> {{- partial "opengraph.html" . }} {{- partial "opengraph" . }} {{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}} {{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}