blog/_includes/functions/log.html

18 lines
378 B
HTML
Raw Normal View History

2020-09-29 06:54:54 +02:00
{% if include.params.level %}
{% assign level = include.params.level %}
2019-09-11 06:19:34 +02:00
{% endif %}
2020-09-29 06:54:54 +02:00
{% if include.params.msg %}
{% assign msg = include.params.msg %}
2019-09-11 06:19:34 +02:00
{% endif %}
{% if site.debug == true %}
{% if level == 'debug' %}
{% if jekyll.environment == "development" %}
<!-- {{ msg }} -->
{% endif %}
{% else %}
<!-- {{ msg }} -->
{% endif %}
{% endif %}