diff --git a/docs/hugo.toml b/docs/hugo.toml index 4438c75..0505a48 100644 --- a/docs/hugo.toml +++ b/docs/hugo.toml @@ -35,13 +35,24 @@ disablePathToLower = true [params.navbar] displayTitle = true - displayLogo = false + displayLogo = true + + [params.navbar.logo] + path = "images/logo.svg" + width = "24" + height = "24" [params.footer] enable = true - displayCopyright = true + displayCopyright = false displayPoweredBy = false + [params.blog] + [params.blog.list] + displayTags = true + sortBy = "date" + sortOrder = "desc" + [[menu.main]] identifier = "docs" name = "Docs" diff --git a/docs/i18n/en.yaml b/docs/i18n/en.yaml new file mode 100644 index 0000000..9e2c9ad --- /dev/null +++ b/docs/i18n/en.yaml @@ -0,0 +1 @@ +copyright: "© 2026 [Tobias Gesellchen](https://github.com/gesellix)" diff --git a/docs/layouts/_partials/custom/footer.html b/docs/layouts/_partials/custom/footer.html new file mode 100644 index 0000000..a38c26e --- /dev/null +++ b/docs/layouts/_partials/custom/footer.html @@ -0,0 +1,14 @@ +
+ + + {{- partial "utils/icon.html" (dict "name" "heart" "attributes" `height="1em" class="hx:inline-block hx:align-[-2px]"`) -}} + + Sponsor this project + + + © 2026 Tobias Gesellchen + +
diff --git a/docs/layouts/_partials/navbar-title.html b/docs/layouts/_partials/navbar-title.html new file mode 100644 index 0000000..0525e35 --- /dev/null +++ b/docs/layouts/_partials/navbar-title.html @@ -0,0 +1,19 @@ +{{- $logoPath := .Site.Params.navbar.logo.path | default "images/logo.svg" -}} +{{- $logoLink := .Site.Params.navbar.logo.link | default .Site.Home.RelPermalink -}} +{{- $logoWidth := .Site.Params.navbar.logo.width | default "20" -}} +{{- $logoHeight := .Site.Params.navbar.logo.height | default "20" -}} +{{- $logoDarkPath := .Site.Params.navbar.logo.dark | default $logoPath -}} + + + {{- $displayTitle := (.Site.Params.navbar.displayTitle | default true) }} + {{- if (.Site.Params.navbar.displayLogo | default true) }} + {{ cond $displayTitle `Logo` .Site.Title }} + {{ cond $displayTitle `Dark Logo` .Site.Title }} + {{- end }} + {{- if $displayTitle }} +
+ {{- .Site.Title -}} + Bose SoundTouch Toolkit +
+ {{- end }} +
diff --git a/docs/static/favicon.svg b/docs/static/favicon.svg new file mode 100644 index 0000000..483882f --- /dev/null +++ b/docs/static/favicon.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/docs/static/images/logo.svg b/docs/static/images/logo.svg new file mode 100644 index 0000000..483882f --- /dev/null +++ b/docs/static/images/logo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +