Comments (6)
@leandrolmb yeah I found this issue while changing the config.toml and fixed it already.
But I forgot to add it to the release... Thanks for pointing this out.
I'll close this issue now.
from hugo-vitae.
Hi @leandrolmb,
dark-mode is activated by pressing the moon icon and deactivated when pressing the sun icon. The dark-mode stays activated when you pressed the moon-icon.
To make the dark mode default, set .Site.Params.darkmode
to true
.
from hugo-vitae.
Thanks for pointing out that there is no default dark-mode.
I've committed some changes so it is possible to make the darkmode the default.
If you want to know how, use the latest version of Vitae and check the config.toml
in the examples/
folder.
from hugo-vitae.
Oh ok, I would comment that I wasn't finding it. I will test it, thanks.
from hugo-vitae.
Please give me feedback if it worked for you. So I can close the issue. 👍
from hugo-vitae.
Working!
Just a little detail at config.toml
example file:
change the seURL = "http://example.org/"
to 'ba'seURL = "http://example.org/" first line
.
cause this little problem:
Thanks!!
from hugo-vitae.
Related Issues (20)
- Desactivate comments disqus for specific page HOT 2
- All links have a trailing space
- Internal templates are not available HOT 4
- Feature: Disable dark mode functionality
- Create templates for issues and pull requests
- Rework the "set dark mode as default" feature
- Code in hyperlink doesn't render HOT 2
- math rendering example HOT 4
- use safeURL HOT 2
- Source for default list page header prefers `.Data.Term` over `.Page.Title` HOT 6
- Dark mode icon is not shown if no social links are specified HOT 1
- Term with hashtag causing 404 error HOT 2
- [Question] How to put more posts on homepage? HOT 6
- Dark mode markdown codeblock background is white HOT 7
- readability issues in tables HOT 1
- Support for Persian? HOT 5
- When blog is in a subdirectory, resources does not load HOT 5
- Installation instructions not working HOT 1
- `customcss` isn't properly supported
- There must be at most one H1 tag in a page for SEO's sake HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-vitae.