summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2019-08-11 10:18:28 +1000
committerBenjamin Southall <applemansigloo@gmail.com>2019-08-11 10:18:28 +1000
commit1c47bf85a0e2bc6f86f97804d651f04b3281f231 (patch)
treefe11d2444869f419854e8bbaff956a024af0d228
parent3b72fbf5f17d0df75332c5a018ae2abb7467602b (diff)
Add apple touch icon support and configuration option
-rw-r--r--inc/config.php3
-rw-r--r--templates/header.html1
2 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 39c47687..0afbf9c7 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1233,6 +1233,9 @@
// Website favicon.
// $config['url_favicon'] = '/favicon.gif';
+ // Website Apple touch icon.
+ // $config['url_appletouchicon'] = '/favicon.gif';
+
// Try not to build pages when we shouldn't have to.
$config['try_smarter'] = true;
diff --git a/templates/header.html b/templates/header.html
index 7f96f241..6c1e6346 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -1,5 +1,6 @@
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}">{% endif %}
+ {% if config.url_appletouchicon %}<link rel=apple-touch-icon" href="{{ config.url_appletouchicon }}">{% endif %}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}