1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-03 07:17:31 -05:00

fix rake task

This commit is contained in:
Patrick Marsceill 2017-06-08 09:43:33 -04:00
parent 937c237721
commit f0bebce3b4
No known key found for this signature in database
GPG Key ID: AEAF30C14952BCC5

View File

@ -1,4 +1,4 @@
,nit do task :init do
touch search-data.json touch search-data.json
File.open('search-data.json', 'w') do |f| File.open('search-data.json', 'w') do |f|
@ -13,9 +13,6 @@
"url": "{{ page.url | xml_escape }}" "url": "{{ page.url | xml_escape }}"
}{% if forloop.last %}{% else %}, }{% if forloop.last %}{% else %},
{% endif %}{% endfor %} {% endif %}{% endfor %}
} }'
end
end'
end end
end