|
34 | 34 |
|
35 | 35 | {% comment %} |
36 | 36 | Below we cover the 3 phases of lesson transition towards the Carpentries Workbench: |
37 | | -- transition_step_1 (`transition_url` variable needed): we indicate that there |
| 37 | +- transition-step-1 (`transition_url` variable needed): we indicate that there |
38 | 38 | is a new version of the lesson that is available for testing, and that it will be deprecated in the future. |
39 | | -- transition_step_2 (`transition_url` and `transition_date` variables needed): we indicate that a new version of the lesson is avaiable with a deprecation date. |
40 | | -- transition_step_3 (`transition_url` variable needed): the lesson if fully deprecated, and a redirect is set up to the new URL |
| 39 | +- transition-step-2 (`transition_url` and `transition_date` variables needed): we indicate that a new version of the lesson is avaiable with a deprecation date. |
| 40 | +- transition-step-3 (`transition_url` variable needed): the lesson if fully deprecated, and a redirect is set up to the new URL |
41 | 41 | {% endcomment %} |
42 | 42 |
|
43 | | -{% elsif site.life_cycle == "transition_step_1" %} |
| 43 | +{% elsif site.life_cycle == "transition-step-1" %} |
44 | 44 | {% include check_transition_variables.html need_transition_date = 'false' %} |
45 | 45 |
|
46 | 46 | <div class="alert alert-warning life-cycle"> |
|
49 | 49 | This lesson will become deprecated in the near future. |
50 | 50 | </div> |
51 | 51 |
|
52 | | -{% elsif site.life_cycle == "transition_step_2" %} |
| 52 | +{% elsif site.life_cycle == "transition-step-2" %} |
53 | 53 | {% include check_transition_variables.html need_transition_date = 'true' %} |
54 | 54 |
|
55 | 55 | <div class="alert alert-danger life-cycle"> |
56 | 56 | A newer version of this lesson is available from: <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>. |
57 | 57 | This lesson will become deprecated on {{ site.transition_date }}. |
58 | 58 | </div> |
59 | 59 |
|
60 | | -{% elsif site.life_cycle == "transition_step_3" %} |
| 60 | +{% elsif site.life_cycle == "transition-step-3" %} |
61 | 61 | {% include check_transition_variables.html need_transition_date = 'false' %} |
62 | 62 |
|
63 | 63 | <div class="alert alert-danger life-cycle"> |
|
0 commit comments