Skip to content

Commit

Permalink
fix: single page not working (#60)
Browse files Browse the repository at this point in the history
修复自定义页面无法正常渲染的问题。

/kind bug

Fixed #59 

```release-note
修复自定义页面无法正常渲染的问题。
```
  • Loading branch information
ruibaby authored Mar 20, 2023
1 parent 41dc24c commit c3c2d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div class="i-tabler-heart text-lg text-gray-600 hover:text-red-600 dark:text-slate-100"></div>
</div>
<a
th:if="${pluginFinder.available('PluginCommentWidget')} and ${post.spec.allowComment} and ${site.comment.enable}"
th:if="${pluginFinder.available('PluginCommentWidget')} and ${singlePage.spec.allowComment} and ${site.comment.enable}"
href="#comment"
class="cursor-pointer rounded-lg p-1 hover:bg-gray-100 dark:hover:bg-slate-600"
>
Expand Down

0 comments on commit c3c2d59

Please sign in to comment.