3
0
mirror of https://git.coop/cotech/website.git synced 2025-12-17 09:37:32 +00:00
Files
cotech-website/_layouts/coop.html
Chris Lowis da137da894 Remove technologies
We stripped out the metadata from the co-op files in the previous
commit so these are no longer linked to or used.
2025-12-16 15:48:31 +00:00

69 lines
1.8 KiB
HTML

<!doctype html>
<html lang="en">
{% include head.html %}
<body>
{% include header.html %}
<section class="slice">
<a href="{{ page.website }}" target="_blank">
<img class="slice_logo" src="/images/coops/{{ page.logo }}" alt="{{ page.slug }}">
</a>
<h1 class="slice_title">{{ page.name }}</h1>
<a class="slice_subtitle" href="{{ page.website }}" target="_blank">{{ page.website }}</a>
</section>
<div class="two-column">
<div class="two-column_left">
{% if page.email %}
<div>
<h5>Email:</h5>
<p><a href="mailto:{{ page.email }}">{{ page.email }}</a></p>
</div>
{% endif %}
{% if page.telephone %}
<div>
<h5>Tel:</h5>
<p>{{ page.telephone }}</p>
</div>
{% endif %}
{% if page.address %}
<div>
<h5>Address:</h5>
<p>{{ page.address | split: "," | join: "<br>" }}</p>
</div>
{% endif %}
<div>
{% if page.twitter %}
<p><a href="http://twitter.com/{{ page.twitter }}" target="_blank">Twitter</a></p>
{% endif %}
{% if page.github %}
<p><a href="https://github.com/{{ page.github }}" target="_blank">Github</a></p>
{% endif %}
</div>
</div>
<div class="two-column_right">
<section>
<p>{{ content }}</p>
</section>
{% if page.clients %}
<section>
<h2 id="clients">Clients</h2>
<ul>
{% for client in page.clients %}
{% assign c = site.clients | where: "slug", client | first %}
<li>{{ c.title }}</li>
{% endfor %}
</ul>
</section>
{% endif %}
</div>
</div>
{% include footer.html %}
</body>
</html>