[fix] render article footer in wiki pages (#460)

This commit is contained in:
calfzhou 2024-05-09 09:05:45 +08:00 committed by GitHub
parent bda705a5f4
commit a2e257f80a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function layoutDiv() {
if (page.content && page.content.length > 0) { if (page.content && page.content.length > 0) {
el += page.content el += page.content
} }
if (layout === 'post') { if (layout === 'post' || page.wiki) {
el += partial('_partial/main/article/article_footer') el += partial('_partial/main/article/article_footer')
} }
el += `</article>` el += `</article>`