Closed maneesha closed 4 months ago
Name | Link |
---|---|
Latest commit | 5b556710e16ec69300bc345a97d974b4edea72a5 |
Latest deploy log | https://app.netlify.com/sites/zen-ride-08ffd1/deploys/62b9ea3739bcc7000a6b4fba |
Deploy Preview | https://deploy-preview-764--zen-ride-08ffd1.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
@zkamvar I was thinking about that. Do you know if there is a way to require a value on one of the fields based on another field?
(i.e. covid_protocols
is required if address == 'online'
or if country != 'W3'
)
@zkamvar I was thinking about that. Do you know if there is a way to require a value on one of the fields based on another field? (i.e.
covid_protocols
is requiredif address == 'online'
orif country != 'W3'
)
I belive it would be an unless tag:
for example:
{% if page.address != "online" %}
{% unless site.covid_policy %}
<div class="alert alert-warning">
It looks like you are setting up an in-person workshop but you haven't specified the COVID policy in the <code>_config.yml</code> file...
</div>
{% endunless %}
COVID POLICY
<p>{{ page.covid_policy }}</p>
{% endif %}
@maneesha this LGTM. I would agree with @zkamvar and ask that there be some type of requirement if possible.
Closing this because it is rare that anyone has COVID requirements anymore.
This PR adds a variable for information about special COVID protocols. This will display on the rendered page as a section immediately after the Code of Conduct section. @sheraaronhurt let me know if this looks OK to you or if you want it displayed elsewhere instead.
When setting up the website, Instructors will add it to the website in the same way the add in location, dates, instructor names, etc.