Mobile Navigation sticky halten und CSS-Cache erneuern
This commit is contained in:
parent
fd8ae86b5f
commit
ffa8c53d7b
4 changed files with 12 additions and 5 deletions
|
|
@ -10,6 +10,8 @@ if (App\Core\Auth::check()) {
|
|||
$questionsGlow = $questionsGlow || App\Models\Question::hasOpenQuestion();
|
||||
}
|
||||
}
|
||||
// Versionsparameter gegen alte PWA-/Browser-Caches des Stylesheets.
|
||||
$styleVersion = @filemtime(__DIR__ . '/../../../public/css/style.css');
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
|
|
@ -22,7 +24,7 @@ if (App\Core\Auth::check()) {
|
|||
<link rel="manifest" href="/manifest.json">
|
||||
<link rel="icon" href="/img/icon-192.png">
|
||||
<link rel="apple-touch-icon" href="/img/icon-180.png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/css/style.css<?php echo $styleVersion ? '?v=' . (int)$styleVersion : ''; ?>">
|
||||
</head>
|
||||
<body class="<?php echo htmlspecialchars($bodyClass ?? ''); ?>">
|
||||
<?php if (App\Core\Auth::check()): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue