Skip to content

Commit

Permalink
paring with @orderedlist to add Gifwit json
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Glovier committed May 8, 2014
1 parent deb027e commit 08eed35
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions library.gifwit
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
---

{
"version":1,
"images": [
{% for image in site.data.static_files %}
{% assign parts = image.path | split:"/" %}
{
"url": "http://gifs.joelglovier.com/{{ image.path }}",
"keywords": "{{ parts.first }} {{ parts.last | replace:image.extname, '' | replace: '-', ' ' | replace: '_', ' ' }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}

0 comments on commit 08eed35

Please sign in to comment.