summaryrefslogtreecommitdiff
path: root/layouts/_partials/components/logo.html
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
committereltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
commit10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch)
tree62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/_partials/components/logo.html
parent3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff)
chore: move templates out of site repo
Diffstat (limited to 'layouts/_partials/components/logo.html')
-rw-r--r--layouts/_partials/components/logo.html18
1 files changed, 0 insertions, 18 deletions
diff --git a/layouts/_partials/components/logo.html b/layouts/_partials/components/logo.html
deleted file mode 100644
index 88c2284e..00000000
--- a/layouts/_partials/components/logo.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{{ $ctx := .ctx }}
-{{ $link := .link | default "" }}
-{{- $src :=
- (or .ctx.Params.logo
- (printf "%s%s"
- (.ctx.Site.Params.assetBaseUrl)
- (.ctx.Site.Params.logo)))
--}}
-{{ $class := .class | default "" }}
-{{ $imageClass := .imageClass | default "" }}
-
-<a href="{{ $ctx.Site.LanguagePrefix }}/{{ $link }}"
- class="title-image-container {{ $class }}">
- <img src="{{ $src }}" alt="Logo"
- class="dark:invert title-image {{ $imageClass }}"
- style="view-transition-name: title-image"
- />
-</a>