Commit graph

57 commits

Author SHA1 Message Date
7cb422cc43 Adapt Layout and colors to our needs 2023-04-25 20:47:03 +02:00
fdab80212b Allow raw html input via shortcode 2023-04-25 20:03:12 +02:00
Robert Kaussow
64f3d0ea7d
feat: add progress bar shortcode (#594) 2023-03-04 15:45:26 +01:00
Robert Kaussow
c420c637eb
fix: issues with nested columns shortcode (#586) 2023-02-17 09:29:39 +01:00
Robert Kaussow
882aa9e560
fix: fix rendering of nested shortcodes in tabs (#584) 2023-02-16 09:02:52 +01:00
Robert Kaussow
b6047754a1
remove whitespace 2023-02-03 23:02:16 +01:00
Robert Kaussow
8c84a8d028
chore: fix img shortcode formatting (#564) 2022-12-21 15:53:02 +01:00
Robert Kaussow
5d4370b617
feat: add basic svg support to the img shortcode (#554) 2022-12-11 15:05:30 +01:00
Robert Kaussow
128a55e974
feat: add option to sort items in properties shortcode (#527)
BREAKING CHANGE: To enable sorting of elements in the `properties` shortcode, it was necessary to change the structure of the properties file. Due to this change, the `properties` object now requires a list of maps instead of a map. A [sample file](https://raw.githubusercontent.com/thegeeklab/hugo-geekdoc/main/exampleSite/data/properties/demo.yaml) can be found in the repository.
2022-11-02 13:01:20 +01:00
Robert Kaussow
b9876a8640
feat: add origin size to image shortcode (#490) 2022-09-02 10:58:44 +02:00
Robert Kaussow
b280889260
fix: fix wrong class and parameter name (#461) 2022-07-17 20:37:19 +02:00
Robert Kaussow
3a26b6ed1b
feat: add profile size to img shortcode (#456) 2022-07-11 20:46:07 +02:00
Robert Kaussow
66d456f552
feat: add column size attribute (#455) 2022-07-11 20:46:01 +02:00
Robert Kaussow
aa15025ba0
fix button class handling (#444) 2022-06-27 09:14:24 +02:00
Robert Kaussow
580ea885e3
fix: fix broken rendering of nested buttons (#443) 2022-06-24 10:54:16 +02:00
Robert Kaussow
33ea5c37a9
feat: render popertylist description as markdown (#426) 2022-05-30 21:40:09 +02:00
Robert Kaussow
1ab1620c7b
fix: allow loading property files from nested folder (#420) 2022-05-26 17:07:38 +02:00
Robert Kaussow
6b464202c9
fix: fix formatting issue while using nested toc shortcodes (#415) 2022-05-22 22:07:35 +02:00
Robert Kaussow
6ab98d1da3
feat: add propertylist shortcode (#414) 2022-05-22 22:00:37 +02:00
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