mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-25 10:01:27 +00:00
Show date only in posts
This commit is contained in:
parent
9841db4c24
commit
cd9c622364
|
@ -1,9 +1,10 @@
|
||||||
|
|
||||||
<%
|
<%
|
||||||
let contType = '';
|
let contType = '',
|
||||||
let indexBody = '';
|
indexBody = '',
|
||||||
let ball = false;
|
ball = false,
|
||||||
let misc;
|
misc,
|
||||||
|
post;
|
||||||
if (is_root()) {
|
if (is_root()) {
|
||||||
contType = 'main__container';
|
contType = 'main__container';
|
||||||
indexBody = 'main';
|
indexBody = 'main';
|
||||||
|
@ -14,6 +15,9 @@
|
||||||
if (page.layout == 'miscellaneous') {
|
if (page.layout == 'miscellaneous') {
|
||||||
misc = "miscellaneous";
|
misc = "miscellaneous";
|
||||||
}
|
}
|
||||||
|
if (page.layout == 'post') {
|
||||||
|
post = "post";
|
||||||
|
}
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
@ -27,7 +31,7 @@
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<%- partial('_partial/navbar', null, {cache: !config.relative_link}) %>
|
<%- partial('_partial/navbar', null, {cache: !config.relative_link}) %>
|
||||||
<%- partial('_partial/sidebar') %>
|
<%- 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>
|
<noscript><small class="no-js">You disabled Javascript. Some things won't work.</small></noscript>
|
||||||
<%- body %>
|
<%- body %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,6 +18,14 @@
|
||||||
padding: 0 7em;
|
padding: 0 7em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-header small {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post .hero-header small {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.hero-header .author {
|
.hero-header .author {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 1.5em;
|
margin-top: 1.5em;
|
||||||
|
|
|
@ -5,10 +5,6 @@
|
||||||
box-shadow: 1px 1px 4px 2px $black;
|
box-shadow: 1px 1px 4px 2px $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.miscellaneous small {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.misc {
|
.misc {
|
||||||
background: $asphalt;
|
background: $asphalt;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|
Loading…
Reference in a new issue