Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dark background #1024

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

BernatBC
Copy link
Member

Issue

Description

You can set the background for the dark mode in hugo.yaml.

# Site parameters
params:
  # Background image of the landing page
  background: "images/background.jpg"
  darkBackground: "images/background_dark.jpg"

Test Evidence

Copy link

netlify bot commented Jan 17, 2025

Deploy Preview for toha-ci ready!

Name Link
🔨 Latest commit 8debb95
🔍 Latest deploy log https://app.netlify.com/sites/toha-ci/deploys/678ac1585a97cd0008254a63
😎 Deploy Preview https://deploy-preview-1024--toha-ci.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to set different background image for dark and light themes?
1 participant