crazy-toads.github.io/links.jsonp

12 lines
265 B
Text
Raw Normal View History

2017-08-08 19:53:28 +00:00
---
---
callback([
2018-12-03 02:25:29 +00:00
{% assign sortedposts = site.posts | sort: 'title' %}
{% for post in sortedposts reversed %}
2017-08-08 19:53:28 +00:00
{
"text": "{{post.title | replace:'"','\"'}}",
"href": "{{site.url}}{{post.url}}"
} {% unless forloop.last %},{% endunless%}
{% endfor %}
])