website

Code for the bare sturcture of concealed.world.
git clone git://git.concealed.world/website
Log | Files | Refs | README | LICENSE

commit ad4086f3f8cd1f9165dbc9359121ea5ef24310fe
parent cbaa56d8faff260ba6269500eea8028ba7472b6b
Author: Nixx <nixx@firemail.cc>
Date:   Fri,  7 May 2021 08:52:35 +0100

Remove popular articles link

Diffstat:
Mincludes/default-start.php | 2+-
Mincludes/homepanel.php | 3---
Mstyles/default.css | 1+
3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/includes/default-start.php b/includes/default-start.php @@ -38,7 +38,7 @@ function getFileList($dir) { } $inc = 0; -if (!isset($scanfiles) && getcwd() != '/usr/share/nginx/html') { +if (!isset($scanfiles) && getcwd() != $_SERVER['DOCUMENT_ROOT']) { $scanfiles = array("./"); } diff --git a/includes/homepanel.php b/includes/homepanel.php @@ -16,9 +16,6 @@ echo '<br />'; echo '<span class="homesubmessage">'.$submessages[$motd].'</span>'; echo '</div>'; - echo '<div class="section centre popular">'; - echo '<p>Jump to <a href="/Other/populararticles.php">Popular Articles</a></p>'; - echo '</div>'; } elseif (isset($_GET['post']) && $_GET['post'] == 'archive') { $file = basename($_SERVER['PHP_SELF']); echo '<div class="section archivereturn centre">'; diff --git a/styles/default.css b/styles/default.css @@ -13,6 +13,7 @@ body { background: url("/includes/bg.php") no-repeat var(--bg-col); background-attachment: fixed; background-position: bottom left; + word-break: break-word; } ul {