Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: customMermaidURL can be used in site config and frontmatter #518

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

stou
Copy link
Contributor

@stou stou commented Oct 14, 2021

Change param name to lower case,
since all site-level configuration keys are stored as lower case.
According to official hugo documentation:
https://gohugo.io/functions/isset/

This allows loading custom mermaid.js using the config option,
as specified in https://learn.netlify.app/en/basics/configuration/

Change param name to lower case,
since all site-level configuration keys are stored as lower case.
According to official hugo documentation:
https://gohugo.io/functions/isset/

This allows loading custom mermaid.js using the config option,
as specified in https://learn.netlify.app/en/basics/configuration/
@McShelby
Copy link

Shameless advertising: This issue (and a lot more) is already fixed in the drop in replacement fork relearn. See changelog

@matalo33 matalo33 added this to the v2.6.0 milestone Oct 28, 2021
@matalo33 matalo33 added the bug label Oct 28, 2021
@matalo33 matalo33 merged commit f180cca into matcornic:master Oct 28, 2021
francesquini pushed a commit to francesquini/hugo-theme-learn that referenced this pull request Nov 17, 2021
)

Change param name to lower case,
since all site-level configuration keys are stored as lower case.
According to official hugo documentation:
https://gohugo.io/functions/isset/

This allows loading custom mermaid.js using the config option,
as specified in https://learn.netlify.app/en/basics/configuration/

Co-authored-by: Rasmus Stougaard <[email protected]>
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants