diff options
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | exampleSite/content/posts/post-7.md | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 790bfee..107269c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -2,7 +2,7 @@ baseURL = "http://example.org/" languageCode = "en-us" title = "Ezhil" theme = "ezhil" -paginate = 5 +paginate = 3 copyright = "© Copyright notice" @@ -17,6 +17,7 @@ disqusShortname = "localhost" subtitle = "Clean and minimal personal [blog theme for Hugo](https://github.com/vividvilla/ezhil)" disableDisqusTypes = ["page"] featherIconsCDN = true + mode = "auto" # "dark" or "auto" [[menu.main]] name = "Home" diff --git a/exampleSite/content/posts/post-7.md b/exampleSite/content/posts/post-7.md new file mode 100644 index 0000000..174b948 --- /dev/null +++ b/exampleSite/content/posts/post-7.md @@ -0,0 +1,14 @@ +--- +title: "How to test dark mode?" +description: "Here is how you can setup dark mode for Ezhil and test on various OS like iOS, Android, macOS and Windows 10." +date: 2018-03-18T12:13:38+05:30 +--- + +You can set dark mode as default by setting `params.mode` to `dark` in `config.toml` or set it to `auto` which will detect based on your OS and switch to dark mode. For more details [refer documentation](https://github.com/vividvilla/ezhil#configuration) + +Here is how you can switch based on your OS + +* [iOS](https://www.howtogeek.com/440078/how-to-enable-dark-mode-on-your-iphone-and-ipad/) +* [Android](https://9to5google.com/2018/12/17/android-dark-mode-theme-pie/) +* [macOS](https://support.apple.com/en-in/HT208976) +* [Windows 10](https://www.cnet.com/how-to/turn-on-the-dark-mode-in-windows-10/) |