chore: normalize mixed casing of code block lang and theme parameters (#647)

This commit is contained in:
Robert Kaussow 2023-06-22 09:45:54 +02:00 committed by GitHub
parent 4b6ba3a53f
commit 23128a3dfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 79 additions and 77 deletions

View file

@ -1,7 +1,7 @@
{{- $source := ($.Page.Resources.ByType "image").GetMatch (printf "%s" (.Get "name")) }}
{{- $customAlt := .Get "alt" }}
{{- $customSize := .Get "size" | lower }}
{{- $lazyLoad := default (default true $.Site.Params.GeekdocImageLazyLoading) (.Get "lazy") }}
{{- $lazyLoad := default (default true $.Site.Params.geekdocImageLazyLoading) (.Get "lazy") }}
{{- $data := newScratch }}
{{- with $source }}