From 5b476f8905f411768e23cb01d577a60e5a5fd725 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 12:43:22 +0200 Subject: chore: extract theme into git submodule (danix2-hugo-theme) --- .../layouts/partials/hamburger-menu.html | 125 --------------------- 1 file changed, 125 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html (limited to 'themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html') diff --git a/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html b/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html deleted file mode 100644 index 5d8d8ed..0000000 --- a/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html +++ /dev/null @@ -1,125 +0,0 @@ - -
-
- -
- Menu - -
- - - - - -
- - - - -
- -
- - -
- {{ i18n "noSearchResults" }} -
-
- - -
-
{{ i18n "language" }}
-
- {{ $currentLang := .Page.Language }} - {{ $currentPath := .RelPermalink }} - {{ range .Site.Languages }} - {{ $langCode := .Lang }} - {{ $langName := .LanguageName }} - {{ $current := eq $langCode $currentLang }} - - {{ $url := $currentPath }} - {{ if eq $langCode "en" }} - {{ if hasPrefix $currentPath "/it/" }} - {{ $url = strings.TrimPrefix "/it" $currentPath }} - {{ end }} - {{ else }} - {{ if not (hasPrefix $currentPath "/it/") }} - {{ $url = printf "/it%s" $currentPath }} - {{ end }} - {{ end }} - - {{ $langName }} - - {{ end }} -
-
- -
-
- - -- cgit v1.2.3