File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change 1
- {% if is_new_article %} # {{ title }}
1
+ {% if is_new_article %}
2
+ # {{ title }}
2
3
3
4
## Metadata
4
5
{% if author %} - Author: [{{ author }} ]({{ authorUrl }} ){% endif %}
5
6
- Title: {{ title }}
6
7
{% if url %} - Reference: {{ url }} {% endif %}
7
- - Category: #article{% endif %}
8
+ - Category: #article
9
+ {% endif %}
8
10
9
- {% if is_new_article %} ## Page Notes
11
+ {%- if is_new_article %}
12
+ ## Page Notes
10
13
{% for highlight in page_notes -%}
11
14
{{ highlight .annotation }}
12
- {% if highlight .tags | length %} Tags: {% for tag in highlight . tags -%} # {{ tag | replace ( " " , " - " ) + " " }} {%- endfor %}{%- endif %}
13
- {%- endfor - %}
15
+ {%- if highlight .tags | length %}
16
+ Tags: {% for tag in highlight . tags -%} # {{ tag | replace ( " " , " - " ) + " " }} {%- endfor %}
14
17
{% endif %}
18
+ {% endfor %}
19
+ {%- endif -%}
15
20
16
- {% if is_new_article -%} ## Highlights{%- endif %}
17
- {% for highlight in highlights -%} - {{ highlight .text }} — [Updated on {{ highlight .updated }} ]({{ highlight .incontext }} ) {% if ' Private' != highlight .group %} — Group: #{{ highlight .group | replace (" " , " -" )}} {%- endif %}
18
- {% if highlight .tags | length %} - Tags: {% for tag in highlight .tags -%} #{{ tag | replace (" " , " -" )+ " " }} {%- endfor %}{%- endif %}
19
- {% if highlight .annotation %} - Annotation: {{ highlight .annotation }} {%- endif -%}{%- endfor -%}
21
+ {%- if is_new_article -%}
22
+ ## Highlights
23
+ {% for highlight in highlights -%}
24
+ - {{ highlight .text }} — [Updated on {{ highlight .updated }} ]({{ highlight .incontext }} )
25
+ {%- if ' Private' != highlight .group %} — Group: #{{ highlight .group | replace (" " , " -" )}} {% endif %}
26
+ {% if highlight .tags | length %} - Tags: {% for tag in highlight .tags %} #{{ tag | replace (" " , " -" )+ " " }} {% endfor %}
27
+ {% endif -%}
28
+ {% if highlight .annotation %} - Annotation: {{ highlight .annotation }} {% endif %}
29
+ {% endfor %}
30
+ {% endif %}
You can’t perform that action at this time.
0 commit comments