Update zotero.md
This commit is contained in:
parent
c266972376
commit
cf031a92d8
45
zotero.md
45
zotero.md
|
@ -1,18 +1,18 @@
|
||||||
---
|
---
|
||||||
tags: {% if itemType == "book" %}
|
tags: {% if itemType == "book" %}
|
||||||
- 📥/📚{% else %}
|
- book{% else %}
|
||||||
- 📥/📑{% endif %}
|
- paper{% endif %}
|
||||||
alias: "
|
title: "{% if creators -%}{{creators[0].lastName}}
|
||||||
{%- if creators -%}
|
|
||||||
{{creators[0].lastName}}
|
|
||||||
{%- if creators|length == 2 %} & {{creators[1].lastName}}{% endif -%}
|
{%- if creators|length == 2 %} & {{creators[1].lastName}}{% endif -%}
|
||||||
{%- if creators|length > 2 %} et al.{% endif -%}
|
{%- if creators|length > 2 %} et al.{% endif -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if date %} ({{date | format("YYYY")}}){% endif -%}
|
{%- if date %} ({{date | format("YYYY")}}){% endif -%}
|
||||||
{%- if shortTitle %} {{shortTitle | safe}} {%- else %} {{title | safe}} {%- endif -%}
|
{%- if shortTitle %} {{shortTitle | nl2br}} {%- else %} {{title | nl2br}}
|
||||||
"
|
{%- endif -%}"
|
||||||
date: {{importDate|format("YYYY-MM-DD")}}
|
projekte: {% for tag in tags %}{% if "📓" in tag.tag %}
|
||||||
lastmod: {{importDate|format("YYYY-MM-DD")}}
|
- "[[{{tag.tag | replace("📓 ", "")}}]]"{% endif %}{% endfor %}
|
||||||
|
created: {{importDate|format("YYYY-MM-DD")}}
|
||||||
|
modified: {{importDate|format("YYYY-MM-DD")}}
|
||||||
---
|
---
|
||||||
{#- METADATA AND PERMANENT INDEX -#}
|
{#- METADATA AND PERMANENT INDEX -#}
|
||||||
{#- This part only gets inserted once -#}
|
{#- This part only gets inserted once -#}
|
||||||
|
@ -24,14 +24,21 @@ lastmod: {{importDate|format("YYYY-MM-DD")}}
|
||||||
## 📇 Index
|
## 📇 Index
|
||||||
-
|
-
|
||||||
|
|
||||||
> [!important]+ Metadaten – {% for attachment in attachments | filterby("path", "endswith", ".pdf") %}[PDF{% if not loop.first %} {{loop.index}}{% endif %}]({{attachment.desktopURI|replace("/select/", "/open-pdf/")}}){% if not loop.last %}, {% endif %}{% endfor %}
|
> [!info]+ Metadata – {% for attachment in attachments | filterby("path", "endswith", ".pdf") %}[PDF{% if not loop.first %} {{loop.index}}{% endif %}]({{attachment.desktopURI|replace("/select/", "/open-pdf/")}}){% if not loop.last %}, {% endif %}{% endfor %}
|
||||||
> {{bibliography}}
|
> {{bibliography}}
|
||||||
>
|
>
|
||||||
> - **Projekte**::
|
> - Keywords:
|
||||||
> - **Keywords**::
|
> - Zotero: [Eintrag öffnen]({{select}}){% if relations %}
|
||||||
> - [Zotero öffnen]({{select}})
|
> - Related: {% for relation in relations %}{% if relation.citekey %}[[@{{relation.citekey}}]]{% if not loop.last %}, {% endif %}{% endif %}{% endfor %}{% endif %}
|
||||||
> {% endif %}{% endpersist %}{% persist "annotations" %}
|
|
||||||
|
|
||||||
|
> [!example]- Abstract
|
||||||
|
> *{{abstractNote | nl2br}}*
|
||||||
|
|
||||||
|
> [!important]- Summary
|
||||||
|
>
|
||||||
|
> {% endif %}{% endpersist %}
|
||||||
|
|
||||||
|
{#- WARNING: Everything below this line will get overwritten on re-import! -#}
|
||||||
{#- COLOR VARIABLES -#}
|
{#- COLOR VARIABLES -#}
|
||||||
{%-
|
{%-
|
||||||
set zoteroColors = {
|
set zoteroColors = {
|
||||||
|
@ -53,7 +60,7 @@ lastmod: {{importDate|format("YYYY-MM-DD")}}
|
||||||
"purple": "🧩 Methodology",
|
"purple": "🧩 Methodology",
|
||||||
"yellow": "📚 Further Reading",
|
"yellow": "📚 Further Reading",
|
||||||
"red": "⭕ Questions",
|
"red": "⭕ Questions",
|
||||||
"magenta": "ℹ Info",
|
"magenta": "📎 Info",
|
||||||
"other": "Misc"
|
"other": "Misc"
|
||||||
}
|
}
|
||||||
-%}
|
-%}
|
||||||
|
@ -75,8 +82,7 @@ lastmod: {{importDate|format("YYYY-MM-DD")}}
|
||||||
{%- set newAnnotations = [] -%}
|
{%- set newAnnotations = [] -%}
|
||||||
{%- set annotations = annotations | filterby("date", "dateafter", lastImportDate) %}
|
{%- set annotations = annotations | filterby("date", "dateafter", lastImportDate) %}
|
||||||
|
|
||||||
{% if annotations.length > 0 %}
|
{% if annotations.length > 0 %}*Imported: {{importDate | format("YYYY-MM-DD HH:mm")}}*
|
||||||
*Imported: {{importDate | format("YYYY-MM-DD HH:mm")}}*
|
|
||||||
|
|
||||||
{%- for annot in annotations -%}
|
{%- for annot in annotations -%}
|
||||||
|
|
||||||
|
@ -127,4 +133,3 @@ lastmod: {{importDate|format("YYYY-MM-DD")}}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% endpersist -%}
|
|
||||||
|
|
Loading…
Reference in New Issue