Commit Graph

38 Commits (cb68d35c24e1cb0d913f26e1d3950a58419f7f7d)

Author SHA1 Message Date
Robert Kaussow f576e4ca0d
fix: fix extra space after katex shortcode (#406) 2022-05-17 14:45:25 +02:00
Robert Kaussow 0a5af2e8da
fix: fix nested hint rendering issues (#391) 2022-04-28 11:26:45 +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 9d61f9ddf9
fix: avoid to apply css class katex twice (#357) 2022-02-26 16:28:10 +01:00
Robert Kaussow a4d1f51b1b
fix template auto-formatting 2022-02-22 21:45:14 +01:00
Robert Kaussow e97cddfd2a
fix: use absolute ULRs in img shortcode (#332) 2022-02-07 13:24:00 +01:00
Robert Kaussow d2668b43f6
refactor: unify title and description handling in meta files (#329) 2022-02-07 10:57:43 +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 9c116862f0
fix: fix various spacing issues (#238) 2021-11-13 13:57:06 +01:00
Robert Kaussow 550745e727
feat: add katex math typesetting shortcode (#157) 2021-07-01 09:05:26 +02:00
Robert Kaussow 51742a4030
fix: fix rendering of nested img shortcodes (#142)
* fix: fix rendering of nested img shortcodes

* fix whitespaces
2021-06-02 17:26:13 +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 649e3cf752
fix: remove inline script usage (#133) 2021-05-21 11:33:17 +02:00
Robert Kaussow 59be9a504f
Dark mode (#66) 2021-04-27 23:44:35 +02:00
Robert Kaussow 1ace505d27
feat: add option to include pages using the include shortcode (#92)
BREAKING CHANGE: The include shortcode will render files as Markdown
instead of HTML by default now. While the Markdown renderer should be
able to render HTML as well this might still work as before.

BREAKING CHANGE: The include shortcode option markdown was replaces by
a generic type option that could be used to specify special include
types.
2021-04-10 13:55:03 +02: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 81988b477a
replace missing markdownify by RenderString 2021-02-21 14:27:54 +01:00
Robert Kaussow 0d80589019
fix: prevend wrong formatting for linked images 2021-02-21 14:04:40 +01:00
Robert Kaussow 1cf78cea4f
feat: add custom img shortcode (#71) 2021-02-20 21:39:31 +01:00
Robert Kaussow d9daf73afb
fix: replace markdownify with renderString to use render hooks (#65) 2021-02-17 09:22:26 +01:00
Robert Kaussow b2e52d6073
cleanup formatting 2020-11-11 11:48:25 +01:00
Alvaro Torres Cogollo 90f285c335 Allow geekdocHiddenTocTree as Page parameter 2020-11-10 22:56:14 +01:00
Alvaro Torres Cogollo a565da529f Allow description text in toc-tree items 2020-11-10 22:05:56 +01:00
Robert Kaussow d6242e1842
fix acces hashing and asset data file usage 2020-11-09 22:21:50 +01:00
Robert Kaussow c4c882b768 add surrounding div to include shortcode 2020-06-02 21:28:52 +02:00
Robert Kaussow 5eb04b81d2 fix mermaid default font 2020-06-02 21:22:10 +02:00
Robert Kaussow 1037da5062 use pre tag instead of p for mermaid shortcode 2020-06-02 20:17:05 +02:00
Robert Kaussow 048f98fd22 fix script loading 2020-06-02 18:11:29 +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 cb0d15260c remove control chars 2020-04-30 20:55:53 +02:00
Michael Barz 5486f711f7
add include shortcode and doc 2020-04-30 16:30:19 +02:00
Robert Kaussow ea44ee3860 update required hugo min version to v0.65 2020-04-15 01:09:53 +02:00
Robert Kaussow a5777c64ce add toc-tree shortcode 2020-02-16 23:40:02 +01:00
Robert Kaussow 7cceca5a72 add example for color schemes 2020-02-05 00:41:13 +01:00
Robert Kaussow 7abcc895a0 cleanup 2020-01-28 23:17:33 +01:00
Robert Kaussow b710cfda80 initial commit 2020-01-12 15:33:02 +01:00