Browse Source

Fix build issue with new version of Hugo

Track3 3 years ago
parent
commit
e742b11301
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 1 1
      layouts/_default/baseof.html

+ 1 - 0
.gitignore

@@ -1,4 +1,5 @@
 .sass-cache/
+.hugo_build.lock
 public/
 resources/
 content/

+ 1 - 1
layouts/_default/baseof.html

@@ -21,7 +21,7 @@
 	<link rel="dns-prefetch" href="//cdn1.lncld.net">
 	<link rel="dns-prefetch" href="//cdn.jsdelivr.net">
 	{{ range .AlternativeOutputFormats -}}
-	{{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }}
+	{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
 	{{ end -}}
 	{{ $style := resources.Get "scss/style.scss" | resources.ToCSS "css/style.css" | minify | fingerprint -}}
 	<link rel="stylesheet" href="{{ $style.Permalink }}" {{ printf "integrity=%q" $style.Data.Integrity | safeHTMLAttr }}>