Add apple touch icon support and configuration option

This commit is contained in:
Benjamin Southall 2019-08-11 10:18:28 +10:00
parent 3b72fbf5f1
commit 1c47bf85a0
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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 %}