Commit Graph

67 Commits

Author SHA1 Message Date
2f614e6553
fix: fix hover background color for the code copy box (#698) 2023-08-31 23:27:02 +02:00
Peter Shaw
6d75ee9288
fix: make search results clickable with Safari (#696)
Co-authored-by: Kris Simon <kris@ausdertechnik.de>
2023-08-31 21:21:54 +02:00
80ddd27307
fix: adjust default color scheme to fix some contrast issues (#610)
BREAKING CHANGE: This change has adjusted the default color scheme and brand icon. There is no real functional break, but since the look and feel has changed, you might consider this as such.
2023-04-19 16:28:08 +02:00
b00dedf757
chore: replace size values by vars (#585) 2023-02-16 10:43:22 +01:00
935b200eb0
fix: improve spacing of shortcodes (#583) 2023-02-16 09:01:43 +01:00
fb905bd6c1
feat: add optional page description to search (#550)
Add optional page description to the search result list. The feature can be enabled by `geekdocSearchShowDescription=true` and is disabled by default. The max length of the description is set to `55` and will be truncated automatically if the limit is exceeded.
2022-12-07 08:57:41 +01:00
2f752b32ad
fix: add missing navigation for pagination (#540) 2022-11-16 11:06:35 +01:00
e9ece03388
feat: add option to enable or disable the dark mode toggle button (#529) 2022-11-02 15:48:45 +01:00
7195431d8c
fix: improve keyboard accessability for anchors and code blocks (#434) 2022-06-10 21:44:08 +02:00
6545ceb24d
feat: add option geekdocDarkModeCode to enforce dark codeblocks (#429) 2022-05-31 14:14:01 +02:00
f1457b86fa
fix: replace invlaid max-height value 'auto' by 'none' (#419) 2022-05-23 22:37:12 +02:00
f6966b8513
feat: add optional hint/admonition icons (#383)
BREAKING CHANGE: The types of the `hint` short code have been renamed to `[note|tip|important|caution|warning]` the old types `[info|ok|warning|danger]` are still working, but should be considered as deprecated.

BREAKING CHANGE: The `hint` short code is using named arguments now. You have to change, e.g. `{{< hint warning >}}` to `{{< hint type=warning >}}`.
2022-04-23 15:14:42 +02:00
b104d6ac70
refactor: rename class .icon to .gdoc-icon (#379)
BREAKING CHANGE: The class `.icon` was renamed to `.gdoc-icon` to avoid conflicts.
2022-04-18 20:33:23 +02:00
cd9ab9e48e
fix: fix formatting of multiline post metadata (#333) 2022-02-07 13:52:12 +01:00
30d3c64c41
fix: fix post metadata positioning (#315) 2022-02-03 10:58:37 +01:00
8b117788c6
fix: fix header menu style if no extra entries were added (#305) 2022-01-30 22:05:14 +01:00
Nicholas Seemiller
2ed5365d54
BREAKING CHANGE: rename icons gdoc_keyborad_arrow_* to gdoc_keyboard_arrow_* (#299) 2022-01-27 22:03:12 +01:00
5c22ce57dc
feat: add multilingual mode support (#241)
BREAKING CHANGE:  Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
2022-01-23 13:21:44 +01:00
3a10eb60cc
feat: unify and always show post metadata (#283) 2022-01-12 22:43:00 +01:00
735b9c37ad
fix: fix iconfont usage (#281) 2022-01-12 21:40:57 +01:00
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
6e7c01e04f
cleanup formatting and docs (#247) 2021-11-24 09:10:26 +01:00
9c116862f0
fix: fix various spacing issues (#238) 2021-11-13 13:57:06 +01:00
0ce5466227
fix: add background color to code copy button (#235) 2021-11-08 09:12:44 +01:00
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
d03c035d48
feat: icon shift on header menu (#219) 2021-10-15 11:50:11 +02:00
3f296625fb
feat: add tags to post pages (#193) 2021-09-01 10:18:00 +02:00
c11015bb0d
feat: add 'home' link to header menu on mobile view for better accessibility (#192) 2021-08-24 17:45:40 +02:00
cb8747b98e
fix: increase spacing between items in the header menu (#191) 2021-08-24 17:35:11 +02:00
57bbc46a47
feat: add optional icon menu to site header (#184) 2021-08-12 18:17:49 +02:00
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
cc10b9d80a
chore: normalize font-size vars (#134) 2021-05-21 13:31:19 +02:00
4424e0b81c
feat: add css variable to set max height for code blocks (#119) 2021-05-13 14:05:38 +02:00
9fa2c5aff8
fix: use same css proterty for header border and footer background 2021-04-29 21:01:29 +02:00
59be9a504f
Dark mode (#66) 2021-04-27 23:44:35 +02:00
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
ecc59e6482
fix: adjust default logo size to better match font size 2021-03-04 22:21:00 +01:00
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
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
f2953586ad
set border size from var 2021-02-21 22:39:03 +01:00
a8af7c3791
fix: switch back to pixel based border sizes 2021-02-21 22:34:34 +01:00
7d028ddc71
chore: normalize sass default vars 2021-02-21 14:44:44 +01:00
i7d3v3l0p3r
e29fa7a327
feat: add structured data annotation to breadcrumb nav (#67) 2021-02-20 22:54:49 +01:00
b90fbbedd2
fix search issues 2020-12-23 16:43:41 +01:00
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
5df0ba4b35
add new page parameter GeekdocCollapseSection 2020-11-16 22:47:50 +01:00
dfd2f6725d
split out css 2020-11-09 22:06:06 +01:00
257253a1bd
increase size between footer links 2020-09-19 22:06:38 +02:00