diff --git a/_config.yml b/_config.yml index cc3bbd86..ca4e660e 100644 --- a/_config.yml +++ b/_config.yml @@ -6,6 +6,12 @@ collections: permalink: /:title description: >- A resource to help transit providers upgrade their fare collection systems to accept contactless payment methods like credit/debit cards and smartphones. +announcement: + enabled: true + text: | + Cal-ITP is offering smaller providers in California a limited number of free + licenses to Remix’s suite of scheduling products. Check your eligibility and + sign up using our [intake form](https://share.hsforms.com/13WkzY7taSoSdxBATWsNedQ3aanu){:target="_black"}. # Exclude from processing. # The following items will not be processed, by default. # Any item listed under the `exclude:` key here will be automatically added to diff --git a/src/_includes/alert.html b/src/_includes/alert.html index 187c896e..a8310a4e 100644 --- a/src/_includes/alert.html +++ b/src/_includes/alert.html @@ -1,5 +1,5 @@ diff --git a/src/index.html b/src/index.html index a6903c15..5d505fd7 100644 --- a/src/index.html +++ b/src/index.html @@ -9,7 +9,9 @@ newsletter_background: bg-white --- -{% include alert.html display="d-none" %} +{% if site.announcement.enabled %} + {% include alert.html text=site.announcement.text %} +{% endif %}