From e33d2ec88aebdb39838fd7b419041ddfb702db1a Mon Sep 17 00:00:00 2001 From: Martin Kiesel Date: Tue, 20 Nov 2018 12:39:08 +0100 Subject: [PATCH] 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 --- CONTRIBUTORS.md | 1 + layouts/partials/posts/math.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index f1b0470..20b8241 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -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) diff --git a/layouts/partials/posts/math.html b/layouts/partials/posts/math.html index 3a1969a..d33753a 100644 --- a/layouts/partials/posts/math.html +++ b/layouts/partials/posts/math.html @@ -1,4 +1,4 @@ -{{- if eq .Params.math "true" -}} +{{- if .Params.math -}}