From 61eae5c5f9881cab29712f6e696085baa977e1f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Wed, 11 Sep 2019 12:19:34 +0800 Subject: release: v1.0.0 --- _includes/functions/log.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _includes/functions/log.html (limited to '_includes/functions/log.html') diff --git a/_includes/functions/log.html b/_includes/functions/log.html new file mode 100644 index 0000000..b2a6130 --- /dev/null +++ b/_includes/functions/log.html @@ -0,0 +1,17 @@ +{% if include.level %} + {% assign level = include.level %} +{% endif %} + +{% if include.msg %} + {% assign msg = include.msg %} +{% endif %} + +{% if site.debug == true %} + {% if level == 'debug' %} + {% if jekyll.environment == "development" %} + + {% endif %} + {% else %} + + {% endif %} +{% endif %} -- cgit v1.2.3