Skip to content

Commit

Permalink
[fix] render article footer in wiki pages (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
calfzhou authored May 9, 2024
1 parent bda705a commit a2e257f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/page.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function layoutDiv() {
if (page.content && page.content.length > 0) {
el += page.content
}
if (layout === 'post') {
if (layout === 'post' || page.wiki) {
el += partial('_partial/main/article/article_footer')
}
el += `</article>`
Expand Down

0 comments on commit a2e257f

Please sign in to comment.