* Fix static/images symlink errors

* Fix RSSLink deprecation
* Fix https://github.com/gohugoio/hugoThemes/issues/682
This commit is contained in:
Tony Blyler 2019-08-25 21:32:33 -04:00
parent 82bbfc0251
commit 5ef28a4864
9 changed files with 16 additions and 14 deletions
layouts/partials

View file

@ -6,9 +6,9 @@
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" type="text/css" href="/css/main.css" />
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternative" type="application/rss+xml" title="{{ .Title }}" />
{{ end }}
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ partial "head.html" . }}
</head>
<body>