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.
10 lines
519 B
HTML
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>
|