Commit Graph

420 Commits

Author SHA1 Message Date
zwbetz-gh
ebceede3a7
Non-Git Repo 2021-08-20 12:42:50 -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
c2914816e1 how to support more languages with prism 2021-07-28 20:52:05 -05:00
JulesFouchy
2b50ce922a
Fix favicon links when using a / in baseURL (#53)
* Fix favicon links when using a / in baseURL

* Favicon links : Use absURL instead of baseURL
2021-06-02 19:31:04 -05:00
zwbetz-gh
d3b1deb096 update min hugo version 2021-05-25 13:51:55 -05:00
zwbetz-gh
1929b7a9c5 update hugo version to 0.83.1 2021-05-19 21:06:01 -05:00
zwbetz-gh
7210152413 meta description 2021-05-19 20:59:38 -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
250f5e47e5 .com => .app 2020-11-24 21:11:32 -06:00
zwbetz-gh
6e91d32813 set Access-Control-Allow-Origin in netlify config 2020-11-24 21:09:58 -06:00
zwbetz-gh
2c39eba5a6 remove darkThemeAsDefault 2020-11-24 20:52:10 -06:00
zwbetz-gh
a86462deb4 prefer rel over abs 2020-11-24 20:51:01 -06:00
zwbetz-gh
27dbcc6dd9 prevent white flash on page load when dark theme is persisted 2020-11-23 22:39:04 -06:00
zwbetz-gh
9824fe3e2e support custom css and js files 2020-11-16 20:32:11 -06:00
Florian Kohrt
da0a871758
Update Miriam Libre Bold; source: google-webfonts-helper (hebrew+latin+latin-ext); fixes #40 (#43) 2020-08-22 13:47:17 -05:00
zwbetz-gh
72bb0d7e7e do #42 2020-08-04 21:25:42 -05:00
zwbetz-gh
b4d6db179a i18n for search 2020-07-10 13:59:32 -05:00
zwbetz-gh
67f79b8474 add search by title 2020-06-20 22:16:24 -05:00
zwbetz-gh
10ae1fcf36 fix issue #36 2020-06-17 22:32:30 -05:00
zwbetz-gh
93bb015db6 fix header logo link 2020-06-14 14:05:19 -05:00
Antonio Garro
7ffa86175c
Prevent displacement of nav items when selected. (#35) 2020-06-14 14:00:56 -05:00
zwbetz-gh
e9a24f95ec config for hide header links 2020-06-11 13:12:51 -05:00
zwbetz-gh
5e2ff37e94 fix accessibility issues 2020-06-10 20:01:12 -05:00
zwbetz-gh
f6708d1cf4 script to setup local git config 2020-06-10 19:51:33 -05:00
zwbetz
1ca7249810 add param to set dark theme as default 2020-06-02 21:14:46 -05:00
zwbetz
b1b83b6fe6 bump netlify hugo version 2020-06-02 20:39:33 -05:00
zwbetz
eba9255448 fix expandable 2020-06-02 20:37:46 -05:00
zwbetz-gh
563664174f
readme inline code 2020-06-01 20:49:59 -05:00
lucasradaelli
eb778774d0
adds missing skip to content link in the localization flow (#29)
* 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.

* Adds skip to content link as part of the localization flow
2020-06-01 20:48:33 -05:00
zwbetz-gh
063a505b33
readme wording 2020-06-01 13:50:55 -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-gh
80cd067683
Update README.md 2020-04-23 10:07:45 -05:00
Robert Ignatowicz
eec634badd First attempt at fixing firefox dark mode (#22) 2020-01-25 20:22:16 -06:00
zwbetz
9e3ec40f5b upgrade to hugo 0.60.1 2019-12-10 21:06:02 -06:00
zwbetz
315fe6a8d9 rename figure shortcode to figureCupper 2019-10-02 20:03:16 -05:00
zwbetz
0332ae9c7c bump hugo version to 0.58.3 2019-09-24 23:32:29 -05:00
zwbetz
5c9b53e9a5 special character test 2019-09-10 20:28:10 -05:00
zwbetz
00266961e7 bump hugo version 2019-09-10 20:24:02 -05:00
zwbetz
bf90b1e4da order tags a-to-z 2019-08-24 13:09:26 -05:00
zwbetz
f924417a5d bump netlify hugo version 2019-08-20 11:39:35 -05:00
zwbetz
5da8f5afe9 Fix the following shortcodes to work with new hugo ver: fileTree, ticks 2019-04-23 12:46:28 -05:00
zwbetz
c51dd9f4f2 Merge branch 'master' of github.com:zwbetz-gh/cupper-hugo-theme 2019-04-21 11:46:33 -05:00
zwbetz
3b8b373eec CSS for Katex (thank you antoniogarro) 2019-04-21 11:46:15 -05:00
zwbetz
a5e57ae133 Revert "Remove katex support, for now"
This reverts commit 56f7738d6e.
2019-04-21 11:42:51 -05:00
zwbetz-gh
c73877dcfc
Lastmod wording 2019-04-15 09:44:23 -05:00
zwbetz
90caaa368c Add lastmod to post 2019-04-14 21:24:47 -05:00
zwbetz
3894ae6990 Bump min hugo ver 2019-04-11 09:57:17 -05:00
zwbetz
0f986e4800 Use global hugo func 2019-04-11 09:34:41 -05:00