Fix incompatibility with new hugo version
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
<!-- Modify the custom.css file inside static > css to use vanilla css -->
|
||||
<!-- <link type="text/css" rel="stylesheet" href="{{ "/" | relURL }}css/custom.css"> -->
|
||||
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ with site.Home.OutputFormats.Get "RSS" }}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
{{- if not .Site.IsServer -}}
|
||||
{{- if not hugo.IsServer -}}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{- end -}}
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user