indent for page

This commit is contained in:
xaoxuu 2022-05-29 13:42:34 +08:00
parent 55bae1ceb8
commit 3d4800458b
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ function layoutTitle() {
%> %>
<% if (page.h1 || page.title || (page.content && page.content.length > 0)) { %> <% if (page.h1 || page.title || (page.content && page.content.length > 0)) { %>
<%- partial('_partial/main/navbar/breadcrumb') %> <%- partial('_partial/main/navbar/breadcrumb') %>
<article class='content md <%- page.layout %><%- scrollreveal() %>'> <article class='content md <%- page.layout %><%- page.indent ? ' indent' : '' %><%- scrollreveal() %>'>
<%- layoutTitle() %> <%- layoutTitle() %>
<% if (page.content && page.content.length > 0) { %> <% if (page.content && page.content.length > 0) { %>
<%- page.content %> <%- page.content %>