Commit graph

59 commits

Author SHA1 Message Date
Robert Kaussow
7195431d8c
fix: improve keyboard accessability for anchors and code blocks (#434) 2022-06-10 21:44:08 +02:00
Robert Kaussow
6545ceb24d
feat: add option geekdocDarkModeCode to enforce dark codeblocks (#429) 2022-05-31 14:14:01 +02:00
Robert Kaussow
f1457b86fa
fix: replace invlaid max-height value 'auto' by 'none' (#419) 2022-05-23 22:37:12 +02:00
Robert Kaussow
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
Robert Kaussow
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
Robert Kaussow
cd9ab9e48e
fix: fix formatting of multiline post metadata (#333) 2022-02-07 13:52:12 +01:00
Robert Kaussow
30d3c64c41
fix: fix post metadata positioning (#315) 2022-02-03 10:58:37 +01:00
Robert Kaussow
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
Robert Kaussow
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
Robert Kaussow
3a10eb60cc
feat: unify and always show post metadata (#283) 2022-01-12 22:43:00 +01:00
Robert Kaussow
735b9c37ad
fix: fix iconfont usage (#281) 2022-01-12 21:40:57 +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
57bbc46a47
feat: add optional icon menu to site header (#184) 2021-08-12 18:17:49 +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
cc10b9d80a
chore: normalize font-size vars (#134) 2021-05-21 13:31:19 +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
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
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
i7d3v3l0p3r
e29fa7a327
feat: add structured data annotation to breadcrumb nav (#67) 2021-02-20 22:54:49 +01:00
Robert Kaussow
b90fbbedd2
fix search issues 2020-12-23 16:43:41 +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
5df0ba4b35
add new page parameter GeekdocCollapseSection 2020-11-16 22:47:50 +01:00
Robert Kaussow
dfd2f6725d
split out css 2020-11-09 22:06:06 +01:00
Robert Kaussow
257253a1bd
increase size between footer links 2020-09-19 22:06:38 +02:00
Robert Kaussow
d4d8437388
improve and normalize microblog formatting 2020-09-17 22:44:42 +02:00
Robert Kaussow
f84375f21c
remove left anchor option and adjust spacing 2020-09-07 21:51:04 +02:00
Robert Kaussow
178b92b0a0 add lighthouse-ci to drone 2020-06-02 18:11:29 +02:00
Robert Kaussow
a428f9d84d configure npm 2020-06-02 18:07:53 +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