File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ _defaults: &defaults
4
4
docker :
5
5
# CircleCI maintains a library of pre-built images
6
6
# documented at https://circleci.com/docs/2.0/circleci-images/
7
- - image : cibuilds/hugo:0.80
7
+ - image : cibuilds/hugo:0.97
8
8
working_directory : ~/repo
9
9
jobs :
10
10
build_page :
@@ -25,4 +25,4 @@ workflows:
25
25
version : 2
26
26
default :
27
27
jobs :
28
- - build_page
28
+ - build_page
Original file line number Diff line number Diff line change 2
2
< html lang ="{{ .Site.LanguageCode }} ">
3
3
4
4
< head >
5
- {{ .Hugo .Generator }}
5
+ {{ hugo .Generator }}
6
6
< meta charset ="utf-8 ">
7
7
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
8
8
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
25
25
{{ if .IsHome }} {{ partial "site-verification" . }} {{ end }}
26
26
<!-- add googleAnalytics in config.toml -->
27
27
{{ template "_internal/google_analytics_async.html" . }}
28
- {{ if .RSSLink }}
29
- < link href ="{{ .RSSLink }} " rel ="alternate " type ="application/rss+xml " title ="{{ .Site.Title }} " /> {{ end }}
28
+ {{ with .OutputFormats.Get "RSS" }}
29
+ {{ printf `< link rel ="%s " type ="%s " href ="%s " title ="%s " /> ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
30
+ {{ end }}
30
31
31
32
< link rel ="canonical " href ="{{ .Permalink }} "> {{ if (isset .Params "prev") }}
32
33
< link rel ="prev " href ="{{ .Params.prev }} "> {{ end }} {{ if (isset .Params "next") }}
You can’t perform that action at this time.
0 commit comments