Skip to content

Commit

Permalink
Set site_url so mermaid.js loads correctly
Browse files Browse the repository at this point in the history
When site_url isn't set (or is falsey) the privacy plugin will include
mermaid.js on _every page_ to mitigate an issue with offline site
generation.

squidfunk/mkdocs-material#3742
  • Loading branch information
aceat64 committed Sep 14, 2022
1 parent 5750e63 commit c7b7e7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mkdocs.yml
@@ -1,4 +1,5 @@
site_name: Lick The Salt
site_url: https://lickthesalt.com/
docs_dir: content
nav:
- About: index.md
Expand Down Expand Up @@ -53,7 +54,11 @@ markdown_extensions:
- pymdownx.keys
- pymdownx.smartsymbols
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
Expand Down

0 comments on commit c7b7e7d

Please sign in to comment.