Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend template for lesson developer training #82

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ swc_pages: "https://swcarpentry.github.io"
swc_site: "https://software-carpentry.org"
template_repo: "https://github.com/carpentries/styles"
training_site: "https://carpentries.github.io/instructor-training"
lessondev_training_site: "https://carpentries.github.io/lesson-development-training"
workshop_repo: "https://github.com/carpentries/workshop-template"
workshop_site: "https://carpentries.github.io/workshop-template"
cc_by_human: "https://creativecommons.org/licenses/by/4.0/"
Expand All @@ -51,6 +52,8 @@ pre_survey: "https://carpentries.typeform.com/to/wi32rS#slug="
post_survey: "https://carpentries.typeform.com/to/UgVdRQ#slug="
instructor_pre_survey: "https://carpentries.typeform.com/to/QVOarK#slug="
instructor_post_survey: "https://carpentries.typeform.com/to/cjJ9UP#slug="
lessondev_pre_survey: FIXME
lessondev_pre_survey: FIXME

# Set to 'true' for instructor training websites only.
instructor_training: false
Expand Down
9 changes: 8 additions & 1 deletion _includes/workshop_ad.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{% comment %}
Advertising box at the top of a workshop website home page.
{% endcomment %}

{% assign curriculum_words = page.curriculum | split: ' ' %}
{% capture title %}
{% for word in curriculum_words %}
{{ word | capitalize }}
{% endfor %}{% endcapture %}

<div class="jumbotron">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<h2>Instructor Training</h2>
<h2>{{ title }}</h2>
<div class="row">
<div class="col-md-6">
<p>{% for loc in page.locations %}{{ loc.venue }}{% unless forloop.last %}, {% endunless %}{% endfor %}</p>
Expand Down
Loading
Loading