use favicons for workshop page
authorFrançois Michonneau <francois.michonneau@gmail.com>
Tue, 15 May 2018 16:00:42 +0000 (12:00 -0400)
committerFrançois Michonneau <francois.michonneau@gmail.com>
Tue, 15 May 2018 16:00:42 +0000 (12:00 -0400)
_layouts/workshop.html

index ccd8747ee6027197b799c3dbfb24327f2f5d14e6..3525da390ded29b56c2c7270038f2a690f553384 100644 (file)
     <link rel="stylesheet" type="text/css" href="{{ page.root }}/assets/css/bootstrap.css" />
     <link rel="stylesheet" type="text/css" href="{{ page.root }}/assets/css/bootstrap-theme.css" />
     <link rel="stylesheet" type="text/css" href="{{ page.root }}/assets/css/lesson.css" />
-    {% if site.carpentry == "swc" %}
-    <link rel="shortcut icon" type="image/x-icon" href="/favicon-swc.ico" />
-    {% elsif site.carpentry == "dc" %}
-    <link rel="shortcut icon" type="image/x-icon" href="/favicon-dc.ico" />
-    {% elsif site.carpentry == "lc" %}
-    <link rel="shortcut icon" type="image/x-icon" href="/favicon-lc.ico" />
-    {% endif %}
+
+    {% include favicons.html %}
+
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
     <!--[if lt IE 9]>