Skip to content

Commit

Permalink
⚡️ Hugo deprecacion fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Funasitien committed Sep 21, 2024
1 parent 0dd69bd commit 045d2f8
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 8 deletions.
Binary file modified assets/images/logos/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/logos/title_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
module github.com/Vaatigames/help-center
module github.com/democraftmc/d0cs

go 1.23.0

require (
github.com/colinwilson/lotusdocs v0.1.0 // indirect
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
github.com/colinwilson/lotusdocs v0.1.0 h1:oTC8pAYQp9XDNaUwE4SEY+id3ByNELxIIFrktYEGxYA=
github.com/colinwilson/lotusdocs v0.1.0/go.mod h1:9zu2REJDi+zdPRcR5/bRYSUR7gkNF4NQLvV38SEoCP8=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 h1:SmpwwN3DNzJWbV+IT8gaFu07ENUFpCvKou5BHYUKuVs=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200/go.mod h1:kx8MBj9T7SFR8ZClWvKZPmmUxBaltkoXvnWlZZcSnYA=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI=
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion themes/lotusdocs/layouts/docs/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "sidebar.html") . -}}
<!-- Start Page Content -->
<main class="page-content bg-transparent">
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "top-header.html") . -}}
{{ else }}
{{- partialCached (printf "%s/%s" ($.Scratch.Get "pathName") "top-header.html") . -}}
Expand Down
2 changes: 1 addition & 1 deletion themes/lotusdocs/layouts/partials/docs/head/opengraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
{{- end }}

{{- /* Facebook Page Admin ID for Domain Insights */}}
{{- with .Site.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}
{{- with .Site.Params.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
{{- end }}
<meta name="twitter:title" content="{{ .Title }}"/>
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
{{ with .Site.Social.twitter -}}
{{ with .Site.Params.twitter -}}
<meta name="twitter:site" content="@{{ . }}"/>
{{ end -}}
2 changes: 1 addition & 1 deletion themes/lotusdocs/layouts/partials/docs/top-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</span>
</button>
{{ end -}}
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
<div class="dropdown">
<button class="btn btn-link btn-default dropdown-toggle ps-2" type="button" data-bs-toggle="dropdown" aria-expanded="false">
{{ site.Language.Lang | upper }}
Expand Down

0 comments on commit 045d2f8

Please sign in to comment.