From 79f43372f7735de709944be4de53e24779b4c7eb Mon Sep 17 00:00:00 2001
From: "eapl.mx"
Date: Wed, 18 Dec 2024 16:45:05 -0600
Subject: [PATCH] feat(header): add base_url to logo link
* Also made some cleanup and style fixing
---
partials/base.php | 19 ++++++++-----------
partials/header.php | 24 ++++++++++++------------
2 files changed, 20 insertions(+), 23 deletions(-)
diff --git a/partials/base.php b/partials/base.php
index f6485d8..5e5fa93 100644
--- a/partials/base.php
+++ b/partials/base.php
@@ -1,5 +1,6 @@
mainURL] = $parsedTwtxtFile;
}
-
} else { // Show timeline for the URL
$parsedTwtxtFiles = [];
foreach ($fileLines as $currentLine) {
@@ -141,7 +138,7 @@ if (!empty($_GET['search'])) {
$twts = array_filter($twts, function ($twt) use ($pattern) {
return preg_match($pattern, $twt->content);
});
-}
+}
*/
// TODO: (re)move or rename `?hash=` to something/where else?
diff --git a/partials/header.php b/partials/header.php
index d5f514b..c5f03e9 100644
--- a/partials/header.php
+++ b/partials/header.php
@@ -1,9 +1,8 @@
-
-
@@ -12,8 +11,7 @@ $profile = getTwtsFromTwtxtString($config['public_txt_url']);
-
-
+
@@ -26,31 +24,33 @@ $profile = getTwtsFromTwtxtString($config['public_txt_url']);