blog/themes/typing/layout/layout.ejs

24 lines
571 B
Plaintext
Raw Normal View History

2018-09-10 09:21:59 +00:00
<%- partial('_partial/head') %>
<%/* set /about page to use "home" page layout */%>
<% if (is_current('about/index.html')) { %>
2018-09-10 09:21:59 +00:00
<% if (theme.dark) { %>
<body class="home-body dark">
<% } else { %>
<body class="home-body">
<% } %>
<% } else {%>
<% if (theme.dark) { %>
<body class="dark">
<% } else { %>
<body>
<% } %>
<% } %>
<div id="container" class="container">
<%- body %>
</div>
<%- partial('_partial/footer') %>
<%- partial('_partial/after-footer') %>
</div>
</body>
</html>