Commit graph

178 commits

Author SHA1 Message Date
Robert Kaussow
6eb576575e
refactor: move profile size from img to degicated avatar shortcode (#817)
BREAKING CHANGE: The `size=profile` option was removed from the `img` shortcode. To create avatar images the new `avatar` shortcode can be used.
2024-04-07 21:54:12 +02:00
Robert Kaussow
7b52c98f17
fix: skip image processing if size is origin (#815) 2024-04-07 20:15:01 +02:00
Robert Kaussow
b750f4ab53
fix: respect geekdocFileTreeSortBy parameter while creating the toc tree (#771) 2024-01-12 11:56:06 +01:00
Robert Kaussow
82ffa48f45
fix: fix missing icon on collabsible bundle menus (#767) 2024-01-09 15:21:23 +01:00
Robert Kaussow
eae99409b7
fix: replace .Site.BaseURL by recommended alternatives (#761) 2024-01-07 16:24:22 +01:00
Robert Kaussow
e11f0c891c
ci: replace vnu html validator by html-validate (#759) 2024-01-07 14:46:07 +01:00
Robert Kaussow
460d27814a
fix: generate unique properties anchor (#733)
BREAKING CHANGE: The way anchors are generated for properties of a propertylist has changed to be unique, even if the shortcode is used multiple times on a page.
2023-10-28 22:48:31 +02:00
Robert Kaussow
1266dd4287
fix condition to determine next-prev entry for filetree (#724) 2023-10-20 10:23:38 +02:00
Robert Kaussow
712be2e2a7
feat: add next-prev navigation for filetree menu (#723) 2023-10-20 09:39:38 +02:00
Robert Kaussow
ce62f7bc44
feat: add anchors to propertylist shortcode (#697) 2023-08-31 23:27:11 +02:00
Robert Kaussow
3bd1d7cd6b
fix: remove htmlUnescape from expand shortcode (#667) 2023-07-12 08:37:47 +02:00
Robert Kaussow
dc3ede1b72
fix: utilize hugo.WorkingDir for a reliable edit page link (#665)
BREAKING CHANGE: The `Edit page` uses the `hugo.WorkingDir` function of Hugo, which was introduced in v0.112.0. Due to this change, the minimum Hugo version for the theme has been raised accordingly.
2023-07-11 21:00:27 +02:00
Robert Kaussow
23128a3dfa
chore: normalize mixed casing of code block lang and theme parameters (#647) 2023-06-22 09:45:54 +02:00
Nicolas Goudry
4ea6acc9d4
feat: add support for custom heading css class (#608) 2023-04-17 20:51:01 +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
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
Robert Kaussow
2f752b32ad
fix: add missing navigation for pagination (#540) 2022-11-16 11:06:35 +01:00
Robert Kaussow
54b7d1388f
use .Page.Site instead of site to access data assets (#541) 2022-11-16 10:41:02 +01:00
Robert Kaussow
74e4d13673
fix: fix access to data assets in render hook (#539)
Site variables in markdown render hooks or partials need to be accessed
via global site function or .Page object.
2022-11-16 09:36:44 +01:00
Robert Kaussow
e9ece03388
feat: add option to enable or disable the dark mode toggle button (#529) 2022-11-02 15:48:45 +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
c1d8443eed
chore: bump hugo in ci to 0.104.3 (#518) 2022-10-14 12:21:12 +02:00
Robert Kaussow
b9876a8640
feat: add origin size to image shortcode (#490) 2022-09-02 10:58:44 +02:00
Robert Kaussow
12c81554ac
feat: support mermaid codeblocks (#485) 2022-08-29 21:52:44 +02:00
Robert Kaussow
1a9fe22d64
feat: add option anchor the the bundle menu (#468) 2022-08-04 21:57:02 +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
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
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
brett ohland
61ef82104e
fix: remove table formatting from github gists (#416)
* fix: fix CSS issue with gist embeds

* Addressing PR comments

* remove newline

* simplify selector and add example

* fix spellcheck

* fix markdownlint

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2022-05-24 00:37:06 +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
6d82d6f851
fix: fix rendering issue for untranslated pages in bundle menu (#389) 2022-04-28 11:38:28 +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
2ecb63e7b2
fix: fix isPage detection for metatdata tags (#348) 2022-02-18 14:03:19 +01:00