mirror of https://github.com/onweru/compose.git

weru
24.02.2020 570120b3768d42701aaaf0a4057f11420ce08109
update
4 files modified
14 ■■■■ changed files
layouts/_default/baseof.html 10 ●●●● patch | view | raw | blame | history
layouts/partials/document.html 2 ●●● patch | view | raw | blame | history
layouts/partials/footer.html patch | view | raw | blame | history
layouts/partials/head.html 2 ●●● 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
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" }}