1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-24 21:20:17 +01:00

layouts: Update for Hugo 0.55.0

See: https://github.com/gohugoio/hugo/releases/tag/v0.55.0
This commit is contained in:
Alan Orth 2019-04-14 16:25:35 +03:00
parent 3cced68d64
commit 2916229d28
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,10 @@
{{ "<!-- combined, minified CSS -->" | safeHTML }} {{ "<!-- combined, minified CSS -->" | safeHTML }}
<link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet"{{ if not .Site.Params.disable_sri }} integrity="{{ .Site.Data.sri.style}}" crossorigin="anonymous"{{ end }}> <link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet"{{ if not .Site.Params.disable_sri }} integrity="{{ .Site.Data.sri.style}}" crossorigin="anonymous"{{ end }}>
{{ if .RSSLink }}
{{ "<!-- RSS 2.0 feed -->" | safeHTML }} {{ "<!-- RSS 2.0 feed -->" | safeHTML }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ with .OutputFormats.Get "rss" -}}
{{ end }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}

View File

@ -16,6 +16,6 @@
<meta name="yandex-verification" content="{{ . }}" /> <meta name="yandex-verification" content="{{ . }}" />
{{ end }} {{ end }}
{{- .Hugo.Generator -}} {{- .Site.Hugo.Generator -}}
{{- /* vim: set ts=2 sw=2 et: */}} {{- /* vim: set ts=2 sw=2 et: */}}