Skip to content

Commit

Permalink
fix errors caused by deprecated hugo version
Browse files Browse the repository at this point in the history
  • Loading branch information
myushen committed May 17, 2024
1 parent 07f41db commit 66c674c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog/themes/hugo-theme-even/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{ if .Site.LanguagePrefix -}}
<a href="{{ .Site.LanguagePrefix | absURL }}/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
{{- else -}}
<a href="{{ .Site.RSSLink }}" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
<a href="{{ .Permalink }}" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
{{- end }}
</div>

Expand Down
2 changes: 1 addition & 1 deletion blog/themes/hugo-theme-even/layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

<!-- Analytics -->
{{- if (in (slice (getenv "HUGO_ENV") hugo.Environment) "production") | and .Site.GoogleAnalytics -}}
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{- end -}}

{{- with .Site.Params.baiduAnalytics -}}
Expand Down

0 comments on commit 66c674c

Please sign in to comment.