Commit Graph

153 Commits

Author SHA1 Message Date
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
c1d8443eed
chore: bump hugo in ci to 0.104.3 (#518) 2022-10-14 12:21:12 +02:00
b9876a8640
feat: add origin size to image shortcode (#490) 2022-09-02 10:58:44 +02:00
12c81554ac
feat: support mermaid codeblocks (#485) 2022-08-29 21:52:44 +02:00
1a9fe22d64
feat: add option anchor the the bundle menu (#468) 2022-08-04 21:57:02 +02:00
b280889260
fix: fix wrong class and parameter name (#461) 2022-07-17 20:37:19 +02:00
3a26b6ed1b
feat: add profile size to img shortcode (#456) 2022-07-11 20:46:07 +02:00
66d456f552
feat: add column size attribute (#455) 2022-07-11 20:46:01 +02:00
aa15025ba0
fix button class handling (#444) 2022-06-27 09:14:24 +02:00
580ea885e3
fix: fix broken rendering of nested buttons (#443) 2022-06-24 10:54:16 +02: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
33ea5c37a9
feat: render popertylist description as markdown (#426) 2022-05-30 21:40:09 +02:00
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
6b464202c9
fix: fix formatting issue while using nested toc shortcodes (#415) 2022-05-22 22:07:35 +02:00
6ab98d1da3
feat: add propertylist shortcode (#414) 2022-05-22 22:00:37 +02:00
f576e4ca0d
fix: fix extra space after katex shortcode (#406) 2022-05-17 14:45:25 +02:00
6d82d6f851
fix: fix rendering issue for untranslated pages in bundle menu (#389) 2022-04-28 11:38:28 +02:00
0a5af2e8da
fix: fix nested hint rendering issues (#391) 2022-04-28 11:26:45 +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
9d61f9ddf9
fix: avoid to apply css class katex twice (#357) 2022-02-26 16:28:10 +01:00
a4d1f51b1b
fix template auto-formatting 2022-02-22 21:45:14 +01:00
2ecb63e7b2
fix: fix isPage detection for metatdata tags (#348) 2022-02-18 14:03:19 +01:00
2dbe3a4a5f
fix: add schema.org metadata to docs sections (#347) 2022-02-17 20:44:08 +01:00
7df6057ca0
feat: add new option geekdocContentLicense (#346) 2022-02-16 11:53:13 +01:00
95c38f6193
refactor: cleanup and unify the featured image metadata integration (#345) 2022-02-15 22:27:43 +01:00
055ab6c4e3
fix: fallback to 'content' if no contentDir parameter is set (#344) 2022-02-15 21:14:05 +01:00
c9f809ca19
fix: fix edit page link and auto-detect contentDir (#343)
BREAKING CHANGE: With support of the multilingual mode, we broke the `edit page` links, as the content directory was statically hard-coded into the `GeekdocEditPath` parameter. To get the correct content directory, regardless of the language or a disabled multilingual mode, we now use Hugo's built-in `.Site.Params.contentDir` parameter. Therefor, you have to remove the hard-coded `/content` part from the `geekdocEditPath` parameter in the configuration of your project.
2022-02-15 20:58:35 +01:00
4e93b70b7b
fix: revert fix for broken Edit Page links (#339) (#342) 2022-02-14 23:23:06 +01:00
Andreas Deininger
f66ca6a07d
fix: fix broken Edit Page links (#339) 2022-02-13 22:48:38 +01:00
87fdde4808
fix: use safeHTML for description in metadata (#334) 2022-02-07 14:47:32 +01:00
cd9ab9e48e
fix: fix formatting of multiline post metadata (#333) 2022-02-07 13:52:12 +01:00
e97cddfd2a
fix: use absolute ULRs in img shortcode (#332) 2022-02-07 13:24:00 +01:00
e100ccf034
feat: add canonical link to head (#331) 2022-02-07 12:04:51 +01:00
a901b3da36
fix: fix usage of terms and taxonomies list templates (#330) 2022-02-07 11:53:45 +01:00
d2668b43f6
refactor: unify title and description handling in meta files (#329) 2022-02-07 10:57:43 +01:00
3228f90eef
fix: prevent failing build if tags is an empty string (#322) 2022-02-04 13:31:23 +01:00
4f3d48c1d9
fix: fix formatting on code links (#316) 2022-02-03 11:42:26 +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
2805fbd33a
fix: always fetch menu name from data file (#296) 2022-01-23 22:32:21 +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
cdc8c1faed
fix: fix asset loading on subfolder deployments (#287) 2022-01-16 16:03:31 +01:00
3a10eb60cc
feat: unify and always show post metadata (#283) 2022-01-12 22:43:00 +01:00
63ced198cf
fix: fix title formatting (#282) 2022-01-12 21:47:14 +01:00
735b9c37ad
fix: fix iconfont usage (#281) 2022-01-12 21:40:57 +01:00
09c3656fad
chore: rename the main bundle to main.js (#270) 2022-01-08 21:36:55 +01:00