You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[getresource]
dir = ':resourceDir/_gen'
maxAge = -1
Everything works as expected apart from math expressions.
When a page contains this:
{{< math >}}$(x,y,z)${{< /math >}}
The resulting image embed will be as follows: <img src="https://pages.github.example.org/Org-Name/docs-repo-name/Org-Name/docs-repo-name/_15674824548266881901.svg" alt="mathematical expression or equation">
There are no other issues with URL bases - CSS, JS and image uploads are all working fine.
The text was updated successfully, but these errors were encountered:
Aside from your issue, are you sometimes experiencing issues generating the math images?
And get an error message like this:
ERROR The "kroki" code block render hook was unable to get the remote diagram. See "D:\THULITE\getdoks.org\content\blog\doks-1-2\index.md:44:1". failed to fetch remote resource: Bad Request
Thanks. The canonifyURLs = false option worked. It has resolved the issue both for diagrams and maths expressions. ('m replying on behalf of my colleague @andysmithfal who orginally posted the issue.
Description
My Doks site is hosted on GitHub pages on an GitHub Enterprise server. The URL is as follows:
https://pages.github.example.org/Org-Name/docs-repo-name/
My hugo.toml contains the following:
And I have the section from the Maths doc page:
Everything works as expected apart from math expressions.
When a page contains this:
{{< math >}}$(x,y,z)${{< /math >}}
The resulting image embed will be as follows:
<img src="https://pages.github.example.org/Org-Name/docs-repo-name/Org-Name/docs-repo-name/_15674824548266881901.svg" alt="mathematical expression or equation">
There are no other issues with URL bases - CSS, JS and image uploads are all working fine.
The text was updated successfully, but these errors were encountered: