Commit Graph

57 Commits

Author SHA1 Message Date
Sidharth R
efbc6acf90
Canonical URLs should be absolute not relative (#66)
https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls#rel-canonical-link-method
2021-12-13 06:18:39 -06:00
Sidharth R
ae30c7d3b8
Add support for markdown within notes & warnings (#64) 2021-10-25 08:32:09 -05:00
zwbetz-gh
ffdb78849e allow nav title text 2021-10-17 21:54:41 -05:00
zwbetz-gh
87e1a8608f use hugo's toc 2021-09-12 14:24:53 -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
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
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
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
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
zwbetz-gh
5e2ff37e94 fix accessibility issues 2020-06-10 20:01:12 -05:00
zwbetz
1ca7249810 add param to set dark theme as default 2020-06-02 21:14:46 -05:00
zwbetz
eba9255448 fix expandable 2020-06-02 20:37:46 -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
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
Robert Ignatowicz
eec634badd First attempt at fixing firefox dark mode (#22) 2020-01-25 20:22:16 -06:00
zwbetz
315fe6a8d9 rename figure shortcode to figureCupper 2019-10-02 20:03:16 -05:00
zwbetz
bf90b1e4da order tags a-to-z 2019-08-24 13:09:26 -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-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
0f986e4800 Use global hugo func 2019-04-11 09:34:41 -05:00
zwbetz
31c33627e6 Add Katex support 2019-04-02 20:59:56 -05:00
zwbetz
5f6591dd04 Make disqus button more subtle 2019-03-21 10:53:25 -05:00
Zachary Betz
5a35ac0fc2 IE friendly remove method 2019-03-08 12:09:32 -06:00
Zachary Betz
c2a934f566 Only load disqus comments on button click 2019-03-07 14:13:56 -06:00
Zachary Betz
58913dcd56 Add disqus comments 2019-03-06 11:01:16 -06:00
Zachary Betz
67ba008385 Add trailing url to tag 2019-03-05 12:19:53 -06:00
Zachary Betz
35ccaa287e Handle non-ascii chars in toc id 2019-02-26 10:16:01 -06:00
Zachary Betz
d58a5faefd Param for home meta tag content 2019-02-20 14:07:34 -06:00
Zachary Betz
b0c4dc0755 If is home then insert meta description 2019-02-20 14:01:28 -06:00
Zachary Betz
bbbc351494 Remove stray tag 2019-02-20 13:48:14 -06:00
Zachary Betz
a4227b559c Execute CSS resource as template 2019-02-15 10:57:49 -06:00
Zachary Betz
2061d36f78 Use with instead of if 2019-02-14 16:16:53 -06:00
Zachary Betz
299d50b7ee Add hugo generator tag 2019-02-14 13:35:17 -06:00
Zachary Betz
9f8fa6b85e Use with 2019-02-14 11:40:01 -06:00
Zachary Betz
501a421fb7 Lower case param 2019-02-14 11:37:42 -06:00
Zachary Betz
dd93ff9031 Replace isset with with 2019-02-14 11:34:55 -06:00
Zachary Betz
fe5dd70c06 Default date format 2019-02-14 11:31:24 -06:00
Zachary Betz
14582e042f Remove service worker 2019-02-14 09:11:57 -06:00
Zachary Betz
22ece0bf2e Tweak favicon logic 2019-02-13 15:47:30 -06:00
Zachary Betz
58c6b60c9e Make blockquotes pretty 2019-02-13 15:17:53 -06:00