diff --git a/_templates/layout.html b/_templates/layout.html index e9fa72324a90c66d88e199ab1564d14da5bcebb4..4df60f52d3a39c8e2f944d122dfe4acbc5bdb5ee 100644 --- a/_templates/layout.html +++ b/_templates/layout.html @@ -49,11 +49,11 @@ {%- if favicon_url or favicon %} <link rel="shortcut icon" href="{{ _favicon_url }}"/> {%- endif %} - <link rel="shortcut icon" type="image/png" href="_static/favicon-16x16.png" sizes="16x16"/> - <link rel="shortcut icon" type="image/png" href="_static/favicon-32x32.png" sizes="32x32"/> - <link rel="shortcut icon" type="image/png" href="_static/favicon-96x96.png" sizes="96x96"/> - <link rel="shortcut icon" type="image/png" href="_static/favicon-128x128.png" sizes="128x128"/> - <link rel="shortcut icon" type="image/png" href="_static/favicon-196x196.png" sizes="196x196"/> + <link rel="shortcut icon" type="image/png" href="{{pathto('_static/' + 'favicon-16x16.png', 1)}}" sizes="16x16"/> + <link rel="shortcut icon" type="image/png" href="{{pathto('_static/' + 'favicon-32x32.png', 1)}}" sizes="32x32"/> + <link rel="shortcut icon" type="image/png" href="{{pathto('_static/' + 'favicon-96x96.png', 1)}}" sizes="96x96"/> + <link rel="shortcut icon" type="image/png" href="{{pathto('_static/' + 'favicon-128x128.png', 1)}}" sizes="128x128"/> + <link rel="shortcut icon" type="image/png" href="{{pathto('_static/' + 'favicon-196x196.png', 1)}}" sizes="196x196"/> {#- CANONICAL URL (deprecated) #} {%- if theme_canonical_url and not pageurl %}