From 570120b3768d42701aaaf0a4057f11420ce08109 Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Fri, 24 Apr 2020 13:03:00 +0000
Subject: [PATCH] update
---
layouts/_default/baseof.html | 10 +++++-----
layouts/partials/document.html | 2 +-
layouts/partials/head.html | 2 +-
layouts/partials/footer.html | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 3f00d3b..9c9b1bb 100644
--- a/layouts/_default/baseof.html
+++ b/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>
diff --git a/layouts/partials/document.html b/layouts/partials/document.html
index d9e3f5a..d7e5276 100644
--- a/layouts/partials/document.html
+++ b/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>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index dd2d222..2a34f4b 100644
--- a/layouts/partials/footer.html
+++ b/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 }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index eaa3260..05f5aa8 100644
--- a/layouts/partials/head.html
+++ b/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" }}
--
Gitblit v1.10.0