Commit Graph

37 Commits

Author SHA1 Message Date
2f7a0351f1 feat: can add blog post in nav 2022-12-03 16:47:16 +01:00
zwbetz-gh
d5ffe2f369 fix 71 2022-05-30 21:33:30 -05:00
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
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
67f79b8474 add search by title 2020-06-20 22:16:24 -05:00
zwbetz-gh
93bb015db6 fix header logo link 2020-06-14 14:05:19 -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
Robert Ignatowicz
eec634badd First attempt at fixing firefox dark mode (#22) 2020-01-25 20:22:16 -06: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
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
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
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
a553a9526f Shortcode overhaul 2019-02-12 23:52:29 -06:00
Zachary Betz
4a3b86afb6 Refactor baseof template 2019-02-12 23:11:59 -06:00
Zachary Betz
7802890078 Reorganize 2019-01-31 18:19:20 -06:00