]> njoseph.me Git - hyde.git/blobdiff - layouts/partials/head.html
Fix RSS feeds
[hyde.git] / layouts / partials / head.html
index 66a5d4627c8748e56d1fd2764bd745ad8813cdb1..1b132aeb5e895f923bfe2f67eef9117eb34671d3 100644 (file)
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml"{{with .Site.LanguageCode}} xml:lang="{{.}}" lang="{{.}}"{{end}}>
 <head>
-  <link href="http://gmpg.org/xfn/11" rel="profile">
+  <link href="//gmpg.org/xfn/11" rel="profile">
   <meta http-equiv="content-type" content="text/html; charset=utf-8">
-  {{ .Hugo.Generator }}
+  {{ hugo.Generator }}
 
   <!-- Enable responsiveness on mobile devices-->
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
   {{ if .IsHome -}}
   <title>{{ .Site.Title }}</title>
@@ -25,8 +25,8 @@
   <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
   <link rel="shortcut icon" href="/favicon.png">
 
-  <!-- RSS -->
-  <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+  <!-- RSS etc -->
+  <link rel="alternate" type="application/rss+xml" href='{{ "feed.xml" | absURL }}' />
 
   {{ partial "hook_head_end.html" . }}
 </head>