forked from Frontend/Homepage
Merge pull request 'Minor-Maintenance' (#62) from maintenance into main
Reviewed-on: Frontend/Homepage#62
This commit is contained in:
commit
6669387f75
|
@ -130,7 +130,7 @@ die sie schreiben.
|
|||
—
|
||||
{{< value "chat" "matrix_server" >}}
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-2 centered">
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{{- $section := default (.Get 0) (.Get "section") -}}
|
||||
{{- $key := default (.Get 1) (.Get "key") -}}
|
||||
{{- $value := index $.Site.Data.values $section $key -}}
|
||||
{{- if not $section }}
|
||||
{{- errorf "missing parameter 'section': %s" .Position }}
|
||||
{{- end }}
|
||||
{{- $key := default (.Get 1) (.Get "key") -}}
|
||||
{{- if not $key }}
|
||||
{{- errorf "missing parameter 'key': %s" .Position }}
|
||||
{{- end }}
|
||||
{{- $value := index $.Site.Data.values $section $key }}
|
||||
{{- if not $value }}
|
||||
{{- errorf "missing, empty or null value at 'values/%s.%s': %s" $section $key .Position }}
|
||||
{{- end }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1b0d627204800894bdaa486fd931a84293502d7c
|
||||
Subproject commit 663cc39d4cb51e6c6b25983967363f93d717145a
|
Loading…
Reference in New Issue