File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1515 submodules : true # Fetch Hugo themes (true OR recursive)
1616 fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
1717
18+ - name : Patch the theme
19+ run : |
20+ pushd themes/even &>/dev/null
21+ git apply ../patch
22+ popd &>/dev/null
23+
1824 - name : Setup Hugo
1925 uses : peaceiris/actions-hugo@v2
2026 with :
Original file line number Diff line number Diff line change 1+ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
2+ index a7955d1..5c1bc77 100644
3+ --- a/layouts/partials/footer.html
4+ +++ b/layouts/partials/footer.html
5+ @@ -8,7 +8,9 @@
6+ {{ if .Site.LanguagePrefix -}}
7+ <a href="{{ .Site.LanguagePrefix | absURL }}/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
8+ {{- else -}}
9+ - <a href="{{ .Site.RSSLink }}" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
10+ + {{- with .OutputFormats.Get "rss" -}}
11+ + <a href="{{ .Permalink }}" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
12+ + {{- end}}
13+ {{- end }}
14+ </div>
15+
You can’t perform that action at this time.
0 commit comments