Skip to content

Commit df6f08c

Browse files
committed
update-new-version-hugo
1 parent 215c1bd commit df6f08c

File tree

637 files changed

+48255
-10297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

637 files changed

+48255
-10297
lines changed

assets/jsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"baseUrl": ".",
44
"paths": {
55
"*": [
6-
"../../../../Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/[email protected]/package/dist/cjs/*",
7-
"../../../../Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/twbs/[email protected]+incompatible/js/*"
6+
"../../../Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/[email protected]/package/dist/cjs/*",
7+
"../../../Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/twbs/[email protected]+incompatible/js/*"
88
]
99
}
1010
}

content/blog/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
title: "blog"
33
url: "blog/"
4-
Date: "January 2, 2006"
4+
date: "2025-03-27T00:00:00Z"
55
---

content/meetups/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
title: "Meetups"
33
url: "Meetups/"
4-
Date: "January 2, 2006"
4+
date: "2025-03-27T00:00:00Z"
55
---

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<!-- Lotus Docs JS -->
4242
{{ $app := resources.Get "/js/app.js" }}
43-
{{- if not .Site.IsServer }}
43+
{{- if not hugo.IsServer }}
4444
{{- $js := (slice $app) | resources.Concat "/js/bundle.js" | minify | fingerprint "sha384" }}
4545
<script type="text/javascript" src="{{ $js.Permalink }}" integrity="{{ $js.Data.Integrity }}"></script>
4646
{{- else }}

layouts/docs/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "sidebar.html") . -}}
1717
<!-- Start Page Content -->
1818
<main class="page-content bg-transparent">
19-
{{ if .Site.IsMultiLingual }}
19+
{{ if hugo.IsMultilingual }}
2020
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "top-header.html") . -}}
2121
{{ else }}
2222
{{- partialCached (printf "%s/%s" ($.Scratch.Get "pathName") "top-header.html") . -}}

layouts/partials/docs/footer/footer-scripts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
{{ $js := $slice | resources.Concat (printf "/%s/%s" ($.Scratch.Get "pathName") "js/bundle.js") -}}
5151

52-
{{- if not .Site.IsServer }}
52+
{{- if not hugo.IsServer }}
5353
{{- $js := $js | minify | fingerprint "sha384" }}
5454
<script type="text/javascript" src="{{ $js.Permalink }}" integrity="{{ $js.Data.Integrity }}" crossorigin="anonymous" defer></script>
5555
{{- else }}

layouts/partials/docs/head.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{{ if and (.Site.Params.docsearch.appID) (.Site.Params.docsearch.apiKey) -}}
4343
{{ else }}
4444
{{ $flexSearch := resources.Get (printf "/%s/%s" ($.Scratch.Get "pathName") "js/flexsearch.bundle.js") }}
45-
{{- if not .Site.IsServer }}
45+
{{- if not hugo.IsServer }}
4646
{{ $flexSearch := $flexSearch | minify | fingerprint "sha384" }}
4747
<script type="text/javascript" src="{{ $flexSearch.Permalink }}" integrity="{{ $flexSearch.Data.Integrity }}" crossorigin="anonymous"></script>
4848
{{ else }}
@@ -58,7 +58,7 @@
5858
{{- $options := dict "enableSourceMap" false "outputStyle" "compressed" }}
5959
{{- end }}
6060
{{- $style := resources.Get (printf "/%s/%s" ($.Scratch.Get "pathName") "scss/style.scss") }}
61-
{{- $style = $style | resources.ExecuteAsTemplate (printf "/%s/%s" ($.Scratch.Get "pathName") "scss/style.scss") . | resources.ToCSS $options }}
61+
{{- $style = $style | resources.ExecuteAsTemplate (printf "/%s/%s" ($.Scratch.Get "pathName") "scss/style.scss") . | css.Sass $options }}
6262
{{- if hugo.IsProduction }}
6363
{{- $style = $style | minify | fingerprint "sha384" }}
6464
{{- end -}}
@@ -70,7 +70,7 @@
7070
{{- $options := dict "enableSourceMap" false "outputStyle" "compressed" }}
7171
{{- end -}}
7272
{{- $katexCSS := resources.Get (printf "/%s/%s" ($.Scratch.Get "pathName") "scss/katex.scss") }}
73-
{{- $katexCSS = $katexCSS | resources.ExecuteAsTemplate (printf "/%s/%s" ($.Scratch.Get "pathName") "scss/katex.scss") . | resources.ToCSS $options }}
73+
{{- $katexCSS = $katexCSS | resources.ExecuteAsTemplate (printf "/%s/%s" ($.Scratch.Get "pathName") "scss/katex.scss") . | css.Sass $options }}
7474
{{- if hugo.IsProduction }}
7575
{{- $katexCSS = $katexCSS | minify | fingerprint "sha384" }}
7676
{{- end -}}
@@ -93,13 +93,13 @@
9393
{{- partialCached (printf "%s/%s" ($.Scratch.Get "pathName") "footer/katex.html") . -}}
9494
{{ end }}
9595
<!-- Plausible Analytics Config -->
96-
{{- if not .Site.IsServer }}
96+
{{- if not hugo.IsServer }}
9797
{{ if and (.Site.Params.plausible.scriptURL | default "https://plausible.io") (.Site.Params.plausible.dataDomain) -}}
9898
{{- partialCached (printf "%s/%s" ($.Scratch.Get "pathName") "head/plausible") . }}
9999
{{- end -}}
100100
{{- end -}}
101101
<!-- Google Analytics v4 Config -->
102-
{{- if not .Site.IsServer }}
102+
{{- if not hugo.IsServer }}
103103
{{- if .Site.GoogleAnalytics }}
104104
{{- template "_internal/google_analytics.html" . -}}
105105
{{- end -}}

layouts/partials/docs/head/opengraph.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242
{{- end }}
4343

4444
{{- /* Facebook Page Admin ID for Domain Insights */}}
45-
{{- with .Site.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}
45+
{{- with .Site.Params.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}

layouts/partials/docs/head/twitter_cards.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
{{- end }}
1919
<meta name="twitter:title" content="{{ .Title }}"/>
2020
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
21-
{{ with .Site.Social.twitter -}}
21+
{{ with .Site.Params.Social.twitter -}}
2222
<meta name="twitter:site" content="@{{ . }}"/>
2323
{{ end -}}

layouts/partials/docs/top-header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
</span>
7979
</button>
8080
{{ end -}}
81-
{{ if .Site.IsMultiLingual }}
81+
{{ if hugo.IsMultilingual }}
8282
<div class="dropdown">
8383
<button class="btn btn-link btn-default dropdown-toggle ps-2" type="button" data-bs-toggle="dropdown" aria-expanded="false">
8484
{{ site.Language.Lang | upper }}

0 commit comments

Comments
 (0)