feat: add tags to shared content

This commit is contained in:
Cory Dransfeldt 2023-09-08 12:42:44 -07:00
parent 64e434c6b9
commit 7216b848f4
No known key found for this signature in database
8 changed files with 84 additions and 10 deletions

View file

@ -8,7 +8,7 @@
"items": [{% for entry in entries limit: 20 -%}
{
"id": "{{ entry.url | btoa }}",
"title": "{{ entry.title | escape }}{% if share %}{{ entry.shareTags }}{%endif%}",
"title": "{{ entry.title | escape }}{% if tagMap %} {{ entry.url | tagLookup: tagMap }}{% endif %}",
"url": "{{ entry.url }}",
"content_text": "{{ entry.title }} {{ entry.url }}",
"date_published": "{{ entry.date | stringToDate | dateToRfc822 }}"