Added Customization.HideVersion
configuration to hide version in navgation
This commit is contained in:
parent
d28625c37b
commit
7c909e94e5
|
@ -87,7 +87,10 @@
|
|||
|
||||
<div class="bg-base-200 p-4 h-full flex flex-col gap-4 w-48 lg:w-64">
|
||||
<NavMenu />
|
||||
<a aria-hidden="true" tabindex="-1" class="absolute left-2 right-2 bottom-2 text-center text-slate-400" href="https://github.com/miawinter98/wave/releases/">@Version</a>
|
||||
|
||||
@if (Customizations.Value.HideVersion is not true) {
|
||||
<a aria-hidden="true" tabindex="-1" class="absolute left-2 right-2 bottom-2 text-center text-slate-400" href="https://github.com/miawinter98/wave/releases/">@Version</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -7,6 +7,7 @@ public class Customization {
|
|||
public string DefaultTheme { get; set; } = "";
|
||||
public string DefaultLanguage { get; set; } = "";
|
||||
public bool DefaultNarrowReader { get; set; } = false;
|
||||
public bool HideVersion { get; set; } = false;
|
||||
public string LogoLink { get; set; } = "";
|
||||
public string IconLink { get; set; } = "";
|
||||
public string Footer { get; set; } = "";
|
||||
|
|
Loading…
Reference in a new issue