From 66c6658bac8b0e99b59e3b9f4eb285f38bcebcf5 Mon Sep 17 00:00:00 2001 From: Arno Richter Date: Wed, 16 Aug 2023 14:52:58 +0200 Subject: huge update to implement first version of activitypub support. closes #16. AP and subdir hosting are incompatible! --- snippets/header.snippet.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'snippets/header.snippet.php') diff --git a/snippets/header.snippet.php b/snippets/header.snippet.php index cc0becb..ca746b9 100644 --- a/snippets/header.snippet.php +++ b/snippets/header.snippet.php @@ -2,7 +2,7 @@ $title_suffix = isset($title_suffix) ? ' - ' . $title_suffix : ''; $css = 'microblog'; // the default - if(!empty($config['theme']) && file_exists(ROOT.DS.'css'.DS.$config['theme'].'.css')) { + if(!empty($config['theme']) && file_exists(ROOT.DS.'css'.DS.$config['theme'].DS.$config['theme'].'.css')) { $css = $config['theme']; } @@ -16,7 +16,12 @@ <?= empty($config['microblog_account']) ? "" : $config['microblog_account'] . "'s "; ?>micro.blog<?= $title_suffix ?> - + + + + + + @@ -27,8 +32,10 @@ - - + + + + -- cgit v1.2.3