Fix raw tags

This commit is contained in:
Oliver Davies 2019-04-10 17:59:53 +01:00
parent 36e39431ef
commit 0feddeac6a
5 changed files with 14 additions and 14 deletions

View file

@ -69,7 +69,7 @@ talks:
The Twig layout:
```language-twig
{% raw -%}
{% verbatim -%}
{% for talk in talks|reverse if talk.date >= now %}
{# Upcoming talks #}
{% endfor %}
@ -77,7 +77,7 @@ The Twig layout:
{% for talk in talks if talk.date < now %}
{# Previous talks #}
{% endfor%}
{%- endraw %}
{%- endverbatim %}
```
I also didnt want to have to push an empty commit or manually trigger a job in Jenkins after doing a talk in order for it to be positioned in the correct place on the page, so I also wanted Jenkins to schedule a regular build regardless of whether or not code had been pushed, so ensure that my talks page would be up to date.