#all_tags stopped working?
I noticed in all my templates that use #all_tags they stopped working on both of my sites, returning blank results. I'm guessing something changed on the back-end? Is it possible this could be restored? It brings very useful capabilities.
Example code:
{{#all_tags}}
{{#entries}}
{{#tagged.liked}}
<a href="{{metadata.source}}" target="_blank">{{title}}</a> → <br><dd>{{summary}}</dd><br>
{{/tagged.liked}}
{{/entries}}
{{/all_tags}}
Page it's used on: https://notes.alongtheray.com/bookmarks
Yes, sorry about this – I temporarily disabled the entries
property of each item in all_tags
for performance reasons (the query was locking up the server for other requests). It will be back soon once I rewrite the way tags are stored in the DB. For now, would it be possible to refactor the template to something like this:
{{#all_entries}}
{{#tagged.liked}}
<a href="{{metadata.source}}" target="_blank">{{title}}</a> → <br><dd>{{summary}}</dd><br>
{{/tagged.liked}}
{{/all_entries}}
Answered 10 days ago ·
Edit answer
Ah, understood.
I tried your refactored example above but it still gives empty results.
Ray
Answered 10 days ago · Edit answerAh – I was so confused – it's because those are pages not posts – that whole system only worked because of a bug! If you turn them into posts, the updated code will work
Answered 6 days ago · Edit answerHmm, that presents issues because I blog on the same site and don't want numerous bookmarks and "likes" littering the blog posts sections, archives, etc.
I'm hoping this will work again soon with pages because I plan on also utilizing it for my online Zettelkasten?
Ray
Answered 6 days ago · Edit answer