Commit Graph

134 Commits

Author SHA1 Message Date
Robert Kaussow a78a8afb57
fix: switch back to flexsearch compact to avoid usage of eval (#268) 2022-01-08 17:44:53 +01:00
Robert Kaussow bf0981bcc6
chore: cleanup build setup and webpack requirements (#265) 2022-01-07 16:18:07 +01:00
Robert Kaussow bbfc75ecb0
rework search integration (#262) 2022-01-06 22:52:22 +01:00
Robert Kaussow 5c5e2d59cb
refactor: replace gulp by webpack and npm scripts (#258)
BREAKING CHANGE: We have replaced `gulp` with `webpack` and `npm scripts` to build this theme. If you build it on your own or use build commands during the deployment, you may have to adjust your setup.

BREAKING CHANGE: The `GeekblogIcons` font is using the icon name as Unicode now. As a consequence, you have to replace all references to Icons from this font if you have customized the theme.

BREAKING CHANGE: We have refactored the search integration to split Hugo templates from JavaScript code. To get it working again, you need to adjust the `outputFormats` and `outputs` in your Hugo configuration file, as [documented](https://geekdocs.de/usage/configuration/#site-configuration).
2022-01-06 13:58:10 +01:00
Robert Kaussow 6e7c01e04f
cleanup formatting and docs (#247) 2021-11-24 09:10:26 +01:00
Robert Kaussow 9c116862f0
fix: fix various spacing issues (#238) 2021-11-13 13:57:06 +01:00
Robert Kaussow 0ce5466227
fix: add background color to code copy button (#235) 2021-11-08 09:12:44 +01:00
Robert Kaussow 75f56d8fad
feat: add button to copy code blocks (#228)
BREAKING CHANGE: The `--code-max-height` formatting is applied only to code blocks that use syntax highlighting, see [documentation](https://geekdocs.de/features/code-blocks/).
2021-11-07 22:12:14 +01:00
Robert Kaussow d03c035d48
feat: icon shift on header menu (#219) 2021-10-15 11:50:11 +02:00
Robert Kaussow 3f296625fb
feat: add tags to post pages (#193) 2021-09-01 10:18:00 +02:00
Robert Kaussow c11015bb0d
feat: add 'home' link to header menu on mobile view for better accessibility (#192) 2021-08-24 17:45:40 +02:00
Robert Kaussow cb8747b98e
fix: increase spacing between items in the header menu (#191) 2021-08-24 17:35:11 +02:00
Robert Kaussow fcbd80b15b
feat: add new icon 'home' to built-in icon set (#190) 2021-08-24 17:34:54 +02:00
Robert Kaussow 57bbc46a47
feat: add optional icon menu to site header (#184) 2021-08-12 18:17:49 +02:00
Robert Kaussow 0ea7ebf1a2
fix: add div wrapper around markdown tables to allow overflows (#177) 2021-08-02 14:06:24 +02:00
Robert Kaussow 8abe25f3cb
feat: add 'back-to-top' link to site footer (#167)
* feat: add 'back-to-top' link to site footer

* add aria-label to link
2021-07-20 09:58:56 +02:00
Robert Kaussow 9682ef999b
fix: adjust colors to improve accessibility (#159) 2021-07-05 08:42:48 +02:00
Robert Kaussow 888335d3b3
fix: remove headline anchors on more shortcodes (#158) 2021-07-01 09:28:27 +02:00
Robert Kaussow 550745e727
feat: add katex math typesetting shortcode (#157) 2021-07-01 09:05:26 +02:00
Robert Kaussow 6d70e1863a
remove old icon telescope from iconfont as well 2021-05-23 17:37:56 +02:00
Robert Kaussow 021eaf7ab6
feat: add sizes 'regular' and 'large' to button shortcode (#135) 2021-05-21 15:51:19 +02:00
Robert Kaussow cc10b9d80a
chore: normalize font-size vars (#134) 2021-05-21 13:31:19 +02:00
Robert Kaussow 649e3cf752
fix: remove inline script usage (#133) 2021-05-21 11:33:17 +02:00
Robert Kaussow 98271b1232
chore: remove unused font and only preload main fonts (#132) 2021-05-19 22:10:54 +02:00
Robert Kaussow e629d15607
feat: add page parameter geekdocAlign to control a pages text alignment (#130) 2021-05-19 00:00:57 +02:00
Robert Kaussow 4424e0b81c
feat: add css variable to set max height for code blocks (#119) 2021-05-13 14:05:38 +02:00
Robert Kaussow f296f85366
chore: use cleaner table formatting (#110) 2021-05-08 22:44:52 +02:00
Robert Kaussow b82f5e1ae8
fix: reset dimming filters in light mode (#109) 2021-05-08 13:32:33 +02:00
Robert Kaussow c05cd36f57
refactor: cleanup and restructure gulp tasks (#101) 2021-05-05 22:44:36 +02:00
Robert Kaussow 9fa2c5aff8
fix: use same css proterty for header border and footer background 2021-04-29 21:01:29 +02:00
Robert Kaussow 59be9a504f
Dark mode (#66) 2021-04-27 23:44:35 +02:00
Robert Kaussow fb8d22d967
fix: fix broken search result links in WebKit browsers (#86)
Fixes: https://github.com/thegeeklab/hugo-geekdoc/issues/85
2021-03-06 11:24:58 +01:00
Robert Kaussow ecc59e6482
fix: adjust default logo size to better match font size 2021-03-04 22:21:00 +01:00
Robert Kaussow 9ab80e989e
feat: replace error page icon (#84)
BREAKING CHANGE: The icon `gdoc_telescope` was removed. If you are using this icon you have to replace it.
2021-03-04 22:01:10 +01:00
Leah Oswald 10203cd9a0
feat: allow user-defined overwriting of the logo size (#83) 2021-03-04 21:25:25 +01:00
Robert Kaussow 5e105c9ff4
feat: auto-load custom svg sprites from assets folder (#79)
BREAKING CHANGE: Build-in icons are prefixed with `gdoc_` now. If you use build-in icons in e.g. menus you have to rename these references!
2021-03-03 21:07:59 +01:00
Robert Kaussow 5c15ade342
fix: enforce css overwrite for raw links (#77) 2021-02-24 16:38:18 +01:00
Robert Kaussow 10e95b8c7b
fix: fix formatting of nested code blocks (#75) 2021-02-23 09:55:39 +01:00
Robert Kaussow f2953586ad
set border size from var 2021-02-21 22:39:03 +01:00
Robert Kaussow a8af7c3791
fix: switch back to pixel based border sizes 2021-02-21 22:34:34 +01:00
Robert Kaussow 7d028ddc71
chore: normalize sass default vars 2021-02-21 14:44:44 +01:00
Robert Kaussow 0d80589019
fix: prevend wrong formatting for linked images 2021-02-21 14:04:40 +01:00
i7d3v3l0p3r a6f5bb9d5f
fix: avoid overlapping site footer in print view (#72) 2021-02-20 23:29:04 +01:00
i7d3v3l0p3r e29fa7a327
feat: add structured data annotation to breadcrumb nav (#67) 2021-02-20 22:54:49 +01:00
Robert Kaussow 1cf78cea4f
feat: add custom img shortcode (#71) 2021-02-20 21:39:31 +01:00
Robert Kaussow 7d1739ef7d
fix: set line-height in normalized h1 to avoid overlapping (#58) 2021-02-07 14:14:04 +01:00
Robert Kaussow b90fbbedd2
fix search issues 2020-12-23 16:43:41 +01:00
Robert Kaussow f11fb7d21b
prepare release 2020-12-22 13:45:25 +01:00
Robert Kaussow ce36121096
cleanup search code fix search entry formatting 2020-12-21 13:14:51 +01:00
Lukas Hirt 9f8ac77af6 Group search by sections 2020-12-20 22:43:12 +01:00
Robert Kaussow cff562644e
normalize source icon size for the icon font 2020-11-28 15:05:04 +01:00
Robert Kaussow 9f437094fe
add new icons for vcs providers"
Addresses #27.

New icons added:

- bitbucket
- gitlab
- git
2020-11-26 22:58:08 +01:00
Robert Kaussow 5df0ba4b35
add new page parameter GeekdocCollapseSection 2020-11-16 22:47:50 +01:00
Robert Kaussow 8628fbbd7e
normalize svg icons and iconfont source 2020-11-16 22:24:23 +01:00
Robert Kaussow dfd2f6725d
split out css 2020-11-09 22:06:06 +01:00
Robert Kaussow 0d4231f98e
cleanup npm scripts 2020-10-20 16:38:47 +02:00
Robert Kaussow 257253a1bd
increase size between footer links 2020-09-19 22:06:38 +02:00
Robert Kaussow ab0867d2df
add font and css preloading links 2020-09-19 12:23:14 +02:00
Robert Kaussow d4d8437388
improve and normalize microblog formatting 2020-09-17 22:44:42 +02:00
Robert Kaussow a81f858848
setup prettier 2020-09-10 22:23:24 +02:00
Robert Kaussow f84375f21c
remove left anchor option and adjust spacing 2020-09-07 21:51:04 +02:00
Robert Kaussow 5eb04b81d2 fix mermaid default font 2020-06-02 21:22:10 +02:00
Robert Kaussow 178b92b0a0 add lighthouse-ci to drone 2020-06-02 18:11:29 +02:00
Robert Kaussow e361563626 cleanup gulp 2020-06-02 18:11:29 +02:00
Robert Kaussow a428f9d84d configure npm 2020-06-02 18:07:53 +02:00
Robert Kaussow 9a858bce54 add some formatting improvements 2020-05-05 10:15:30 +02:00
Michael Barz 2bd4f35de2
remove white space between ln nos and code 2020-05-05 09:28:13 +02:00
Robert Kaussow 8c7c23ba53 slightly modify headline formatting if child is a code block 2020-04-14 21:22:17 +02:00
Robert Kaussow f84114042e fix nav padding on mobile view 2020-03-17 23:35:08 +01:00
Robert Kaussow 06c9a95b75 improve anchor link alignment and spacing 2020-03-17 23:22:51 +01:00
Robert Kaussow bb15276c82 add iconfont generation 2020-03-15 18:38:10 +01:00
Robert Kaussow 5268306aed remove unused svg 2020-03-15 16:37:48 +01:00
Robert Kaussow f9db0acd63 add option to move anchor links in front of headlines 2020-02-27 09:50:11 +01:00
Robert Kaussow 14567a6df4 add anchor links for headlines 2020-02-26 23:59:30 +01:00
Robert Kaussow 3c594349fb fix wrong geekdocToC level handling 2020-02-16 23:05:53 +01:00
Robert Kaussow 4ccea5670d remove DroidSerif 2020-02-05 23:07:36 +01:00
Robert Kaussow e000c1e461 add option to include a privacy policy and legal notice page 2020-02-05 01:15:51 +01:00
Robert Kaussow 7cceca5a72 add example for color schemes 2020-02-05 00:41:13 +01:00
Robert Kaussow 16b14ff369 fix formatting 2020-01-28 23:29:26 +01:00
Robert Kaussow a5c72664f2 hide empty page header on mobile view 2020-01-28 23:18:02 +01:00
Robert Kaussow 7abcc895a0 cleanup 2020-01-28 23:17:33 +01:00
Robert Kaussow aac46df166 code cleanup and add documentation for config params 2020-01-14 00:15:39 +01:00
Robert Kaussow 2bf1b71163 add font-display to avoid FOIT 2020-01-12 22:37:45 +01:00
Robert Kaussow b710cfda80 initial commit 2020-01-12 15:33:02 +01:00