mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
SheepYY039/issue253 (#254)
* fix: Some timestamps cannot be parsed * fix: update dateToZulu to use try catch * Link to heading incorrectly renders as tag Fixes #253
This commit is contained in:
parent
14681b5d5b
commit
7385c408ee
@ -52,7 +52,7 @@
|
|||||||
{% for imp in dynamics.index.beforeContent %}
|
{% for imp in dynamics.index.beforeContent %}
|
||||||
{% include imp %}
|
{% include imp %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ content | hideDataview | link | taggify | safe}}
|
{{ content | hideDataview | taggify | link | safe}}
|
||||||
{% for imp in dynamics.common.afterContent %}
|
{% for imp in dynamics.common.afterContent %}
|
||||||
{% include imp %}
|
{% include imp %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -67,7 +67,7 @@ permalink: "notes/{{ page.fileSlug | slugify }}/"
|
|||||||
{% for imp in dynamics.notes.beforeContent %}
|
{% for imp in dynamics.notes.beforeContent %}
|
||||||
{% include imp %}
|
{% include imp %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ content | hideDataview | link | taggify | safe}}
|
{{ content | hideDataview | taggify | link | safe}}
|
||||||
{% for imp in dynamics.common.afterContent %}
|
{% for imp in dynamics.common.afterContent %}
|
||||||
{% include imp %}
|
{% include imp %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<updated>{%if note.data.updated %}{{ note.data.updated | dateToZulu }}{%else%}{{ note.date | dateToRfc3339 }}{%endif%}</updated>
|
<updated>{%if note.data.updated %}{{ note.data.updated | dateToZulu }}{%else%}{{ note.date | dateToRfc3339 }}{%endif%}</updated>
|
||||||
<id>{{ meta.siteBaseUrl }}{{note.url | url }}</id>
|
<id>{{ meta.siteBaseUrl }}{{note.url | url }}</id>
|
||||||
<content type="html">
|
<content type="html">
|
||||||
{{ note.templateContent | hideDataview | link | taggify | htmlToAbsoluteUrls(meta.siteBaseUrl) }}
|
{{ note.templateContent | hideDataview | taggify | link | htmlToAbsoluteUrls(meta.siteBaseUrl) }}
|
||||||
</content>
|
</content>
|
||||||
<link href="{{ meta.siteBaseUrl }}{{note.url | url }}" ////>
|
<link href="{{ meta.siteBaseUrl }}{{note.url | url }}" ////>
|
||||||
</entry>
|
</entry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user