Add modified warning to page footer

This commit is contained in:
jvyden 2021-11-19 22:06:05 -05:00
commit 0073461e97
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
2 changed files with 5 additions and 1 deletions

View file

@ -4,4 +4,4 @@
@{ @{
Layout = "Layouts/BaseLayout"; Layout = "Layouts/BaseLayout";
} }
<p>Welcome to <b>Project Lighthouse</b>.</p> <h1>Welcome to <b>Project Lighthouse</b>.</h1>

View file

@ -21,5 +21,9 @@
</body> </body>
<footer> <footer>
<p>Page generated by @GitVersionHelper.FullVersion</p> <p>Page generated by @GitVersionHelper.FullVersion</p>
@if (GitVersionHelper.IsDirty)
{
<p>This page was generated using a modified version of Project Lighthouse. Please make sure you are properly disclosing the source code to any users who may be using this instance.</p>
}
</footer> </footer>
</html> </html>