Skip to content

Commit

Permalink
Merge pull request #12 from datacommons/centralma
Browse files Browse the repository at this point in the history
add a Central Massachusetts site stub
  • Loading branch information
paulfitz authored Feb 24, 2017
2 parents f455a8f + b9e0196 commit fb0a457
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
39 changes: 39 additions & 0 deletions app/sites/centralma_site.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
class CentralmaSite < Site

def site_searches
['Worcester']
end

def aliases
['centralma.find.coop','testcentralma.find.coop']
end

def dso_filter
["Solidarity and Green Economy Alliance"]
end

def should_show_latest_people
false
end

def layout
:sprint
end

def use_logo
true
end

def title
'Central Massachusetts Directory'
end

def menu
[
{
:name => "Solidarity and Green Economy Alliance",
:link => "http://www.worcestersagealliance.org/"
},
]
end
end
5 changes: 5 additions & 0 deletions app/views/layouts/centralma/_index.rhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<p>
Central Massachusetts Co-operatives, curated by SAGE.
</p>

<%= render :partial => "list" %>
Binary file added public/images/centralma/logo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb0a457

Please sign in to comment.