Permalink
Browse files

fix `<link hreflang="lang_code"... >` (#102)

  • Loading branch information...
shaform authored and xianmin committed Aug 3, 2018
1 parent af3a70d commit a303b7c30c2c9ffbe81a861464973fd396b683ba
Showing with 3 additions and 1 deletion.
  1. +3 −1 layouts/partials/head.html
@@ -1,4 +1,6 @@
<link rel="alternate" hreflang="{{ $.Site.LanguageCode | default "en" }}" href="{{ $.Site.BaseURL }}" />
{{ range .Translations }}
<link rel="alternate" hreflang="{{ .Site.LanguageCode }}" href="{{ .Permalink }}" />
{{ end }}
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

0 comments on commit a303b7c

Please sign in to comment.