Skip to content

Commit

Permalink
Merge pull request #52 from jpvg10/fix-footer-math
Browse files Browse the repository at this point in the history
Fix: overwriting footer.html breaks math
  • Loading branch information
tomfran authored Nov 23, 2024
2 parents b9c6d8f + 241671f commit 5d7fb94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 5 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
<footer>
{{ partial "footer.html" . }}
</footer>


{{ if .Param "math" }}
{{ partialCached "math.html" . }}
{{ end }}

</body>

<script>
Expand Down
4 changes: 0 additions & 4 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@
<p>{{ . | markdownify }}</p>
{{ end }}
{{ end }}

{{ if .Param "math" }}
{{ partialCached "math.html" . }}
{{ end }}

0 comments on commit 5d7fb94

Please sign in to comment.