diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b0b79a..adb600a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,14 +10,14 @@ jobs: runs-on: ubuntu-latest container: - image: golang:1.24 + image: golang:1.26 steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Install minify - run: go install github.com/tdewolff/minify/v2/cmd/minify@latest - - name: Install hugo - run: go install github.com/gohugoio/hugo@v0.111.3 - - name: Run make - run: make + - name: Checkout code + uses: actions/checkout@v2 + - name: Install minify + run: go install github.com/tdewolff/minify/v2/cmd/minify@latest + - name: Install hugo + run: go install github.com/gohugoio/hugo@v0.156.0 + - name: Run make + run: make diff --git a/themes/hugo-theme-flat/layouts/_default/rss.xml b/themes/hugo-theme-flat/layouts/_default/rss.xml index a546783..2b1bcaa 100644 --- a/themes/hugo-theme-flat/layouts/_default/rss.xml +++ b/themes/hugo-theme-flat/layouts/_default/rss.xml @@ -23,9 +23,7 @@ {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ with .Site.Copyright }} {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}} diff --git a/themes/hugo-theme-flat/layouts/partials/head.html b/themes/hugo-theme-flat/layouts/partials/head.html index 013081b..ae78f83 100644 --- a/themes/hugo-theme-flat/layouts/partials/head.html +++ b/themes/hugo-theme-flat/layouts/partials/head.html @@ -1,8 +1,5 @@ - - - {{ $title := .Site.Title -}} @@ -57,26 +54,6 @@ onload="renderMathInElement(document.body);"> {{ end }} -{{ with and .Site.Params.remark42 .Params.show_comments }} - {{ $remark42 := $.Site.Params.remark42 }} - -{{ end }} - -