Fix partials/linkedContent

There was a forgotten debug constant
This commit is contained in:
Vojtěch Káně 2020-09-07 14:22:49 +02:00
parent ebc8a763a9
commit 96a0148a1f

View File

@ -15,7 +15,7 @@
{{- else if (eq $type "text") -}}
{{- .data -}}
{{- else if (eq $type "resource") -}}
{{- $resource := $.resources.GetMatch "fablab-experience.jpg" -}}
{{- $resource := $.resources.GetMatch .data -}}
<a href="{{ $resource.RelPermalink }}">{{ $desc }}</a>
{{- else -}}
{{- errorf "Unknown content type %s" $type -}}