Skip to content

Commit

Permalink
try again for prose
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetcecen committed Apr 4, 2016
1 parent 536a2fa commit e09c4d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"]
prose:
rooturl: '_posts'
siteurl: 'http://matin-hub.github.io/project-pages/'
relativeLinks: 'http://matin-hub.github.io/project-pages/proselinks.json'
media: 'img'
metadata:
_posts:
Expand Down
4 changes: 3 additions & 1 deletion proselinks.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
---
callback([
{% for post in site.posts reversed | sort: title %}
{
"text": "{{post.title | replace:'"','\"'}}",
"href": "{{site.url}}{{site.baseurl}}{{post.url}}"
} {% unless forloop.last %},{% endunless%}
{% endfor %}
{% endfor %}
])

0 comments on commit e09c4d9

Please sign in to comment.