Commit graph

16 commits

Author SHA1 Message Date
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
c1d8443eed
chore: bump hugo in ci to 0.104.3 (#518) 2022-10-14 12:21:12 +02:00
Robert Kaussow
12c81554ac
feat: support mermaid codeblocks (#485) 2022-08-29 21:52:44 +02:00
Robert Kaussow
66d456f552
feat: add column size attribute (#455) 2022-07-11 20:46:01 +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
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
4f3d48c1d9
fix: fix formatting on code links (#316) 2022-02-03 11:42:26 +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
Robert Kaussow
a8de42c489
fix: remove relURL from markdown render image hook (#93)
* fix: remove relURL from markdown render image hook

BREAKING CHANGE: As the relURL function in markdown render hooks
caused some unwanted side effects we had to remove it. Related to this
change the behavior for sites deployed to a subdirectory has changed as
well! Please check the [documentation](https://geekdocs.de/usage/getting-started/#sub-directories)
how to workaround subdirectory deployments.

* restructure color-schemes page to work as image bundle example

* fix wording
2021-04-10 15:52:27 +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
Robert Kaussow
798a2679c1
fix: ensure render template contains no empty newlines (#76) 2021-02-24 16:37:12 +01:00
Robert Kaussow
e748a7dbc0
fix: remove relURL function from render-link template 2021-02-21 21:56:26 +01:00
Robert Kaussow
0d80589019
fix: prevend wrong formatting for linked images 2021-02-21 14:04:40 +01:00
Robert Kaussow
38c6059ab8
fix: use custom render templates to fix references (#56)
* fix: use custom render templates to fix references

* add back showAnchor condition

* change site params access
2021-02-04 10:06:19 +01:00