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.
This commit is contained in:
parent
b644e8dce2
commit
c18375eeba
1 changed files with 16014 additions and 90 deletions
10
themes/hackertours-40c3/layouts/_partials/logo-40c3.html
Normal file
10
themes/hackertours-40c3/layouts/_partials/logo-40c3.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{{- /*
|
||||
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>
|
||||
Loading…
Reference in a new issue