Add "partials/" to static templates.Exists

This commit is contained in:
Ryan Gibson
2025-04-11 16:22:04 -04:00
parent baaf251bde
commit 6cfea9bfd1
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -85,7 +85,7 @@
{{ partial "badge.html" (i18n "article.draft" | emojify) }}
</div>
{{ end }}
{{ if templates.Exists "extend-article-link.html" }}
{{ if templates.Exists "partials/extend-article-link.html" }}
{{ partial "extend-article-link.html" . }}
{{ end }}
</div>