Commit cd9c6223 authored by lostinlight's avatar lostinlight

Show date only in posts

parent 9841db4c
<%
let contType = '';
let indexBody = '';
let ball = false;
let misc;
let contType = '',
indexBody = '',
ball = false,
misc,
post;
if (is_root()) {
contType = 'main__container';
indexBody = 'main';
......@@ -14,6 +15,9 @@
if (page.layout == 'miscellaneous') {
misc = "miscellaneous";
}
if (page.layout == 'post') {
post = "post";
}
%>
<!DOCTYPE html>
......@@ -27,7 +31,7 @@
<![endif]-->
<%- partial('_partial/navbar', null, {cache: !config.relative_link}) %>
<%- partial('_partial/sidebar') %>
<div class="container <%= contType %> <%= misc %>">
<div class="container <%= contType %> <%= misc %> <%= post %>">
<noscript><small class="no-js">You disabled Javascript. Some things won't work.</small></noscript>
<%- body %>
</div>
......
......@@ -18,6 +18,14 @@
padding: 0 7em;
}
.hero-header small {
display: none;
}
.post .hero-header small {
display: block;
}
.hero-header .author {
display: block;
margin-top: 1.5em;
......
......@@ -5,10 +5,6 @@
box-shadow: 1px 1px 4px 2px $black;
}
.miscellaneous small {
display: none;
}
.misc {
background: $asphalt;
color: $white;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment