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

@ -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>