diff --git a/LICENSE.md b/LICENSE.md index 566ce55338b25f92a6332c505cc765c0f77faa30..179758a7e987f1a075ab394a104ba2bdf129c302 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -73,7 +73,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ## Trademark -"Software Carpentry" an "Data Carpentry" and their respective logos +"Software Carpentry" and "Data Carpentry" and their respective logos are registered trademarks of [NumFOCUS][numfocus]. [cc-by-human]: https://creativecommons.org/licenses/by/4.0/ diff --git a/_includes/lesson_footer.html b/_includes/lesson_footer.html index beef2cb38479f75cbf633044956afda873a837a5..a37ba3eceb1bcf6b3a31fa05210219cd8bdb0366 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 %}

@@ -13,7 +18,9 @@ / Contributing / - Contact + Cite + / + Contact
diff --git a/_includes/navbar.html b/_includes/navbar.html index b0a2c3d83055b5105d0175106b01e85027efbd84..6a4df8a7c83d81f5fdec28ebf07f7511af3cd2d2 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 06f316df83824a4f5baa29cb0e8972de0f441acc..365d2e50fcb0f226f37f02e54d7b6ac3503ad815 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 f29e3ce117ccce3dd5cf6837e203169c692166b0..2f4cd3040f92ddf477a539171b23fe83a06734d1 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 0000000000000000000000000000000000000000..df711892ac71a9dc1792a77167a6634020b6b23c --- /dev/null +++ b/assets/img/lc-icon-black.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/lesson_check.py b/bin/lesson_check.py index 311687e92ac851ba3c5c5af2720ce45d03490902..a594f2f47c9a3fc0e27fe7452e399aefb9b2595f 100755 --- a/bin/lesson_check.py +++ b/bin/lesson_check.py @@ -151,9 +151,9 @@ def check_config(reporter, source_dir): config_file = os.path.join(source_dir, '_config.yml') config = load_yaml(config_file) reporter.check_field(config_file, 'configuration', config, 'kind', 'lesson') - reporter.check_field(config_file, 'configuration', config, 'carpentry', ('swc', 'dc')) + reporter.check_field(config_file, 'configuration', config, 'carpentry', ('swc', 'dc', 'lc')) reporter.check_field(config_file, 'configuration', config, 'title') - reporter.check_field(config_file, 'configuration', config, 'email') + reporter.check_field(config_file, 'configuration', config, 'contact') reporter.check({'values': {'root': '..'}} in config.get('defaults', []), 'configuration', diff --git a/bin/lesson_initialize.py b/bin/lesson_initialize.py index e0c2881bf80d35a1a0550ec29b9c497da2d90ad9..b26bf2877a5a282a4f7e05b5605ce595871ef041 100755 --- a/bin/lesson_initialize.py +++ b/bin/lesson_initialize.py @@ -175,14 +175,16 @@ 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. title: "Lesson Title" -# Contact email address. -email: lessons@software-carpentry.org +# 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" #------------------------------------------------------------ # Generic settings (should not need to change). @@ -201,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://librarycarpentry.github.io/" template_repo: "https://github.com/swcarpentry/styles" example_repo: "https://github.com/swcarpentry/lesson-example" example_site: "https://swcarpentry.github.com/lesson-example" diff --git a/favicon-lc.ico b/favicon-lc.ico new file mode 100644 index 0000000000000000000000000000000000000000..f4f3c9356479843b967e8cd910a69aa3f81d7dd4 Binary files /dev/null and b/favicon-lc.ico differ