hexo-theme-stellar/layout/wiki.ejs

28 lines
652 B
Plaintext
Raw Normal View History

2021-02-19 23:33:19 +08:00
<%
if (page.class == undefined) {
page.class = 'wiki';
}
if (page.layout == undefined) {
page.layout = 'index';
}
if (page.title == undefined) {
page.title = 'Wiki';
}
%>
<% if (page.layout == 'index') { %>
<%- partial('index') %>
<% } else { %>
2021-02-20 13:09:41 +08:00
<%
if (page.header == undefined) {
page.header = false;
}
%>
<%- partial('_partial/main/navbar/breadcrumb') %>
2021-02-19 23:33:19 +08:00
<article class='content md <%- page.layout %>'>
<h1 class='article-title'><span><%- page.h1 || page.title %></span></h1>
<%- page.content %>
</article>
2021-02-20 13:09:41 +08:00
<%- partial('_partial/main/article/read_next') %>
2021-02-19 23:33:19 +08:00
<%- partial('_partial/plugins/comments/layout') %>
<% } %>