Commit Graph

109 Commits

Author SHA1 Message Date
1266dd4287
fix condition to determine next-prev entry for filetree (#724) 2023-10-20 10:23:38 +02:00
712be2e2a7
feat: add next-prev navigation for filetree menu (#723) 2023-10-20 09:39:38 +02:00
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
23128a3dfa
chore: normalize mixed casing of code block lang and theme parameters (#647) 2023-06-22 09:45:54 +02:00
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
2f752b32ad
fix: add missing navigation for pagination (#540) 2022-11-16 11:06:35 +01:00
e9ece03388
feat: add option to enable or disable the dark mode toggle button (#529) 2022-11-02 15:48:45 +01:00
1a9fe22d64
feat: add option anchor the the bundle menu (#468) 2022-08-04 21:57:02 +02:00
6545ceb24d
feat: add option geekdocDarkModeCode to enforce dark codeblocks (#429) 2022-05-31 14:14:01 +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
6d82d6f851
fix: fix rendering issue for untranslated pages in bundle menu (#389) 2022-04-28 11:38:28 +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
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
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
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
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
77b209d0c4
chore: use to write json assets (#263) 2022-01-06 23:16:21 +01:00
bbfc75ecb0
rework search integration (#262) 2022-01-06 22:52:22 +01:00
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
6e7c01e04f
cleanup formatting and docs (#247) 2021-11-24 09:10:26 +01:00
f7ebc5d406
fix: fix collapsible icon in main menu (#239) 2021-11-13 14:11:56 +01:00
761caeee47
feat: add site parameter geekdocFileTreeSortBy to controle filetree menu sorting (#237) 2021-11-12 08:57:07 +01:00
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
d03c035d48
feat: icon shift on header menu (#219) 2021-10-15 11:50:11 +02:00
1932053d5a
feat: add microformats (#214) 2021-09-28 20:44:59 +02:00
4bfc17ac9d
chore: normalize default favicons and add docs (#213) 2021-09-27 22:47:13 +02:00
fff483ea9e
chore: remove rss link from header (#202) 2021-09-08 21:35:43 +02:00
3f296625fb
feat: add tags to post pages (#193) 2021-09-01 10:18:00 +02:00
c11015bb0d
feat: add 'home' link to header menu on mobile view for better accessibility (#192) 2021-08-24 17:45:40 +02:00
Brendan McCoy
ff32aea119
Use path.Join on "Edit this page" hyperlink (#186) 2021-08-15 13:36:15 +02:00