diff --git a/layouts/partials/header/fixed.html b/layouts/partials/header/fixed.html index e2598f49..4e0b56a4 100644 --- a/layouts/partials/header/fixed.html +++ b/layouts/partials/header/fixed.html @@ -1,145 +1,14 @@
- -
-
- {{ if .Site.Params.Logo -}} - {{ $logo := resources.Get .Site.Params.Logo }} - {{ if $logo }} -
- - {{ .Site.Title | markdownify | emojify }} - - {{ .Site.Title }} - - -
- {{ end }} - {{- end }} -
- - -
- - - - {{ partial "translations.html" . }} - - {{ if .Site.Params.enableSearch | default false }} - - {{ end }} - - {{/* Appearance switch */}} - {{ if .Site.Params.footer.showAppearanceSwitcher | default false }} - - {{ end }} - -
-
-
- - -
-
-
+ +
+ {{ partial "partials/header/basic.html" . }} +
\ No newline at end of file + window.addEventListener('scroll', function (e) { + var scroll = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0; + var background_blur = document.getElementById('menu-blur'); + background_blur.style.opacity = (scroll / 300); + }); +