Skip to content

Commit

Permalink
💄 Add logo for light and dark modes and update header settings
Browse files Browse the repository at this point in the history
- Uploaded site logo files for both light (square-logo.png) and dark (square-logo-dark.png) modes.
- Updated header configuration: set logo paths and disabled site title in header.
- Implemented workaround for bug in theme: swapped light and dark logos to render correctly.
  • Loading branch information
socrabytes committed Sep 22, 2024
1 parent 73e83b4 commit e81d9c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added assets/img/square-logo-dark.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 added assets/img/square-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ fingerprintAlgorithm = "sha256"

[header]
layout = "hybrid" # valid options: basic, hamburger, hybrid, custom
# logo = "img/logo.jpg"
# logoDark = "img/dark-logo.jpg"
showTitle = true
logo = "img/square-logo-dark.png" # Bug: theme improperly handling logo versions of light/dark
logoDark = "img/square-logo.png" # Dark mode logo swapped for rendering bug workaround
showTitle = false # Disable title as logo is now displayed

[footer]
showCopyright = true
Expand Down

0 comments on commit e81d9c2

Please sign in to comment.