From e828f526c977371499b050bc1c909db54479e73f Mon Sep 17 00:00:00 2001 From: Tony Wasserka <> Date: Sun, 22 Sep 2024 21:30:44 +0200 Subject: [PATCH] Re-add logo --- assets/scss/custom.scss | 8 -------- config/_default/params.toml | 1 + layouts/partials/docs/brand.html | 5 +++++ {assets => static}/3dbrew2.png | Bin 4 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 assets/scss/custom.scss create mode 100644 layouts/partials/docs/brand.html rename {assets => static}/3dbrew2.png (100%) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss deleted file mode 100644 index 901bb4d1..00000000 --- a/assets/scss/custom.scss +++ /dev/null @@ -1,8 +0,0 @@ -.sidebar header { - .site-avatar { - .site-logo { - border-radius: 0%; - box-shadow: none; - } - } -} diff --git a/config/_default/params.toml b/config/_default/params.toml index 1e8261bf..96ae7e26 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,5 +1,6 @@ BookRepo = 'https://github.com/mikage-emu/3dbrew' BookEditPath = 'edit/main' +BookLogo = '3dbrew2.png' [article] readingTime = false diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html new file mode 100644 index 00000000..ceb62e81 --- /dev/null +++ b/layouts/partials/docs/brand.html @@ -0,0 +1,5 @@ + + {{- with .Site.Params.BookLogo -}} + Logo + {{- end -}} + diff --git a/assets/3dbrew2.png b/static/3dbrew2.png similarity index 100% rename from assets/3dbrew2.png rename to static/3dbrew2.png