This commit is contained in:
mei
2024-11-16 11:34:10 +08:00
parent d05d322538
commit 16fd822492
485 changed files with 22551 additions and 131 deletions
+18
View File
@@ -0,0 +1,18 @@
<%
var layout = page.layout
page.title = page.title || __(`${ layout }.title`)
page.subtitle = page.subtitle || page.title || __(`${ layout }.subtitle`)
page.banner_img = page.banner_img || theme.page.banner_img
page.banner_img_height = page.banner_img_height || theme.page.banner_img_height
page.banner_mask_alpha = page.banner_mask_alpha || theme.page.banner_mask_alpha
%>
<article class="page-content">
<%- page.content %>
<%- inject_point('pageComments') %>
</article>
<% if (/<[^>]+? class="[^"]*?markdown-body[^"]*?"/gims.test(page.content)) { %>
<%- partial('_partials/markdown-plugins') %>
<% } %>