mirror of
https://github.com/ipdb/website.git
synced 2024-11-22 17:40:03 +01:00
custom parser for caretakers email in FAQ data
This commit is contained in:
parent
7186af0c01
commit
4d96bc35fa
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
- question: Can my organization be a Caretaker?
|
- question: Can my organization be a Caretaker?
|
||||||
answer: |
|
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
|
## Transactions
|
||||||
- question: Can I delete a Transaction?
|
- question: Can I delete a Transaction?
|
||||||
|
@ -7,6 +7,8 @@ subtitle: Get answers to your most pressing questions
|
|||||||
css: page-faq
|
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">
|
<section class="section section--faq">
|
||||||
<div class="row row--narrow">
|
<div class="row row--narrow">
|
||||||
|
|
||||||
@ -21,7 +23,7 @@ css: page-faq
|
|||||||
{% assign id = faq.question | downcase | replace: ' ','-' | replace: '?', '' %}
|
{% assign id = faq.question | downcase | replace: ' ','-' | replace: '?', '' %}
|
||||||
|
|
||||||
<h1 class="faq__question" id="{{ id }}"><a class="header-link" href="#{{ id }}">#</a> {{ faq.question }}</h1>
|
<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 %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user