mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-22 00:21:28 +00:00
Show date only in posts
This commit is contained in:
parent
9841db4c24
commit
cd9c622364
|
@ -1,9 +1,10 @@
|
|||
|
||||
<%
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue