Commit graph

131 commits

Author SHA1 Message Date
Robert Kaussow
9d61f9ddf9
fix: avoid to apply css class katex twice () 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 () 2022-02-18 14:03:19 +01:00
Robert Kaussow
2dbe3a4a5f
fix: add schema.org metadata to docs sections () 2022-02-17 20:44:08 +01:00
Robert Kaussow
7df6057ca0
feat: add new option geekdocContentLicense () 2022-02-16 11:53:13 +01:00
Robert Kaussow
95c38f6193
refactor: cleanup and unify the featured image metadata integration () 2022-02-15 22:27:43 +01:00
Robert Kaussow
055ab6c4e3
fix: fallback to 'content' if no contentDir parameter is set () 2022-02-15 21:14:05 +01:00
Robert Kaussow
c9f809ca19
fix: fix edit page link and auto-detect contentDir ()
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 () () 2022-02-14 23:23:06 +01:00
Andreas Deininger
f66ca6a07d
fix: fix broken Edit Page links () 2022-02-13 22:48:38 +01:00
Robert Kaussow
87fdde4808
fix: use safeHTML for description in metadata () 2022-02-07 14:47:32 +01:00
Robert Kaussow
cd9ab9e48e
fix: fix formatting of multiline post metadata () 2022-02-07 13:52:12 +01:00
Robert Kaussow
e97cddfd2a
fix: use absolute ULRs in img shortcode () 2022-02-07 13:24:00 +01:00
Robert Kaussow
e100ccf034
feat: add canonical link to head () 2022-02-07 12:04:51 +01:00
Robert Kaussow
a901b3da36
fix: fix usage of terms and taxonomies list templates () 2022-02-07 11:53:45 +01:00
Robert Kaussow
d2668b43f6
refactor: unify title and description handling in meta files () 2022-02-07 10:57:43 +01:00
Robert Kaussow
3228f90eef
fix: prevent failing build if tags is an empty string () 2022-02-04 13:31:23 +01:00
Robert Kaussow
4f3d48c1d9
fix: fix formatting on code links () 2022-02-03 11:42:26 +01:00
Robert Kaussow
30d3c64c41
fix: fix post metadata positioning () 2022-02-03 10:58:37 +01:00
Robert Kaussow
8b117788c6
fix: fix header menu style if no extra entries were added () 2022-01-30 22:05:14 +01:00
Nicholas Seemiller
2ed5365d54
BREAKING CHANGE: rename icons gdoc_keyborad_arrow_* to gdoc_keyboard_arrow_* () 2022-01-27 22:03:12 +01:00
Robert Kaussow
2805fbd33a
fix: always fetch menu name from data file () 2022-01-23 22:32:21 +01:00
Robert Kaussow
5c22ce57dc
feat: add multilingual mode support ()
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
cdc8c1faed
fix: fix asset loading on subfolder deployments () 2022-01-16 16:03:31 +01:00
Robert Kaussow
3a10eb60cc
feat: unify and always show post metadata () 2022-01-12 22:43:00 +01:00
Robert Kaussow
63ced198cf
fix: fix title formatting () 2022-01-12 21:47:14 +01:00
Robert Kaussow
735b9c37ad
fix: fix iconfont usage () 2022-01-12 21:40:57 +01:00
Robert Kaussow
09c3656fad
chore: rename the main bundle to main.js () 2022-01-08 21:36:55 +01:00
Robert Kaussow
77b209d0c4
chore: use to write json assets () 2022-01-06 23:16:21 +01:00
Robert Kaussow
bbfc75ecb0
rework search integration () 2022-01-06 22:52:22 +01:00
Robert Kaussow
5c5e2d59cb
refactor: replace gulp by webpack and npm scripts ()
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
6e7c01e04f
cleanup formatting and docs () 2021-11-24 09:10:26 +01:00
Robert Kaussow
f7ebc5d406
fix: fix collapsible icon in main menu () 2021-11-13 14:11:56 +01:00
Robert Kaussow
9c116862f0
fix: fix various spacing issues () 2021-11-13 13:57:06 +01:00
Robert Kaussow
761caeee47
feat: add site parameter geekdocFileTreeSortBy to controle filetree menu sorting () 2021-11-12 08:57:07 +01:00
Robert Kaussow
75f56d8fad
feat: add button to copy code blocks ()
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
Robert Kaussow
d03c035d48
feat: icon shift on header menu () 2021-10-15 11:50:11 +02:00
Robert Kaussow
1932053d5a
feat: add microformats () 2021-09-28 20:44:59 +02:00
Robert Kaussow
4bfc17ac9d
chore: normalize default favicons and add docs () 2021-09-27 22:47:13 +02:00
Robert Kaussow
d8fba29bb5
feat: add robots template () 2021-09-08 21:48:31 +02:00
Robert Kaussow
fff483ea9e
chore: remove rss link from header () 2021-09-08 21:35:43 +02:00
Robert Kaussow
3f296625fb
feat: add tags to post pages () 2021-09-01 10:18:00 +02:00
Robert Kaussow
c11015bb0d
feat: add 'home' link to header menu on mobile view for better accessibility () 2021-08-24 17:45:40 +02:00
Brendan McCoy
ff32aea119
Use path.Join on "Edit this page" hyperlink () 2021-08-15 13:36:15 +02:00
Robert Kaussow
57bbc46a47
feat: add optional icon menu to site header () 2021-08-12 18:17:49 +02:00
Robert Kaussow
0ea7ebf1a2
fix: add div wrapper around markdown tables to allow overflows () 2021-08-02 14:06:24 +02:00
Robert Kaussow
fe54c2229d
fix: fix horizontal floating of the site footer ()
* fix: fix horizontal floating of the site footer

* indentation
2021-07-20 10:58:58 +02:00
Robert Kaussow
8abe25f3cb
feat: add 'back-to-top' link to site footer ()
* feat: add 'back-to-top' link to site footer

* add aria-label to link
2021-07-20 09:58:56 +02:00
ListenerJubatus
4bdf727cea
feat: add span with class 'gdoc-brand__title' around site title ()
* Add CSS span to site title to allow for something I do on my site (where I use a larger logo and hide title except in narrow views)

* Update layouts/partials/site-header.html

Co-authored-by: Robert Kaussow <xoxys@rknet.org>

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2021-07-20 09:58:41 +02:00
Oluf Lorenzen
56a0d44a50
feat: collapse every section ()
This allows setting `.Site.Params.GeekdocCollapseAllSections` which then
behaves as if you would have set `.Page.Params.geekdocCollapseSection`
in all sections.

It is a hard positive switch, so you can not override it per section
once enabled.

Co-authored-by: Robert Kaussow <xoxys@rknet.org>

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2021-07-10 13:17:16 +02:00