From: Greg Wilson Date: Fri, 7 Oct 2016 14:38:42 +0000 (-0400) Subject: Starting to incorporate Library Carpentry materials X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/commitdiff_plain/0a8b55cd9705b69d597bd468e9a8efd42c2b99dc Starting to incorporate Library Carpentry materials --- diff --git a/_includes/lesson_footer.html b/_includes/lesson_footer.html index beef2cb..e143daa 100644 --- a/_includes/lesson_footer.html +++ b/_includes/lesson_footer.html @@ -3,8 +3,13 @@

Copyright © 2016 - {% if site.carpentry == "swc" %}Software Carpentry Foundation{% endif %} - {% if site.carpentry == "dc" %}Data Carpentry{% endif %} + {% if site.carpentry == "swc" %} + Software Carpentry Foundation + {% elsif site.carpentry == "dc" %} + Data Carpentry + {% elsif site.carpentry == "lc" %} + Library Carpentry + {% endif %}

diff --git a/_includes/navbar.html b/_includes/navbar.html index b0a2c3d..8d4f1dd 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -17,6 +17,10 @@ + {% elsif page.carpentry == "lc" %} + + + {% elsif site.carpentry == "swc" %} @@ -25,6 +29,10 @@ + {% elsif site.carpentry == "lc" %} + + + {% endif %} {% comment %} Always show link to home page. {% endcomment %} diff --git a/_layouts/base.html b/_layouts/base.html index 06f316d..365d2e5 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -14,9 +14,10 @@ {% if site.carpentry == "swc" %} - {% endif %} - {% if site.carpentry == "dc" %} + {% elsif site.carpentry == "dc" %} + {% elsif site.carpentry == "lc" %} + {% endif %} diff --git a/_layouts/workshop.html b/_layouts/workshop.html index f29e3ce..2f4cd30 100644 --- a/_layouts/workshop.html +++ b/_layouts/workshop.html @@ -30,9 +30,10 @@ {% if site.carpentry == "swc" %} - {% endif %} - {% if site.carpentry == "dc" %} + {% elsif site.carpentry == "dc" %} + {% elsif site.carpentry == "lc" %} + {% endif %} diff --git a/assets/img/lc-icon-black.svg b/assets/img/lc-icon-black.svg new file mode 100644 index 0000000..df71189 --- /dev/null +++ b/assets/img/lc-icon-black.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/lesson_initialize.py b/bin/lesson_initialize.py index a3c478d..28b2f90 100755 --- a/bin/lesson_initialize.py +++ b/bin/lesson_initialize.py @@ -175,7 +175,7 @@ ROOT_CONFIG_YML = '''\ # Values for this lesson. #------------------------------------------------------------ -# Which carpentry is this ("swc" or "dc")? +# Which carpentry is this ("swc", "dc", or "lc")? carpentry: "swc" # Overall title for pages. diff --git a/favicon-lc.ico b/favicon-lc.ico new file mode 100644 index 0000000..f4f3c93 Binary files /dev/null and b/favicon-lc.ico differ