Skip to content

Commit

Permalink
include base_path where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
fmichonneau committed Aug 24, 2018
1 parent 034e978 commit 3a82dee
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _includes/all_keypoints.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% comment %}
Display key points of all episodes for reference.
{% endcomment %}

{% include base_path.html %}

<h2>Key Points</h2>
<table class="table table-striped">
{% for episode in site.episodes %}
Expand Down
3 changes: 3 additions & 0 deletions _includes/carpentries.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% comment %}
General description of Software and Data Carpentry.
{% endcomment %}

{% include base_path.html %}

<div class="row">
<div class="col-md-2" align="center">
<a href="{{ site.carpentries_site }}"><img src="{{ relative_root_path }}/assets/img/cp-logo-blue.svg" alt="The Carpentries logo" /></a>
Expand Down
3 changes: 3 additions & 0 deletions _includes/main_title.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% comment %}
Main title for lesson pages.
{% endcomment %}

{% include base_path.html %}

<h1 class="maintitle"><a href="{{ relative_root_path }}{% link index.md %}">{{ site.title }}</a>{% if page.title %}: {{ page.title }}{% endif %}</h1>
3 changes: 3 additions & 0 deletions _layouts/workshop.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
---

{% include base_path.html %}

<!doctype html>
<html lang="en">
<head>
Expand Down
3 changes: 3 additions & 0 deletions bin/boilerplate/_extras/figures.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: Figures
---

{% include base_path.html %}

<script>
window.onload = function() {
var lesson_episodes = [
Expand Down
3 changes: 3 additions & 0 deletions bin/boilerplate/aio.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
---

{% include base_path.html %}

<script>
window.onload = function() {
var lesson_episodes = [
Expand Down

0 comments on commit 3a82dee

Please sign in to comment.