Skip to content

Commit

Permalink
Adding in mathjax
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Watson committed Aug 15, 2023
1 parent 25a6c41 commit b0cfb14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/partials/page-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
{{ if $featured_image }}
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
<header>
<script type="text/javascript"
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<div>
{{ partial "site-navigation.html" . }}
<div>
Expand Down
3 changes: 3 additions & 0 deletions layouts/partials/posts-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
{{ if $featured_image }}
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
<header>
<script type="text/javascript"
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<div>
{{ partial "posts-navigation.html" . }}
<div>
Expand Down

0 comments on commit b0cfb14

Please sign in to comment.