Extract contact email address variable

This commit is contained in:
James Mead 2017-07-01 14:03:08 +01:00
parent a993d209ab
commit 634998db93
3 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
contact_email: contact@coops.tech
collections:
coops:
output: true

View File

@ -100,9 +100,9 @@ layout: home
<h2>Get In Touch</h2>
<p>
If you would like to work with us, or find out more,
<a href="mailto:contact@coops.tech">get in touch</a>.
<a href="mailto:{{ site.contact_email }}">get in touch</a>.
<br/> Not sure which tech coop, or coops, are right for you? Drop us a message at
<a href="mailto:contact@coops.tech">contact@coops.tech</a>, and we will help you find the perfect match.
<a href="mailto:{{ site.contact_email }}">{{ site.contact_email }}</a>, and we will help you find the perfect match.
</p>
</div>

View File

@ -36,7 +36,7 @@ layout: default
<section id="join-form">
<div class="row">
<div class="small-12 medium-6 small-centered columns">
<p>Contact us via <a href="mailto:contact@coops.tech">contact@coops.tech</a>.</p>
<p>Contact us via <a href="mailto:{{ site.contact_email }}">{{ site.contact_email }}</a>.</p>
</div>
</div>
</section>