Skip to content

Commit

Permalink
v3.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineTham committed Dec 22, 2023
1 parent 173b8fb commit 088cecc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,6 @@ All commands are run from the root of the project, from a terminal:
- Upgrade to Astro 4.x
- 3.2.5: Minor enhancements:
- Upgrade packages
- Remove mermaid.initialize()
- Remove mermaid.initialize()
- 3.2.6: Maintenance:
- Disable ViewTransition as it does not work with mermaid
6 changes: 3 additions & 3 deletions src/layouts/base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const { frontmatter } = Astro.props
<link rel='alternate' type='application/rss+xml' title='RSS' href={`${Astro.site}rss.xml`} />
<meta name='generator' content={Astro.generator} />
<SEO frontmatter={frontmatter} />
<ViewTransitions />
<!-- <ViewTransitions /> -->
<script is:inline>
const setDarkMode = () => {
if (
Expand Down Expand Up @@ -79,8 +79,8 @@ const { frontmatter } = Astro.props
)
}
{frontmatter.extra?.includes('mermaid') &&
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs';
<script is:inline type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
</script>
}
</body>
Expand Down

0 comments on commit 088cecc

Please sign in to comment.