From a1e89a94954a218e2b9019922c418cf69d92b243 Mon Sep 17 00:00:00 2001 From: AucT Date: Tue, 10 Sep 2024 18:55:24 +0300 Subject: [PATCH] convert logo to svg use class and inline style for logo svg --- themes/beaver/layouts/_default/baseof.html | 772 +++++++++--------- themes/beaver/static/img/icons/logo-dark.svg | 8 + themes/beaver/static/img/icons/logo-white.svg | 8 + 3 files changed, 402 insertions(+), 386 deletions(-) create mode 100644 themes/beaver/static/img/icons/logo-dark.svg create mode 100644 themes/beaver/static/img/icons/logo-white.svg diff --git a/themes/beaver/layouts/_default/baseof.html b/themes/beaver/layouts/_default/baseof.html index 3e4232161..bdf0fd349 100644 --- a/themes/beaver/layouts/_default/baseof.html +++ b/themes/beaver/layouts/_default/baseof.html @@ -1,386 +1,386 @@ - - - - - - - - {{ .Title }} - - - - {{ if and (eq .Kind "taxonomy") (eq .Section "tags") }} - {{ $canonical := .Permalink | replace "/tags/" "/blog/tags/" }} - - {{ else }} - - {{ end }} - - - {{ if and (eq .Section "blog") (eq .Kind "page") }} - - {{ else }} - - {{ end }} - - - - - - - - - - - - - - - - - - - - {{ with .Page.Resources.GetMatch .Page.Params.metatags.image }} - - - - - - {{ end }} - - - - - {{ block "header" . }} {{ end }} - - - - - - - - - - - - -Skip to content -
- - - -{{ block "main" . }} -{{ end }} - - - -
- -{{ block "footer" . }} -{{ end }} -{{ partial "page/site-scripts" . }} - - - + + + + + + + + {{ .Title }} + + + + {{ if and (eq .Kind "taxonomy") (eq .Section "tags") }} + {{ $canonical := .Permalink | replace "/tags/" "/blog/tags/" }} + + {{ else }} + + {{ end }} + + + {{ if and (eq .Section "blog") (eq .Kind "page") }} + + {{ else }} + + {{ end }} + + + + + + + + + + + + + + + + + + + + {{ with .Page.Resources.GetMatch .Page.Params.metatags.image }} + + + + + + {{ end }} + + + {{ block "header" . }} {{ end }} + + + + + + + + + + + + +Skip to content +
+ + + +{{ block "main" . }} +{{ end }} + + + +
+ +{{ block "footer" . }} +{{ end }} +{{ partial "page/site-scripts" . }} + + + diff --git a/themes/beaver/static/img/icons/logo-dark.svg b/themes/beaver/static/img/icons/logo-dark.svg new file mode 100644 index 000000000..23e0ca2e7 --- /dev/null +++ b/themes/beaver/static/img/icons/logo-dark.svg @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/themes/beaver/static/img/icons/logo-white.svg b/themes/beaver/static/img/icons/logo-white.svg new file mode 100644 index 000000000..f6276a2df --- /dev/null +++ b/themes/beaver/static/img/icons/logo-white.svg @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file