Enable latex/mathjax in your post only if needed

_post/2020-04-01-new-post.md

---
layout: post
title: Enable latex/mathjax in your post only if needed
tags: [jekyll, latex]
mathjax: true
---

_layouts/default.html

{% if page.mathjax == true %}
  {% include mathjax.html %}
{% endif %}

See the full post and default html.

★ 2 min read · Rajesh Pandian M · jekyll , latex