From fbcd447d46c741aaced0c0e9781ebb0a4a8fe0f0 Mon Sep 17 00:00:00 2001 From: Dane Sabo Date: Fri, 14 Feb 2025 18:13:21 -0500 Subject: [PATCH] vault backup: 2025-02-14 18:13:21 --- 1000s Templates/Literature Note.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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]