Skip to content

Commit 1eeece5

Browse files
committed
temp: try old hugo (last successful run was before the hugo update)
1 parent 3e2c54b commit 1eeece5

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/deploy-preview.yaml

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

6363
- name: Build
64-
run: hugo --minify --logLevel info
64+
run: hugo --minify -v
6565

6666
- name: Build search index
6767
run: |

.github/workflows/deploy-production.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
- name: Install Hugo
5656
uses: peaceiris/actions-hugo@v2
5757
with:
58-
hugo-version: "0.139.2"
58+
hugo-version: "0.83.1"
5959

6060
- name: Build
61-
run: hugo --minify --logLevel info
61+
run: hugo -v --minify
6262

6363
- name: Build search index
6464
continue-on-error: true

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 | plainify) ". ") 0)) -}}.
59+
{{- safeHTML (strings.TrimPrefix (index (split .Name "|") 0) (index (split .Page.Summary ". ") 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 hugo.IsServer }}
3+
{{ if .Site.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 hugo.IsServer }}
3+
{{ if .Site.IsServer }}
44
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
55
{{ else }}
66
{{ $style := $style | fingerprint }}

0 commit comments

Comments
 (0)