mirror of
https://github.com/wahyd4/upptime.git
synced 2026-08-09 05:06:31 +10:00
🐛 Ensure config has intro message
This commit is contained in:
@@ -26,12 +26,16 @@
|
||||
|
||||
<header>
|
||||
{#if config['status-website']}
|
||||
<h1>
|
||||
{@html snarkdown(config['status-website'].introTitle)}
|
||||
</h1>
|
||||
<p class="lead">
|
||||
{@html snarkdown(config['status-website'].introMessage)}
|
||||
</p>
|
||||
{#if config['status-website'].introTitle}
|
||||
<h1>
|
||||
{@html snarkdown(config['status-website'].introTitle)}
|
||||
</h1>
|
||||
{/if}
|
||||
{#if config['status-website'].introMessage}
|
||||
<p class="lead">
|
||||
{@html snarkdown(config['status-website'].introMessage)}
|
||||
</p>
|
||||
{/if}
|
||||
{/if}
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user