fix(layout): utilise url_for() to prepend root value

This commit is contained in:
MDLeom 2020-08-09 11:56:09 +00:00
parent 54d1a3856d
commit 6c9179a388
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 10 additions and 10 deletions

View File

@ -32,21 +32,21 @@
<%- feed_tag(theme.rss) %> <%- feed_tag(theme.rss) %>
<% } %> <% } %>
<%/* Favicon */%> <%/* Favicon */%>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=yyQLrgrMjG"> <link rel="apple-touch-icon" sizes="180x180" href="<%- url_for('/apple-touch-icon.png?v=yyQLrgrMjG') %>">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=yyQLrgrMjG"> <link rel="icon" type="image/png" sizes="32x32" href="<%- url_for('/favicon-32x32.png?v=yyQLrgrMjG') %>">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=yyQLrgrMjG"> <link rel="icon" type="image/png" sizes="16x16" href="<%- url_for('/favicon-16x16.png?v=yyQLrgrMjG') %>">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=yyQLrgrMjG"> <link rel="icon" type="image/png" sizes="16x16" href="<%- url_for('/favicon-16x16.png?v=yyQLrgrMjG') %>">
<link rel="icon" type="image/svg+xml" href="/svg/favicon.svg?v=yyQLrgrMjG"> <link rel="icon" type="image/svg+xml" href="<%- url_for('/svg/favicon.svg?v=yyQLrgrMjG') %>">
<link rel="manifest" href="/site.webmanifest?v=yyQLrgrMjG"> <link rel="manifest" href="<%- url_for('/site.webmanifest?v=yyQLrgrMjG') %>">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=yyQLrgrMjG" color="#3f72af"> <link rel="mask-icon" href="<%- url_for('/safari-pinned-tab.svg?v=yyQLrgrMjG') %>" color="#3f72af">
<link rel="shortcut icon" href="/favicon.ico?v=yyQLrgrMjG"> <link rel="shortcut icon" href="<%- url_for('/favicon.ico?v=yyQLrgrMjG') %>">
<meta name="apple-mobile-web-app-title" content="<%= config.title %>"> <meta name="apple-mobile-web-app-title" content="<%= config.title %>">
<meta name="application-name" content="<%= config.title %>"> <meta name="application-name" content="<%= config.title %>">
<meta name="msapplication-TileColor" content="#3f72af"> <meta name="msapplication-TileColor" content="#3f72af">
<meta name="msapplication-config" content="/browserconfig.xml"> <meta name="msapplication-config" content="<%- url_for('/browserconfig.xml') %>">
<meta name="theme-color" content="#3f72af"> <meta name="theme-color" content="#3f72af">
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml"> <link rel="sitemap" type="application/xml" title="Sitemap" href="<%- url_for('/sitemap.xml') %>">
<%/* CSS of Chameleon theme */%> <%/* CSS of Chameleon theme */%>
<%- css('/css/chameleon.css') %> <%- css('/css/chameleon.css') %>