[fix] render article footer in wiki pages (#460)
This commit is contained in:
parent
bda705a5f4
commit
a2e257f80a
|
@ -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>`
|
||||
|
|
Loading…
Reference in New Issue