Skip to content

Commit

Permalink
chore: remove deprecated APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
wlh320 committed Dec 4, 2024
1 parent 9668f12 commit 29500f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.124.1
HUGO_VERSION: 0.139.3
steps:
- name: Install Hugo CLI
run: |
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defaultContentLanguage = 'en'
title = 'My New Hugo Site'
hasCJKLanguage = false
# summaryLength = 80
paginate = 3
pagination.pagerSize = 3

theme = "../../"

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{{- $bulma := $bulmaCss | resources.Minify }}
<link rel="stylesheet" type="text/css" href="{{ $bulma.RelPermalink }}">
{{- end }}
{{- $hulga := $hulgaScss | resources.ExecuteAsTemplate "css/hulga.scss" . | resources.ToCSS $options | resources.Minify }}
{{- $hulga := $hulgaScss | resources.ExecuteAsTemplate "css/hulga.scss" . | css.Sass $options | resources.Minify }}
<link rel="stylesheet" type="text/css" href="{{ $hulga.RelPermalink }}">
{{- if .Site.Params.pwa }}
<link rel="manifest" href="/manifest.json">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/toc.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $options := (dict "outputStyle" "compressed" "includePaths" (slice "sass")) }}
{{ $tocScss := resources.Get "css/toc.scss" }}
{{ $toc := $tocScss | resources.ExecuteAsTemplate "css/toc.scss" . | resources.ToCSS $options | resources.Minify }}
{{ $toc := $tocScss | resources.ExecuteAsTemplate "css/toc.scss" . | css.Sass $options | resources.Minify }}
<link rel="stylesheet" type="text/css" href="{{ $toc.Permalink | absURL }}">
{{- if .Site.Params.noCDN -}}
<script src={{ "js/tocbot.min.js" | absURL }}></script>
Expand Down

0 comments on commit 29500f1

Please sign in to comment.