Fix the IsSet warning when building the site

This commit is contained in:
Eryn Wells 2023-09-19 16:05:17 -07:00
parent 755de7d938
commit 77f6e16d9a
3 changed files with 22 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{{- $thumbnail := partial "photos/thumbnail.html" . -}}
{{- $thumbnail := partial "photos/thumbnail.html" (dict "Page" . "Width" nil "Height" nil) -}}
<entry>
{{ partial "atom_entry_metadata.xml" . }}
<link rel="enclosure" href="{{ $thumbnail.Permalink }}" type="{{ $thumbnail.MediaType }}" length="{{ len $thumbnail.Content }}" />