Commit Graph

19 Commits

Author SHA1 Message Date
zwbetz-gh
ffdb78849e allow nav title text 2021-10-17 21:54:41 -05:00
Daniel F. Dickinson
87c4c8dfbd
Add default dark theme for modern browsers (#56)
* Add default dark theme for modern browsers

This version is based on the DOM specification used by Firefox, Chrome,
and the new Edge. Since it is standards compliant it should work on
modern browsers, but dark mode won't be available on IE11 and maybe the
old Edge.
I have avoided the screen flash on loading the page, and toggling from
dark to light (or vice versa) both when dark
is default and when light is default.

Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com>

* Edit/improve as suggested by maintainer

* Improves documentation (README.md)
* Improves Go template logic for setting the default theme type
* Improves coding (and markdown) style
* Adds the new param to exampleSite/config.yaml for documentation

Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com>
2021-08-16 21:35:09 -05:00
zwbetz-gh
fa9968a3ed new site param: logoAlt 2021-05-16 01:44:41 -05:00
zwbetz-gh
78021345d9 new param: moveFooterToHeader 2021-01-13 15:08:57 -06:00
zwbetz-gh
1a3ed20f93 config option to show theme switcher 2021-01-10 13:36:21 -06:00
zwbetz-gh
2c39eba5a6 remove darkThemeAsDefault 2020-11-24 20:52:10 -06:00
zwbetz-gh
9824fe3e2e support custom css and js files 2020-11-16 20:32:11 -06:00
zwbetz-gh
67f79b8474 add search by title 2020-06-20 22:16:24 -05:00
zwbetz-gh
e9a24f95ec config for hide header links 2020-06-11 13:12:51 -05:00
zwbetz
1ca7249810 add param to set dark theme as default 2020-06-02 21:14:46 -05:00
lucasradaelli
8984ca9d6a
Custom css and localization support (#28)
* Adds i18n support for theme

* Adds a way for sites to have custom css.

This change adds a param to the theme (called customCss), which allows sites to
provide extra css under static/, so that they don't need to copy the theme's css
whole file.

If no custom css is in the params, this change is NOP.
2020-06-01 13:47:51 -05:00
zwbetz
9e3ec40f5b upgrade to hugo 0.60.1 2019-12-10 21:06:02 -06:00
zwbetz
a5e57ae133 Revert "Remove katex support, for now"
This reverts commit 56f7738d6e.
2019-04-21 11:42:51 -05:00
zwbetz
90caaa368c Add lastmod to post 2019-04-14 21:24:47 -05:00
zwbetz
56f7738d6e Remove katex support, for now 2019-04-11 09:32:07 -05:00
zwbetz
31c33627e6 Add Katex support 2019-04-02 20:59:56 -05:00
Zachary Betz
58913dcd56 Add disqus comments 2019-03-06 11:01:16 -06:00
Zachary Betz
d58a5faefd Param for home meta tag content 2019-02-20 14:07:34 -06:00
Zachary Betz
f1b9ef4abf Add config.yaml option 2019-02-18 09:49:41 -06:00