diff --git a/php/home.php b/php/home.php index 6eb563c..627b674 100644 --- a/php/home.php +++ b/php/home.php @@ -19,12 +19,12 @@
$label) : ?> - <?php echo htmlspecialchars($label, ENT_QUOTES, 'UTF-8') ?> + <?php echo htmlspecialchars($label, ENT_QUOTES, 'UTF-8') ?> - <?php echo $L->get('RSS'); ?> + <?php echo $L->get('RSS'); ?>
diff --git a/php/icons.php b/php/icons.php index 3e785fa..d9c7b37 100644 --- a/php/icons.php +++ b/php/icons.php @@ -34,6 +34,12 @@ if (!function_exists('blowdit_icon')) { . 'stroke-linejoin="round" aria-hidden="true">' . $paths[$name] . ''; } + // Theme asset URL with an mtime cache-buster (so edited images/SVGs refetch). + function blowdit_asset($rel) { + $v = @filemtime(THEME_DIR . $rel); + return DOMAIN_THEME . $rel . ($v ? '?v=' . $v : ''); + } + // Map a theme key to its toggle icon name. function blowdit_theme_icon($theme) { $map = array( diff --git a/php/navbar.php b/php/navbar.php index d74dbf6..39003b5 100644 --- a/php/navbar.php +++ b/php/navbar.php @@ -23,23 +23,31 @@ - - $label) : ?> + + + + $label) : ?> + + + + - - - - +