Add services

This commit is contained in:
Chris Roos 2017-06-27 16:08:54 +01:00
parent 5fc3481c0f
commit c1d855e777
9 changed files with 42 additions and 0 deletions

View File

@ -2,8 +2,15 @@ collections:
coops:
output: true
permalink: /co-op/:name
services:
output: true
permalink: /service/:name
defaults:
- scope:
type: coops
values:
layout: co-op
- scope:
type: services
values:
layout: service

View File

@ -1,6 +1,8 @@
---
name: Agile Collective
website: http://agile.coop
services:
- consultancy
---
Agile Collective is a small team of designers and developers who make websites for socially positive organisations such as charities, NGOs, social enterprises and educational institutions. We take a highly creative and integrated approach to all of our projects which results in a transparent and empowering working environment for the whole project team including our client.

View File

@ -1,6 +1,9 @@
---
name: Go Free Range
website: http://gofreerange.com
services:
- business-analysis
- consultancy
---
We are a co-operative with some of the most experienced web-application developers in the UK offering software development and design.

View File

@ -1,6 +1,8 @@
---
name: Outlandish
website: http://outlandish.com
services:
- business-analysis
---
Outlandish is made up of around 20 collaborators and co-owners who love humour, quality code, and apps that challenge the status quo.

View File

@ -5,3 +5,12 @@
<a href="{{ page.website }}">{{ page.name }}</a>
{{ content }}
<h2>Services</h2>
<ul>
{% for service in page.services %}
{% assign s = site.services | where: "slug", service | first %}
<li><a href="{{ s.url | relative_url }}">{{ s.name }}</a></li>
{% endfor %}
</ul>

1
_layouts/service.html Normal file
View File

@ -0,0 +1 @@
<h1>Coops that offer {{ page.name }}</h1>

View File

@ -0,0 +1,3 @@
---
name: Business Analysis
---

3
_services/consultancy.md Normal file
View File

@ -0,0 +1,3 @@
---
name: Consultancy
---

View File

@ -13,3 +13,15 @@ title: CoTech
</li>
{% endfor %}
</ul>
<h2>Services</h2>
<ul>
{% for service in site.services %}
<li>
<a href="{{ service.url | relative_url }}">
{{ service.name }}
</a>
</li>
{% endfor %}
</ul>