Skip to content

Commit

Permalink
chore: update hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering committed Nov 28, 2024
1 parent d3b1387 commit 1620db1
Show file tree
Hide file tree
Showing 8 changed files with 927 additions and 1,382 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.83.1"
hugo-version: "0.139.2"

- name: Build
run: hugo --buildDrafts --buildFuture -v
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.83.1"
hugo-version: "0.139.2"

- name: Build
run: hugo -v --minify
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/documentation_flyover.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<p
class="mt-1 text-sm overflow-hidden overflow-ellipsis opacity-60"
>
{{- safeHTML (strings.TrimPrefix (index (split .Name "|") 0) (index (split .Page.Summary ". ") 0)) -}}.
{{- safeHTML (strings.TrimPrefix (index (split .Name "|") 0) (index (split (.Page.Summary | plainify) ". ") 0)) -}}.
</p>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/scripts.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $script := resources.Get "assets/app.js" }}

{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
<script type="module" src="{{ $script.RelPermalink }}"></script>
{{ else }}
{{ $script := $script | fingerprint }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/stylesheets.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $style := resources.Get "assets/app.css" }}

{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
{{ else }}
{{ $style := $style | fingerprint }}
Expand Down
Loading

0 comments on commit 1620db1

Please sign in to comment.