File tree Expand file tree Collapse file tree 4 files changed +271
-1
lines changed Expand file tree Collapse file tree 4 files changed +271
-1
lines changed Original file line number Diff line number Diff line change 28
28
{% elsif site.life_cycle == "stable" %}
29
29
30
30
{% comment %}
31
- We don't do anything special for now
31
+ We don't do anything special unless this is a Carpentries Lab lesson
32
32
{% endcomment %}
33
33
34
+ {% if site.carpentry == "lab" %}
35
+ {% if site.doi contains "zenodo" %}{% assign listing=" on Zenodo" %}
36
+ {% elsif site.doi contains "jose" %}{% assign listing=" in JOSE" %}
37
+ {% else %}{% assign listing="none" %}
38
+ {% endif %}
39
+
40
+ < div class ="panel panel-default life-cycle ">
41
+ < div id ="life-cycle " class ="panel-body published ">
42
+ This lesson has passed peer-review! {% if site.doi != "" %}< a href ="{{ site.doi }} "> See the publication{{ listing }}.</ a > {% endif %}
43
+ </ div >
44
+ </ div >
45
+ {% endif %}
34
46
{% endif %}
Original file line number Diff line number Diff line change 32
32
< a href ="{{ site.carpentries_site }} " class ="pull-left ">
33
33
< img class ="navbar-logo " src ="{{ relative_root_path }}{% link /assets/img/cp-logo-blue.svg %} " alt ="The Carpentries logo " />
34
34
</ a >
35
+ {% elsif site.carpentry == "lab" %}
36
+ < a href ="{{ relative_root_path }}{% link index.md %} " class ="pull-left ">
37
+ < img class ="navbar-logo " src ="{{ relative_root_path }}{% link /assets/img/carpentrieslab.svg %} " alt ="The Carpentries Lab " />
38
+ </ a >
35
39
{% endif %}
36
40
37
41
{% comment %} Always show link to home page. {% endcomment %}
Original file line number Diff line number Diff line change @@ -357,6 +357,11 @@ div.life-cycle {
357
357
background : #d9edf7 ;
358
358
}
359
359
360
+ .published {
361
+ color : #354711 ;
362
+ background : #effbd7 ;
363
+ }
364
+
360
365
// Remove border around spans of text within code blocks
361
366
// that the highlighter (rouge) failed to recognize.
362
367
pre .highlight span .err {
You can’t perform that action at this time.
0 commit comments