diff --git a/assets/css/2_main.css b/assets/css/2_main.css index 10a04fd9..a7e4831c 100644 --- a/assets/css/2_main.css +++ b/assets/css/2_main.css @@ -168,9 +168,26 @@ header { padding-bottom: var(--s-3); } -header .logo { +.logo-ecoindex { + font-size: 1.7rem; + font-weight: 500; + line-height: 2rem; padding-left: calc(var(--s4) / 2); padding-right: calc(var(--s4) / 2); + text-decoration: none; + text-rendering: geometricPrecision; + white-space: nowrap; +} +.logo-ecoindex__eco, +.logo-ecoindex__index { + padding: 0.1rem 0.5rem; +} +.logo-ecoindex__eco { + padding-left: 0; +} +.logo-ecoindex__index { + background-color: var(--color-light); + color: var(--color-primary); } .header-container { diff --git a/assets/images/logo.png b/assets/images/logo.png new file mode 100644 index 00000000..61576187 Binary files /dev/null and b/assets/images/logo.png differ diff --git a/assets/images/logo.svg b/assets/images/logo.svg deleted file mode 100644 index 050b6daf..00000000 --- a/assets/images/logo.svg +++ /dev/null @@ -1 +0,0 @@ -ecoIndex \ No newline at end of file diff --git a/layouts/partials/head/meta_custom.html b/layouts/partials/head/meta_custom.html new file mode 100644 index 00000000..6f893f96 --- /dev/null +++ b/layouts/partials/head/meta_custom.html @@ -0,0 +1,4 @@ +{{ template "_internal/opengraph.html" . }} +{{ $image := resources.Get "images/logo.png" }} +{{ $image = $image.Resize "1200x jpg q40" }} + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c40f3160..edf963e2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,10 +14,9 @@