Set Meta theme-color to project theme color

This commit is contained in:
Allan Regush 2022-07-24 19:25:40 -06:00
parent d3f5057d41
commit 35ccb67d6c
1 changed files with 5 additions and 1 deletions

View File

@ -50,7 +50,11 @@
<link rel="icon" type="image/png" sizes="400x400" href="{{ static "logo.png" }}">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="{{ static "ms-icon-144x144.png" }}">
<meta name="theme-color" content="#ffffff">
{{ if .Project.Color1 }}
<meta name="theme-color" content="#{{ .Project.Color1 }}">
{{ else }}
<meta name="theme-color" content="#ffffff">
{{ end }}
<script>
MathJax = {