fix: default settings should now work on public system pages too

This commit is contained in:
Spectralitree 2021-12-12 14:48:22 +01:00
parent e3b3fc24bd
commit 769e7c9f36
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -32,7 +32,7 @@
}(window.location))
</script>
<!-- End Single Page Apps for GitHub Pages -->
<script type="module" crossorigin src="/assets/main.7e3dfd4f.js"></script>
<script type="module" crossorigin src="/assets/main.d79280e1.js"></script>
<link rel="modulepreload" href="/assets/vendor.a3039f12.js">
<link rel="stylesheet" href="/assets/vendor.484ba9db.css">
<link rel="stylesheet" href="/assets/main.4f449199.css">

View File

@ -39,7 +39,7 @@
</script>
<!-- display the banner if there's a banner set, and if the current settings allow for it-->
{#if user && user.banner && settings && settings.appearance.banner_top}
{#if user && user.banner && ((settings && settings.appearance.banner_top) || !settings)}
<div class="banner" style="background-image: url({user.banner})" />
{/if}
<Container>