feat: Add option to get custom message from NC config
All checks were successful
Build Docker / BuildImage (push) Successful in 44s

This commit is contained in:
Nathan Woodburn 2024-08-21 17:42:31 +10:00
parent 9c0d592a24
commit 68f8c55817
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 1 deletions

View File

@ -496,6 +496,7 @@ def index():
sites=sites, sites=sites,
projects=projects, projects=projects,
time=time, time=time,
message=ncConfig["message"],
), ),
200, 200,
{"Content-Type": "text/html"}, {"Content-Type": "text/html"},

View File

@ -66,7 +66,7 @@ Some services are down.<br>
Check them out here!</blockquote><img class="img-fluid" src="/assets/img/pfront.webp"></div> Check them out here!</blockquote><img class="img-fluid" src="/assets/img/pfront.webp"></div>
<header class="masthead main" style="background: url(&quot;/assets/img/bg/main.webp&quot;) center / cover;position: relative;height: 400px;"> <header class="masthead main" style="background: url(&quot;/assets/img/bg/main.webp&quot;) center / cover;position: relative;height: 400px;">
<div class="intro-body text parallax" style="color: rgb(0,0,0);"> <div class="intro-body text parallax" style="color: rgb(0,0,0);">
<h1 class="inner-text">Nathan.Woodburn/</h1> <h1 class="inner-text" style="margin-bottom: 0px;">Nathan.Woodburn/</h1><span>{{message|safe}}</span>
</div> </div>
</header> </header>
<section class="text-center content-section" id="about" style="padding-bottom: 0px;background: black;"> <section class="text-center content-section" id="about" style="padding-bottom: 0px;background: black;">