summaryrefslogtreecommitdiff
path: root/_includes/functions/log.html
blob: b2a613061c8de486b7d4a1a910f006b4f908ea5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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" %}
      <!-- {{ msg }} -->
    {% endif %}
  {% else %}
      <!-- {{ msg }} -->
  {% endif %}
{% endif %}