Fix incompatibility with new hugo version
This commit is contained in:
parent
5dcc67d31b
commit
189a933839
@ -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>
|
||||
|
@ -5,7 +5,7 @@
|
||||
{{ range .Site.Menus.main }}
|
||||
<a class="color-link nav-link" href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
<a class="color-link nav-link" href="{{ .Site.RSSLink }}" target="_blank" rel="noopener" type="application/rss+xml">RSS</a>
|
||||
<a class="color-link nav-link" href="{{ .Permalink }}" target="_blank" rel="noopener" type="application/rss+xml">RSS</a>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
</nav>
|
||||
|
@ -8,5 +8,5 @@ features = ["blog", "responsive", "social media"]
|
||||
min_version = "0.55.2"
|
||||
|
||||
[author]
|
||||
name = "kimcc"
|
||||
homepage = "https://github.com/kimcc"
|
||||
name = "ivo"
|
||||
homepage = "https://git.ivayloivanov.eu"
|
||||
|
Loading…
Reference in New Issue
Block a user