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
This commit is contained in:
parent
1ace505d27
commit
a8de42c489
7 changed files with 96 additions and 6 deletions
|
@ -85,6 +85,11 @@ enableGitInfo = true
|
|||
# (Optional, default true) Enable or disable image lazy loading for images rendered
|
||||
# by the 'img' shortcode.
|
||||
geekdocImageLazyLoading = true
|
||||
|
||||
# (Optional, default false) Set HTMl <base> to .Site.BaseURL if enabled. Is might be required
|
||||
# a subdirectory is used within Hugos BaseURL.
|
||||
# See https://developer.mozilla.org/de/docs/Web/HTML/Element/base.
|
||||
geekdocOverwriteHTMLBase = false
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -168,6 +173,11 @@ params:
|
|||
# (Optional, default true) Enable or disable image lazy loading for images rendered
|
||||
# by the 'img' shortcode.
|
||||
geekdocImageLazyLoading: true
|
||||
|
||||
# (Optional, default false) Set HTMl <base> to .Site.BaseURL if enabled. Is might be required
|
||||
# a subdirectory is used within Hugos BaseURL.
|
||||
# See https://developer.mozilla.org/de/docs/Web/HTML/Element/base.
|
||||
geekdocOverwriteHTMLBase: false
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue