Tidying up references to LC
authorGreg Wilson <gvwilson@third-bit.com>
Fri, 7 Oct 2016 17:23:18 +0000 (13:23 -0400)
committerGreg Wilson <gvwilson@third-bit.com>
Fri, 7 Oct 2016 17:23:18 +0000 (13:23 -0400)
_includes/lesson_footer.html
_includes/navbar.html
bin/lesson_initialize.py

index d5c9ad9f45c6b812953937d623997f41afa83ae8..a37ba3eceb1bcf6b3a31fa05210219cd8bdb0366 100644 (file)
@@ -8,7 +8,7 @@
        {% elsif site.carpentry == "dc" %}
        <a href="{{ site.dc_site }}">Data Carpentry</a>
        {% elsif site.carpentry == "lc" %}
-       <a href="{{ site.dc_site }}">Library Carpentry</a>
+       <a href="{{ site.lc_site }}">Library Carpentry</a>
        {% endif %}
       </h4>
     </div>
@@ -20,7 +20,7 @@
        /
        <a href="{{ site.github.repository_url }}/blob/gh-pages/CITATION">Cite</a>
        /
-       <a href="mailto:{{ site.contact }}">Contact</a>
+       <a href="{{ site.contact }}">Contact</a>
       </h4>
     </div>
   </div>
index 8d4f1dd29f8d854700dc9ffdf2914fcfaf7f16a8..6a4df8a7c83d81f5fdec28ebf07f7511af3cd2d2 100644 (file)
@@ -18,7 +18,7 @@
         <img class="navbar-logo" src="{{ page.root }}/assets/img/dc-icon-black.svg" alt="Data Carpentry logo" />
       </a>
       {% elsif page.carpentry == "lc" %}
-      <a href="{{ site.dc_site }}" class="pull-left">
+      <a href="{{ site.lc_site }}" class="pull-left">
         <img class="navbar-logo" src="{{ page.root }}/assets/img/lc-icon-black.svg" alt="Library Carpentry logo" />
       </a>
       {% elsif site.carpentry == "swc" %}
@@ -30,7 +30,7 @@
         <img class="navbar-logo" src="{{ page.root }}/assets/img/dc-icon-black.svg" alt="Data Carpentry logo" />
       </a>
       {% elsif site.carpentry == "lc" %}
-      <a href="{{ site.dc_site }}" class="pull-left">
+      <a href="{{ site.lc_site }}" class="pull-left">
         <img class="navbar-logo" src="{{ page.root }}/assets/img/lc-icon-black.svg" alt="Library Carpentry logo" />
       </a>
       {% endif %}
index 247b425fe556ec97ddb8f24b81eb74bdedded053..71f508e3f652f47ec35e221a4a4d6f51f46a6b1b 100755 (executable)
@@ -184,7 +184,7 @@ title: "Lesson Title"
 # Contact.  This *must* include the protocol: if it's an email
 # address, it must look like "mailto:lessons@software-carpentry.org",
 # or if it's a URL, "https://gitter.im/username/ProjectName".
-contact: mailto:lessons@software-carpentry.org
+contact: "mailto:lessons@software-carpentry.org"
 
 #------------------------------------------------------------
 # Generic settings (should not need to change).
@@ -203,6 +203,7 @@ dc_site: "http://datacarpentry.org"
 swc_github: "https://github.com/swcarpentry"
 swc_site: "https://software-carpentry.org"
 swc_pages: "https://swcarpentry.github.io"
+lc_site: "http://datacarpentry.org"
 template_repo: "https://github.com/swcarpentry/styles"
 example_repo: "https://github.com/swcarpentry/lesson-example"
 example_site: "https://swcarpentry.github.com/lesson-example"