about summary refs log tree commit diff stats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/foot_custom.html0
-rw-r--r--layouts/partials/footer.html9
-rw-r--r--layouts/partials/head_custom.html0
-rw-r--r--layouts/partials/header.html19
-rw-r--r--layouts/partials/hook_head_end.html2
5 files changed, 2 insertions, 28 deletions
diff --git a/layouts/partials/foot_custom.html b/layouts/partials/foot_custom.html
deleted file mode 100644
index e69de29..0000000
--- a/layouts/partials/foot_custom.html
+++ /dev/null
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
deleted file mode 100644
index 3f46ea5..0000000
--- a/layouts/partials/footer.html
+++ /dev/null
@@ -1,9 +0,0 @@
-  <footer>
-  {{ partial "foot_custom.html" . }}
-  {{ with .Site.Params.footer }}
-  <hr/>
-  {{ . | markdownify }}
-  {{ end }}
-  </footer>
-  </body>
-</html>
diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html
deleted file mode 100644
index e69de29..0000000
--- a/layouts/partials/head_custom.html
+++ /dev/null
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
deleted file mode 100644
index b3dbf64..0000000
--- a/layouts/partials/header.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ .Site.LanguageCode }}">
-  <head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <title>{{ .Title }} | {{ .Site.Title }}</title>
-    <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
-    {{ partial "head_custom.html" . }}
-  </head>
-
-  <body>
-    <nav>
-    <ul class="menu">
-      {{ range .Site.Menus.main }}
-      <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
-      {{ end }}
-    </ul>
-    <hr/>
-    </nav>
diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html
new file mode 100644
index 0000000..13e0ec6
--- /dev/null
+++ b/layouts/partials/hook_head_end.html
@@ -0,0 +1,2 @@
+<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
+<meta name="googlebot" content="noindex">