Skip to content

Commit ac29be2

Browse files
committed
Merge branch gh-pages of carpentries/styles
2 parents 413bebc + 4f4de3a commit ac29be2

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export SHELL = /bin/bash
66

77
# Settings
88
MAKEFILES=Makefile $(wildcard *.mk)
9-
JEKYLL=bundle install --path .vendor/bundle && bundle update && bundle exec jekyll
9+
JEKYLL=bundle config --local set path .vendor/bundle && bundle install && bundle update && bundle exec jekyll
1010
PARSER=bin/markdown_ast.rb
1111
DST=_site
1212

_includes/lesson_footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<footer>
88
<div class="row">
9-
<div class="col-md-6 copyright" align="left">
9+
<div class="col-md-6 license" id="license-info" align="left">
1010
{% if site.carpentry == "swc" %}
1111
Licensed under <a href="{{ site.cc_by_human }}">CC-BY 4.0</a> 2018–{{ 'now' | date: "%Y" }}
1212
by <a href="{{ site.carpentries_site }}">The Carpentries</a>

_layouts/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/bootstrap-theme.css" />
1717
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/lesson.css" />
1818
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/syntax.css" />
19+
<link rel="license" href="#license-info" />
1920

2021
{% include favicons.html %}
2122

assets/css/lesson.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ article pre {
227227
text-align: center;
228228
}
229229

230-
footer .copyright,
230+
footer .license,
231231
footer .help-links
232232
{
233233
font-size: inherit;

assets/js/lesson.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ $("table").addClass("table table-striped");
44

55
// Handle foldable challenges and solutions (on click and at start).
66
$(".solution").click(function(event) {
7-
var trigger = $(event.target).has(".fold-unfold").size() > 0
8-
|| $(event.target).filter(".fold-unfold").size() > 0;
7+
var trigger = $(event.target).has(".fold-unfold").length > 0
8+
|| $(event.target).filter(".fold-unfold").length > 0;
99
if (trigger) {
1010
$(">*:not(h2)", this).toggle(400);
1111
$(">h2>span.fold-unfold", this).toggleClass("glyphicon-collapse-down glyphicon-collapse-up");

bin/boilerplate/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repository: <USERNAME>/<PROJECT>
3232
3333

3434
# Sites.
35-
amy_site: "https://amy.carpentries.org/workshops"
35+
amy_site: "https://amy.carpentries.org/"
3636
carpentries_github: "https://github.com/carpentries"
3737
carpentries_pages: "https://carpentries.github.io"
3838
carpentries_site: "https://carpentries.org/"

0 commit comments

Comments
 (0)