Add a script for generating coop data from coops.tech mirror

This commit is contained in:
Chris Lowis
2018-11-09 16:02:15 +00:00
parent 40f7f42ec2
commit 5ca9d98343
6 changed files with 208 additions and 0 deletions

26
scripts/coop.erb.md Normal file
View File

@ -0,0 +1,26 @@
---
title: <%= title %>
name: <%= name %>
website: <%= website %>
email: <%= email %>
twitter: <%= twitter %>
github: <%= github %>
telephone: <%= telephone %>
address: <%= address %>
latitude: <%= latitude %>
longitude: <%= longitude %>
clients:
<% clients.each do |client| %>
- <%= client %>
<% end %>
services:
<% services.each do |service| %>
- <%= service %>
<% end %>
technologies:
<% technologies.each do |technology| %>
- <%= technology %>
<% end %>
---
<%= body %>