Set meta tag theme color to project's theme color (#71)

This commit sets the discord/link embed theme to match handmade brand

closes #66

Co-authored-by: Allan Regush <17693494+AllanRegush@users.noreply.github.com>
Reviewed-on: hmn/hmn#71
Co-authored-by: AllanRegush <allan@allanregush.com>
Co-committed-by: AllanRegush <allan@allanregush.com>
This commit is contained in:
AllanRegush 2022-07-25 20:16:04 +00:00 committed by bvisness
parent d3f5057d41
commit 4b3e38ee02
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 = {