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

View File

@@ -154,7 +154,7 @@
{{ partial "article-pagination.html" . }}
{{ if .Params.showComments | default (.Site.Params.article.showComments | default false) }}
{{ if templates.Exists "comments.html" }}
{{ if templates.Exists "partials/comments.html" }}
<div class="pt-3">
<hr class="border-dotted border-neutral-300 dark:border-neutral-600" />
<div class="pt-3">