Commit Graph

20 Commits (a92fed899bdd4d8f1bc6e39d77989c6caef8be03)

Author SHA1 Message Date
Robert Kaussow 055ab6c4e3
fix: fallback to 'content' if no contentDir parameter is set (#344) 2022-02-15 21:14:05 +01:00
Robert Kaussow 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
Robert Kaussow 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
Robert Kaussow d2668b43f6
refactor: unify title and description handling in meta files (#329) 2022-02-07 10:57:43 +01:00
Robert Kaussow 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
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
Brendan McCoy ff32aea119
Use path.Join on "Edit this page" hyperlink (#186) 2021-08-15 13:36:15 +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
i7d3v3l0p3r e29fa7a327
feat: add structured data annotation to breadcrumb nav (#67) 2021-02-20 22:54:49 +01:00
Robert Kaussow b2e52d6073
cleanup formatting 2020-11-11 11:48:25 +01:00
Robert Kaussow dfd2f6725d
split out css 2020-11-09 22:06:06 +01:00
Robert Kaussow 977daa7487 document anchor settings 2020-02-27 00:08:00 +01:00
Robert Kaussow b45afba0b9 use title shortcode in breadcrumb nav 2020-02-16 23:17:45 +01:00
Robert Kaussow 59d94de023 fix page-header conditions 2020-02-05 10:13:04 +01:00
Robert Kaussow c93dafdece fix some defaults and formatting 2020-02-05 09:40:05 +01:00
Robert Kaussow e000c1e461 add option to include a privacy policy and legal notice page 2020-02-05 01:15:51 +01:00
Robert Kaussow a5c72664f2 hide empty page header on mobile view 2020-01-28 23:18:02 +01:00
Robert Kaussow aac46df166 code cleanup and add documentation for config params 2020-01-14 00:15:39 +01:00
Robert Kaussow b710cfda80 initial commit 2020-01-12 15:33:02 +01:00