From a3b13247f76fc319857f7a32b18cb92a8397f1f1 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 26 Jan 2022 21:21:20 +0100 Subject: [PATCH] Fix theme colour in HTML meta --- CHANGELOG.rst | 1 + aleksis/core/templates/core/partials/meta.html | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ae2ef854c..e0840115b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,7 @@ Fixed ~~~~~ * PDF generation failed with S3 storage due to incompatibility with boto3 +* PWA theme colour defaulted to red `2.7`_ - 2022-01-24 ------------------- diff --git a/aleksis/core/templates/core/partials/meta.html b/aleksis/core/templates/core/partials/meta.html index cae0f93b8..f0d0a9733 100644 --- a/aleksis/core/templates/core/partials/meta.html +++ b/aleksis/core/templates/core/partials/meta.html @@ -6,7 +6,7 @@ <meta name="description" content="{{ SITE_PREFERENCES.general__description }}"/> <meta name="generator" content="AlekSIS School Information System"/> -<meta name="theme-color" content="red"> +<meta name="theme-color" content="{{ SITE_PREFERENCES.theme__primary }}"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-title" content="{{ SITE_PREFERENCES.general__title }}"> @@ -32,5 +32,3 @@ {% with icon=PWA_ICONS.apple_splash.192 %} <link href="{{ icon.faviconImage.url }}" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"/> {% endwith %} - - -- GitLab