Skip to content

Commit 1cc6f3a

Browse files
committed
chore: update hugo
1 parent 83f5cf1 commit 1cc6f3a

File tree

8 files changed

+927
-1382
lines changed

8 files changed

+927
-1382
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install Hugo
5959
uses: peaceiris/actions-hugo@v2
6060
with:
61-
hugo-version: "0.83.1"
61+
hugo-version: "0.139.2"
6262

6363
- name: Build
6464
run: hugo --buildDrafts --buildFuture -v

.github/workflows/deploy-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Install Hugo
5454
uses: peaceiris/actions-hugo@v2
5555
with:
56-
hugo-version: "0.83.1"
56+
hugo-version: "0.139.2"
5757

5858
- name: Build
5959
run: hugo -v --minify

layouts/partials/documentation_flyover.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<p
5757
class="mt-1 text-sm overflow-hidden overflow-ellipsis opacity-60"
5858
>
59-
{{- safeHTML (strings.TrimPrefix (index (split .Name "|") 0) (index (split .Page.Summary ". ") 0)) -}}.
59+
{{- safeHTML (strings.TrimPrefix (index (split .Name "|") 0) (index (split (.Page.Summary | plainify) ". ") 0)) -}}.
6060
</p>
6161
</div>
6262
</a>

layouts/partials/scripts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ $script := resources.Get "assets/app.js" }}
22

3-
{{ if .Site.IsServer }}
3+
{{ if hugo.IsServer }}
44
<script type="module" src="{{ $script.RelPermalink }}"></script>
55
{{ else }}
66
{{ $script := $script | fingerprint }}

layouts/partials/stylesheets.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ $style := resources.Get "assets/app.css" }}
22

3-
{{ if .Site.IsServer }}
3+
{{ if hugo.IsServer }}
44
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
55
{{ else }}
66
{{ $style := $style | fingerprint }}

0 commit comments

Comments
 (0)