From 9ccf652c00457e46eaf46fc4cb8f6d0ee582c5ef Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 1 Oct 2021 14:32:43 +0200 Subject: Initial commit --- themes/hugo-whisper-theme/layouts/partials/hamburger.html | 5 +++++ themes/hugo-whisper-theme/layouts/partials/header.html | 12 ++++++++++++ .../layouts/partials/main-menu-mobile.html | 12 ++++++++++++ themes/hugo-whisper-theme/layouts/partials/main-menu.html | 12 ++++++++++++ themes/hugo-whisper-theme/layouts/partials/sidebar.html | 11 +++++++++++ themes/hugo-whisper-theme/layouts/partials/sub-footer.html | 13 +++++++++++++ 6 files changed, 65 insertions(+) create mode 100644 themes/hugo-whisper-theme/layouts/partials/hamburger.html create mode 100644 themes/hugo-whisper-theme/layouts/partials/header.html create mode 100644 themes/hugo-whisper-theme/layouts/partials/main-menu-mobile.html create mode 100644 themes/hugo-whisper-theme/layouts/partials/main-menu.html create mode 100644 themes/hugo-whisper-theme/layouts/partials/sidebar.html create mode 100644 themes/hugo-whisper-theme/layouts/partials/sub-footer.html (limited to 'themes/hugo-whisper-theme/layouts/partials') diff --git a/themes/hugo-whisper-theme/layouts/partials/hamburger.html b/themes/hugo-whisper-theme/layouts/partials/hamburger.html new file mode 100644 index 0000000..a6d7de9 --- /dev/null +++ b/themes/hugo-whisper-theme/layouts/partials/hamburger.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/themes/hugo-whisper-theme/layouts/partials/header.html b/themes/hugo-whisper-theme/layouts/partials/header.html new file mode 100644 index 0000000..5f2c1f3 --- /dev/null +++ b/themes/hugo-whisper-theme/layouts/partials/header.html @@ -0,0 +1,12 @@ +
+
+ +
+ Logo +
+ {{ partial "main-menu.html" . }} + {{ partial "hamburger.html" . }} +
+
diff --git a/themes/hugo-whisper-theme/layouts/partials/main-menu-mobile.html b/themes/hugo-whisper-theme/layouts/partials/main-menu-mobile.html new file mode 100644 index 0000000..5211ea7 --- /dev/null +++ b/themes/hugo-whisper-theme/layouts/partials/main-menu-mobile.html @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/themes/hugo-whisper-theme/layouts/partials/main-menu.html b/themes/hugo-whisper-theme/layouts/partials/main-menu.html new file mode 100644 index 0000000..7ea303c --- /dev/null +++ b/themes/hugo-whisper-theme/layouts/partials/main-menu.html @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/themes/hugo-whisper-theme/layouts/partials/sidebar.html b/themes/hugo-whisper-theme/layouts/partials/sidebar.html new file mode 100644 index 0000000..dd1404d --- /dev/null +++ b/themes/hugo-whisper-theme/layouts/partials/sidebar.html @@ -0,0 +1,11 @@ +{{$currentNode := .}} +
+

{{ .Section | humanize }}

+ +
diff --git a/themes/hugo-whisper-theme/layouts/partials/sub-footer.html b/themes/hugo-whisper-theme/layouts/partials/sub-footer.html new file mode 100644 index 0000000..b9c51a9 --- /dev/null +++ b/themes/hugo-whisper-theme/layouts/partials/sub-footer.html @@ -0,0 +1,13 @@ + -- cgit v1.2.3