Skip to content

Commit 6114325

Browse files
committed
chore: update hugo
1 parent 033ea2e commit 6114325

File tree

8 files changed

+927
-1382
lines changed

8 files changed

+927
-1382
lines changed

.github/workflows/deploy-preview.yaml

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

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

.github/workflows/deploy-production.yaml

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)