Fix the IsSet warning when building the site
This commit is contained in:
parent
755de7d938
commit
77f6e16d9a
3 changed files with 22 additions and 6 deletions
|
@ -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 }}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue