mirror of
https://github.com/ipdb/website.git
synced 2024-11-22 09:36:52 +01:00
Merge pull request #36 from ipdb/fix/24
Custom parser for caretakers email in FAQ data
This commit is contained in:
commit
7970e66a48
@ -60,7 +60,7 @@
|
||||
|
||||
- question: Can my organization be a Caretaker?
|
||||
answer: |
|
||||
Maybe! If you think you’re a good fit, contact us at {{ site.data.contact.email_caretakers }}.
|
||||
Maybe! If you think you’re a good fit, contact us at !EMAIL_CARETAKERS!.
|
||||
|
||||
## Transactions
|
||||
- question: Can I delete a Transaction?
|
||||
|
@ -7,6 +7,8 @@ subtitle: Get answers to your most pressing questions
|
||||
css: page-faq
|
||||
---
|
||||
|
||||
{% capture email_caretakers %}<a href="mailto:{{ site.data.contact.email_caretakers }}">{{ site.data.contact.email_caretakers }}</a>{% endcapture %}
|
||||
|
||||
<section class="section section--faq">
|
||||
<div class="row row--narrow">
|
||||
|
||||
@ -21,7 +23,7 @@ css: page-faq
|
||||
{% assign id = faq.question | downcase | replace: ' ','-' | replace: '?', '' %}
|
||||
|
||||
<h1 class="faq__question" id="{{ id }}"><a class="header-link" href="#{{ id }}">#</a> {{ faq.question }}</h1>
|
||||
<div class="faq__answer">{{ faq.answer | markdownify }}</div>
|
||||
<div class="faq__answer">{{ faq.answer | replace: '!EMAIL_CARETAKERS!', email_caretakers | markdownify }}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user