11 lines
265 B
Text
11 lines
265 B
Text
---
|
|
---
|
|
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 %}
|
|
])
|