summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-06-10 17:19:18 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-06-10 17:19:18 (GMT)
commitbe23c49d8099b7d367df39efa96634d7b9ded0e3 (patch)
treea2e4b93434e7b077bc702c9e329ade2918444bf8
parent1548ff8c627bd15ad5bfefa1679443870a5a52a1 (diff)
downloadvincennes-2014-be23c49d8099b7d367df39efa96634d7b9ded0e3.zip
vincennes-2014-be23c49d8099b7d367df39efa96634d7b9ded0e3.tar.gz
vincennes-2014-be23c49d8099b7d367df39efa96634d7b9ded0e3.tar.bz2
misc: update to setting theme_color as a variablev2.15
-rw-r--r--templates/theme.html4
-rw-r--r--themes.json4
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/theme.html b/templates/theme.html
index ff11451..6e9518c 100644
--- a/templates/theme.html
+++ b/templates/theme.html
@@ -7,6 +7,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ site_base }}{{ STATIC_URL }}css/style.css">
<link rel="shortcut icon" href="{{ site_base }}{{ STATIC_URL }}img/favicon.ico" />
+ {% if theme_color %}
+ <meta name="theme-color" content="{{theme_color}}">
+ <meta name="msapplication-navbutton-color" content="{{theme_color}}">
+ {% endif %}
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="{{ site_base }}{{ STATIC_URL }}css/font-awesome.css" rel="stylesheet">
diff --git a/themes.json b/themes.json
index b98216e..8f95692 100644
--- a/themes.json
+++ b/themes.json
@@ -2,7 +2,7 @@
{"id": "vincennes",
"label": "Vincennes",
"variables": {
- },
- "color": "#D91A80"
+ "theme_color": "#D91A80"
+ }
}
]