blog/themes/typing/layout/layout.ejs

25 lines
593 B
Plaintext

<!DOCTYPE html>
<html lang="<%= config.language %>">
<%- partial('_partial/head') %>
<%/* set /about page to use "home" page layout */%>
<% if (is_current('about/index.html')) { %>
<% 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') %>
</body>
</html>