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
1 changed files with 3 additions and 1 deletions

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>