blog/themes/typing/layout/layout.ejs

23 lines
496 B
Plaintext
Raw Normal View History

2018-09-10 09:21:59 +00:00
<%- partial('_partial/head') %>
<% if (is_home()) { %>
<% 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>