mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 00:14:05 +00:00
fix: include manifest URL on all pages
BREAKING CHANGE: If overriding icon.png, rename it to icon-32.png and add icon-512.png. Fix #1245 See #1247
This commit is contained in:
1 parent
07f4cea1d6
commit
3326ad410e
4 files changed
+5
-8
No files matched your search
@@ -138,12 +138,9 @@
|
||||
<link rel="alternate" href="{{.RelPermalink}}" type="application/rss+xml" title="{{site.Title}}">
|
||||
{{ end }}
|
||||
|
||||
{{ range .AlternativeOutputFormats }}
|
||||
<link rel="{{.Rel}}" type="{{.MediaType.Type}}" href="{{.RelPermalink | safeURL}}">
|
||||
{{ end }}
|
||||
|
||||
<link rel="icon" type="image/png" href="{{ "/img/icon.png" | relURL }}">
|
||||
<link rel="apple-touch-icon" type="image/png" href="{{ "/img/icon-192.png" | relURL }}">
|
||||
<link rel="manifest" href="{{ "index.webmanifest" | relURL }}">
|
||||
<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 }}">
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<meta name="generator" content="Source Themes Academic {{ site.Data.academic.version }}">
|
||||
|
||||
<link rel="manifest" href="{{ "index.webmanifest" | relURL }}">
|
||||
<link rel="icon" type="image/png" href="{{ "/img/icon.png" | relURL }}">
|
||||
<link rel="apple-touch-icon" type="image/png" href="{{ "/img/icon-192.png" | relURL }}">
|
||||
<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 }}">
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
|
||||
File renamed without changes.
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
Reference in new issue
Block a user