From d81ebda757393a75abf2f663108583a10abaa102 Mon Sep 17 00:00:00 2001 From: danix Date: Mon, 6 Feb 2023 10:49:18 +0100 Subject: [PATCH] removed unused layout templates. Cleanup on breadcrumbs. --- layouts/partials/breadcrumbs.html | 55 +++++++++++++------------ layouts/partials/home-social-links.html | 5 +-- layouts/post/single-baseof.html | 23 ----------- layouts/post/single.html | 5 --- 4 files changed, 30 insertions(+), 58 deletions(-) delete mode 100644 layouts/post/single-baseof.html delete mode 100644 layouts/post/single.html diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index fd8cc6b..995f7c0 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -1,28 +1,31 @@ -
    - {{- /* declare a 'variable' to store the each link position */}} - {{- $data := newScratch }} +
+ \ No newline at end of file diff --git a/layouts/partials/home-social-links.html b/layouts/partials/home-social-links.html index cb921a0..187053c 100644 --- a/layouts/partials/home-social-links.html +++ b/layouts/partials/home-social-links.html @@ -1,13 +1,10 @@ diff --git a/layouts/post/single-baseof.html b/layouts/post/single-baseof.html deleted file mode 100644 index 1253cd5..0000000 --- a/layouts/post/single-baseof.html +++ /dev/null @@ -1,23 +0,0 @@ - - - {{- partial "head.html" . -}} - -
- - {{- partial "header.html" . -}} - {{- partial "breadcrumbs.html" . -}} -
-
-
- {{- block "post-main" . }}{{- end }} -
-
- -
- {{- partial "footer.html" . -}} -
- - diff --git a/layouts/post/single.html b/layouts/post/single.html deleted file mode 100644 index 87a61c5..0000000 --- a/layouts/post/single.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ define "post-main" }} -
- {{ .Content }} -
-{{ end }} -- 2.20.1