Explorar o código

fix: web app manifest URI for multi-language sites (#1279)

Julian Pawlowski %!s(int64=6) %!d(string=hai) anos
pai
achega
92c1bca1a9
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      layouts/partials/site_head.html
  2. 1 1
      layouts/slides/baseof.html

+ 1 - 1
layouts/partials/site_head.html

@@ -138,7 +138,7 @@
   <link rel="alternate" href="{{.RelPermalink}}" type="application/rss+xml" title="{{site.Title}}">
   {{ end }}
 
-  <link rel="manifest" href="{{ "index.webmanifest" | relURL }}">
+  <link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
   <link rel="icon" type="image/png" href="{{ "img/icon-32.png" | relURL }}">
   <link rel="apple-touch-icon" type="image/png" href="{{ "img/icon-192.png" | relURL }}">
 

+ 1 - 1
layouts/slides/baseof.html

@@ -9,7 +9,7 @@
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="generator" content="Source Themes Academic {{ site.Data.academic.version }}">
 
-  <link rel="manifest" href="{{ "index.webmanifest" | relURL }}">
+  <link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
   <link rel="icon" type="image/png" href="{{ "img/icon-32.png" | relURL }}">
   <link rel="apple-touch-icon" type="image/png" href="{{ "img/icon-192.png" | relURL }}">