diff --git a/assets/images/logos/logo.png b/assets/images/logos/logo.png index 2c49180..5a03b10 100644 Binary files a/assets/images/logos/logo.png and b/assets/images/logos/logo.png differ diff --git a/assets/images/logos/title_logo.png b/assets/images/logos/title_logo.png index 2c49180..eaf6360 100644 Binary files a/assets/images/logos/title_logo.png and b/assets/images/logos/title_logo.png differ diff --git a/go.mod b/go.mod index a0fc8fa..9cd873c 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index ee3c3bf..5036623 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/themes/lotusdocs/theme.toml b/theme.toml similarity index 100% rename from themes/lotusdocs/theme.toml rename to theme.toml diff --git a/themes/lotusdocs/layouts/docs/baseof.html b/themes/lotusdocs/layouts/docs/baseof.html index ec76bd7..1af1105 100644 --- a/themes/lotusdocs/layouts/docs/baseof.html +++ b/themes/lotusdocs/layouts/docs/baseof.html @@ -16,7 +16,7 @@ {{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "sidebar.html") . -}}
- {{ 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") . -}} diff --git a/themes/lotusdocs/layouts/partials/docs/head/opengraph.html b/themes/lotusdocs/layouts/partials/docs/head/opengraph.html index bf695e7..176c0ad 100644 --- a/themes/lotusdocs/layouts/partials/docs/head/opengraph.html +++ b/themes/lotusdocs/layouts/partials/docs/head/opengraph.html @@ -42,4 +42,4 @@ {{- end }} {{- /* Facebook Page Admin ID for Domain Insights */}} -{{- with .Site.Social.facebook_admin }}{{ end }} \ No newline at end of file +{{- with .Site.Params.facebook_admin }}{{ end }} \ No newline at end of file diff --git a/themes/lotusdocs/layouts/partials/docs/head/twitter_cards.html b/themes/lotusdocs/layouts/partials/docs/head/twitter_cards.html index 207fb09..b4ce356 100644 --- a/themes/lotusdocs/layouts/partials/docs/head/twitter_cards.html +++ b/themes/lotusdocs/layouts/partials/docs/head/twitter_cards.html @@ -18,6 +18,6 @@ {{- end }} -{{ with .Site.Social.twitter -}} +{{ with .Site.Params.twitter -}} {{ end -}} \ No newline at end of file diff --git a/themes/lotusdocs/layouts/partials/docs/top-header.html b/themes/lotusdocs/layouts/partials/docs/top-header.html index a19fbca..057e8d5 100644 --- a/themes/lotusdocs/layouts/partials/docs/top-header.html +++ b/themes/lotusdocs/layouts/partials/docs/top-header.html @@ -78,7 +78,7 @@ {{ end -}} - {{ if .Site.IsMultiLingual }} + {{ if hugo.IsMultilingual }}