File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ <h5><a href="{{ site.url }}/courses/{{ page.course | slugify }}/" ><i class="fa
72
72
{% if post.url == page.url %}
73
73
< li > < a href ="{{ site.url }}{{ post.permalink }} " class ='active '> SECTION {{ post.week }}< br > <!--<i class="fa fa-folder-open" aria-hidden="true"></i> -->
74
74
{% if post.nav-title %} {{ post.nav-title | upcase }} {% else %} {{ post.title | upcase }}{% endif %}</ a > </ li >
75
- {% else %}
75
+ {% else %}
76
76
< li class ='active-section '> < a href ="{{ site.url }}{{ post.permalink }} "> < i class ="fa fa-folder-open " aria-hidden ="true "> </ i >
77
77
{% if post.nav-title %}{{ post.chapter }} {{ post.week }}. {{ post.nav-title | upcase }} {% else %} {{ post.week }}. {{ post.title | upcase }}{% endif %}</ a > </ li >
78
78
@@ -112,7 +112,7 @@ <h5><a href="{{ site.url }}/courses/{{ page.course | slugify }}/" ><i class="fa
112
112
</ ul >
113
113
{% endfor %}
114
114
115
- {% if lesson_count == 0 %} < li > There are no lessons for this week. </ li > {% endif %}
115
+ {% if lesson_count == 0 %} < li > We have moved our lessons to a shiny new textbook series to make content easier to find! </ li > {% endif %}
116
116
</ ul >
117
117
118
118
<!-- BEGIN Learn how to lessons -->
Original file line number Diff line number Diff line change @@ -57,16 +57,33 @@ <h1 class="page__title" itemprop="headline">
57
57
<!-- BEGIN: insert a welcome to the module block on pages that are part of a module set -->
58
58
59
59
<!-- END: insert welcome block -->
60
+
60
61
{% if page.title %}
61
- < h1 class ="page__title " itemprop ="headline ">
62
+
63
+ {% if page.course == "earth-analytics-python" %}
64
+ < div class ="notice--warning header " markdown ="1 ">
65
+ < h1 class ="page__title " itemprop ="headline "> < i class ="fa fa-6 fa-exclamation-circle " aria-hidden ="true "> </ i > THIS CONTENT IS MOVING! {{ page.module-title }} </ h1 >
66
+ < p > We are moving all of our course lessons to textbook series. All of the same
67
+ content will be improved and available by the end of Spring 2020. While these pages will automagically redirect,
68
+ you can also visit the links below to check out our new content!
69
+ </ p >
70
+ < ul >
71
+ < li > < a href ="https://www.earthdatascience.org/courses/intro-to-earth-data-science/ "> Introduction to Earth Analytics Textbook</ a > </ li >
72
+ < li > < a href ="https://www.earthdatascience.org/courses/use-data-open-source-python/ "> Intermediate Earth Analytics Textbook</ a > </ li >
73
+ < li > < a href ="https://www.earthdatascience.org/courses/scientists-guide-to-plotting-data-in-python/ "> Earth Analytics Plotting Data Textbook</ a > </ li >
74
+ </ ul >
75
+ </ div >
76
+ {% endif %}
62
77
{% if page.deprecated %}
63
- {% if page.order %}< i class ="fa fa-6 fa-exclamation-circle " aria-hidden ="true "> </ i > DEPRECATED / MOVED Lesson {% endif %}
78
+ < h1 class =" page__title " itemprop =" headline " > {% if page.order %}< i class ="fa fa-6 fa-exclamation-circle " aria-hidden ="true "> </ i > DEPRECATED / MOVED Lesson {% endif %}</ h1 >
64
79
{% else %}
80
+ < h1 class ="page__title " itemprop ="headline ">
65
81
{% if page.order %}Lesson {{ page.order }}. {% endif %}
66
82
{% if page.header1 %}{{ page.header1 | markdownify | remove: "< p > " | remove: "</ p > " }}{% else %} {{ page.title | markdownify | remove: "< p > " | remove: "</ p > " }}{% endif %}
67
83
{% if page.module %} {{ page.module | replace: '-', ' ' | capitalize }} {{ page.module-type | capitalize }} {% endif %}
84
+ </ h1 >
68
85
{% endif %}
69
- </ h1 >
86
+
70
87
{% endif %}
71
88
72
89
{% if page.authors %}
You can’t perform that action at this time.
0 commit comments