Fix ".File.Path on a zero object" when there are drafted series

This commit is contained in:
BBaoVanC 2021-11-23 18:07:03 -06:00
parent e9d8efce44
commit 1380558384
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -16,5 +16,7 @@
{{ end }}
{{ partial "post-meta-item/translations.html" . }}
{{ partial "post-meta-item/viewsource.html" . }}
{{ if .File }}
{{ partial "post-meta-item/viewsource.html" . }}
{{ end }}
</div>