Update branding config

This commit is contained in:
Svilen Markov
2024-08-10 19:43:50 +01:00
parent 9899f6b761
commit f57bdeec12
5 changed files with 38 additions and 20 deletions

View File

@@ -32,7 +32,7 @@
<div class="header-container content-bounds">
<div class="header flex padding-inline-widget widget-content-frame">
<!-- TODO: Replace G with actual logo, first need an actual logo -->
<div class="logo">G</div>
<div class="logo">{{ if ne "" .App.Config.Branding.LogoURL }}<img src="{{ .App.Config.Branding.LogoURL }}" alt="">{{ else if ne "" .App.Config.Branding.LogoText }}{{ .App.Config.Branding.LogoText }}{{ else }}{{ end }}</div>
<div class="nav flex grow">
{{ template "navigation-links" . }}
</div>
@@ -63,7 +63,7 @@
</div>
</div>
{{ if not .App.Config.Branding.Show }}
{{ if not .App.Config.Branding.HideFooter }}
<div class="footer flex items-center flex-column">
<div>
<a class="size-h3" href="https://github.com/glanceapp/glance" target="_blank" rel="noreferrer">Glance</a> {{ if ne "dev" .App.Version }}<a class="visited-indicator" title="Release notes" href="https://github.com/glanceapp/glance/releases/tag/{{ .App.Version }}" target="_blank" rel="noreferrer">{{ .App.Version }}</a>{{ else }}({{ .App.Version }}){{ end }}