hackertours/themes/hackertours-40c3/layouts/_partials/logo-40c3.html
Stefan Bethke c18375eeba 40C3: site structure and 40C3 theme
Move the Hackertours design into a stacked theme (hackertours) on top of
upstream zen, and add the 40C3 design as theme layer hackertours-40c3.
Adds the tour map, calendar/ICS and list view for the schedule, mobile
menu fixes, vendored icons and Leaflet, schedule tests, and README
documentation.
2026-11-14 20:54:06 +01:00

10 lines
519 B
HTML

{{- /*
40C3 text logo, picked to suit the colour scheme: green on dark, dark text colour on light.
Params: class (optional, on the picture element).
*/ -}}
{{- $light := resources.Get "img/40c3/logo-text-b.svg" -}}
{{- $dark := resources.Get "img/40c3/logo-text-0.svg" -}}
<picture{{ with .class }} class="{{ . }}"{{ end }}>
<source srcset="{{ $dark.RelPermalink }}" media="(prefers-color-scheme: dark)">
<img src="{{ $light.RelPermalink }}" alt="40C3 MODEL_CITIZENS" width="138" height="71" loading="lazy">
</picture>