crazy-toads.github.io/links.jsonp

12 lines
265 B
Plaintext

---
---
callback([
{% assign sortedposts = site.posts | sort: 'title' %}
{% for post in sortedposts reversed %}
{
"text": "{{post.title | replace:'"','\"'}}",
"href": "{{site.url}}{{post.url}}"
} {% unless forloop.last %},{% endunless%}
{% endfor %}
])