diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2020-09-29 12:54:54 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2020-09-29 12:54:54 +0800 |
commit | a7d8a2977d6110d1f8778b8ae02067982a5e43a7 (patch) | |
tree | 6f4f0fa9332ce325c99d8b769814408a7888d760 /_includes/functions/log.html | |
parent | 0e8b292bd00ffa4bef4d8aeb436696a7d218243a (diff) |
fix: some function params not working
Diffstat (limited to '_includes/functions/log.html')
-rw-r--r-- | _includes/functions/log.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_includes/functions/log.html b/_includes/functions/log.html index b2a6130..95d1856 100644 --- a/_includes/functions/log.html +++ b/_includes/functions/log.html @@ -1,9 +1,9 @@ -{% if include.level %} - {% assign level = include.level %} +{% if include.params.level %} + {% assign level = include.params.level %} {% endif %} -{% if include.msg %} - {% assign msg = include.msg %} +{% if include.params.msg %} + {% assign msg = include.params.msg %} {% endif %} {% if site.debug == true %} |