2025-2-26-fixed
This commit is contained in:
18
themes/fluid/layout/page.ejs
Normal file
18
themes/fluid/layout/page.ejs
Normal 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') %>
|
||||
<% } %>
|
||||
Reference in New Issue
Block a user