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:
parent
d3f5057d41
commit
4b3e38ee02
|
@ -50,7 +50,11 @@
|
||||||
<link rel="icon" type="image/png" sizes="400x400" href="{{ static "logo.png" }}">
|
<link rel="icon" type="image/png" sizes="400x400" href="{{ static "logo.png" }}">
|
||||||
<meta name="msapplication-TileColor" content="#ffffff">
|
<meta name="msapplication-TileColor" content="#ffffff">
|
||||||
<meta name="msapplication-TileImage" content="{{ static "ms-icon-144x144.png" }}">
|
<meta name="msapplication-TileImage" content="{{ static "ms-icon-144x144.png" }}">
|
||||||
|
{{ if .Project.Color1 }}
|
||||||
|
<meta name="theme-color" content="#{{ .Project.Color1 }}">
|
||||||
|
{{ else }}
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
MathJax = {
|
MathJax = {
|
||||||
|
|
Loading…
Reference in New Issue