diff --git a/1000s Templates/Literature Note.md b/1000s Templates/Literature Note.md index 2a5bfefc..5f5e4bcf 100755 --- a/1000s Templates/Literature Note.md +++ b/1000s Templates/Literature Note.md @@ -56,22 +56,18 @@ pages: {{ pages }} | replace('[', '') | replace(']', '') }}{% if not loop.last -%}, {% endif %}{% endfor %} - -{% set in_read = false %} -{% for collection in collections %} - {% if collection.name == "Read" %} - {% set in_read = true %} - {% endif %} -{% endfor %} - -{{in_read}} +{%- set in_read = false -%} +{%- for collection in collections -%} + {%- if collection.name == "Read" -%} + {%- set in_read = true -%} + {%- endif -%} +{%- endfor -%} {% if in_read %} - [x] {{title}} #Reading ✅ {{ importDate | format("YYYY-MM-DD") }} {% else %} - ["] {{title}} #Reading -{% endif %} - +{%- endif %} {% if abstractNote -%} >[!Abstract]