Accept boolean as well as string (#119)

* Accept boolean as well as string

* Update math.html

Tidy it up

* Update CONTRIBUTORS.md

Add myself to contributors
This commit is contained in:
Martin Kiesel 2018-11-20 12:39:08 +01:00 committed by Luiz F. A. de Prá
parent 720f7518a6
commit e33d2ec88a
2 changed files with 2 additions and 1 deletions

View File

@ -23,3 +23,4 @@
- [Vlad Ionescu](https://github.com/Vlaaaaaaad)
- [Joseph Ting](https://github.com/josephting)
- [Abner Campanha](https://github.com/abnerpc)
- [Martin Kiesel](https://github.com/Kyslik)

View File

@ -1,4 +1,4 @@
{{- if eq .Params.math "true" -}}
{{- if .Params.math -}}
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full">
MathJax.Hub.Config({