Skip to content

Commit 050c27c

Browse files
committed
changed the data file name to data.json
1 parent 0378be6 commit 050c27c

21 files changed

+23
-23
lines changed

404.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: "Page not found"
77
{% comment %}
88
Assign first row in data file as info to access workshop data
99
{% endcomment %}
10-
{% assign info = site.data.dummy_data[0] %}
10+
{% assign info = site.data.data[0] %}
1111
# Oops! We can't find that page.
1212
{: style="text-align: center;"}
1313

_data/dummy_data.json _data/data.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"layout": "workshop",
4-
"venue": "Venue Goes here",
4+
"venue": "Venue",
55
"address": "Address Goes here",
66
"country": "Country goes here",
77
"language": "English",
@@ -15,10 +15,10 @@
1515
"helper": "Helper",
1616
"collaborative_notes": "Collaborative notes",
1717
"eventbrite": "Eventbrite",
18-
"carpentry": "swc",
18+
"carpentry": "dc",
1919
"curriculum": "dc-ecology",
2020
"repository": "https://github.com/escience-academy/+master spreadsheet slug",
21-
"title": "Demo Title",
21+
"title": "Title",
2222
"slug": "2021-07-28-demo-workshop",
2323
"flavor": "FixMe"
2424
}

_extras/design.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /design/
66
{% comment %}
77
Assign first row in data file as info to access workshop data
88
{% endcomment %}
9-
{% assign info = site.data.dummy_data[0] %}
9+
{% assign info = site.data.data[0] %}
1010

1111
There are a few things you need to know in order to understand why we
1212
do things the way we do. Some of them are specific to GitHub, rather

_includes/dc/schedule.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% comment %}
1010
Assign first row in data file as info to access workshop data
1111
{% endcomment %}
12-
{% assign info = site.data.dummy_data[0] %}
12+
{% assign info = site.data.data[0] %}
1313
{% if info.curriculum == "dc-ecology" %}
1414
<div class="row">
1515
<div class="col-md-6">

_includes/dc/setup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% comment %}
66
Assign first row in data file as info to access workshop data
77
{% endcomment %}
8-
{% assign info = site.data.dummy_data[0] %}
8+
{% assign info = site.data.data[0] %}
99

1010
{% if info.curriculum == "dc-ecology" %}
1111

_includes/episode_navbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{% comment %}
1818
Assign first row in data file as info to access workshop data
1919
{% endcomment %}
20-
{% assign info = site.data.dummy_data[0] %}
20+
{% assign info = site.data.data[0] %}
2121
<div class="row">
2222
<div class="col-xs-1">
2323
<h3 class="text-left">

_includes/episode_title.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% comment %}
22
Assign first row in data file as info to access workshop data
33
{% endcomment %}
4-
{% assign info = site.data.dummy_data[0] %}
4+
{% assign info = site.data.data[0] %}
55

66
<div class="row">
77
<div class="col-md-1">

_includes/favicons.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% comment %}
22
Assign first row in data file as info to access workshop data
33
{% endcomment %}
4-
{% assign info = site.data.dummy_data[0] %}
4+
{% assign info = site.data.data[0] %}
55
{% assign favicon_url = relative_root_path | append: '/assets/favicons/' | append: info.carpentry %}
66

77
{% if info.carpentry == 'swc' %}

_includes/javascript.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% comment %}
55
Assign first row in data file as info to access workshop data
66
{% endcomment %}
7-
{% assign info = site.data.dummy_data[0] %}
7+
{% assign info = site.data.data[0] %}
88
<script src="{{ relative_root_path }}/assets/js/jquery.min.js"></script>
99
<script src="{{ relative_root_path }}/assets/js/bootstrap.min.js"></script>
1010
<script src="{{ relative_root_path }}/assets/js/lesson.js"></script>

_includes/lesson_footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% comment %}
77
Assign first row in data file as info to access workshop data
88
{% endcomment %}
9-
{% assign info = site.data.dummy_data[0] %}
9+
{% assign info = site.data.data[0] %}
1010
<footer>
1111
<div class="row">
1212
<div class="col-md-6 license" id="license-info" align="left">

_includes/main_title.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% comment %}
77
Assign first row in data file as info to access workshop data
88
{% endcomment %}
9-
{% assign info = site.data.dummy_data[0] %}
9+
{% assign info = site.data.data[0] %}
1010

1111
{% if site.kind == "lesson" %}
1212
<h1 class="maintitle"><a href="{{ relative_root_path }}{% link index.md %}">{{ info.title }}</a>{% if info.title %}: {{ info.title }}{% endif %}</h1>

_includes/manual_episode_order.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
{% comment %}
5353
Assign first row in data file as info to access workshop data
5454
{% endcomment %}
55-
{% assign info = site.data.dummy_data[0] %}
55+
{% assign info = site.data.data[0] %}
5656
{% comment %}
5757
Manual ordering of Episodes begins here
5858
{% endcomment %}

_includes/navbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% comment %}
88
Assign first row in data file as info to access workshop data
99
{% endcomment %}
10-
{% assign info = site.data.dummy_data[0] %}
10+
{% assign info = site.data.data[0] %}
1111
<nav class="navbar navbar-default">
1212
<div class="container-fluid">
1313
<div class="navbar-header">

_includes/swc/setup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% comment %}
66
Assign first row in data file as info to access workshop data
77
{% endcomment %}
8-
{% assign info = site.data.dummy_data[0] %}
8+
{% assign info = site.data.data[0] %}
99
{% include install_instructions/shell.html %}
1010
{% include install_instructions/git.html %}
1111
{% include install_instructions/editor.html %}

_includes/warning-curriculum.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% comment %}
22
Assign first row in data file as info to access workshop data
33
{% endcomment %}
4-
{% assign info = site.data.dummy_data[0] %}
4+
{% assign info = site.data.data[0] %}
55
<div class="alert alert-warning">
66
Unrecognized value for variable <code>curriculum</code> set in
77
<code>data.json</code>. Currently the variable is set to:

_includes/warning-flavor.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% comment %}
22
Assign first row in data file as info to access workshop data
33
{% endcomment %}
4-
{% assign info = site.data.dummy_data[0] %}
4+
{% assign info = site.data.data[0] %}
55
<div class="alert alert-warning">
66
<p>
77
Unrecognized value for variable <code>flavor</code> set in

_includes/workshop_ad.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% comment %}
55
Assign first row in data file as info to access workshop data
66
{% endcomment %}
7-
{% assign info = site.data.dummy_data[0] %}
7+
{% assign info = site.data.data[0] %}
88
{% assign begin_address = info.address | slice: 0, 4 | downcase %}
99
{% if info.address == "online" %}
1010
{% assign online = "true_private" %}

_includes/workshop_footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% comment %}
55
Assign first row in data file as info to access workshop data
66
{% endcomment %}
7-
{% assign info = site.data.dummy_data[0] %}
7+
{% assign info = site.data.data[0] %}
88
<footer>
99
<hr/>
1010
<div class="row">

_layouts/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% comment %}
66
Assign first row in data file as info to access workshop data
77
{% endcomment %}
8-
{% assign info = site.data.dummy_data[0] %}
8+
{% assign info = site.data.data[0] %}
99

1010
<!doctype html>
1111
<html lang="en">

_layouts/workshop.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% comment %}
1414
Assign first row in data file as info to access workshop data
1515
{% endcomment %}
16-
{% assign info = site.data.dummy_data[0] %}
16+
{% assign info = site.data.data[0] %}
1717

1818
{% assign begin_address = info.address | slice: 0, 4 | downcase %}
1919
{% if info.address == "online" or begin_address contains "http" %}

index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For a workshop please delete the following block until the next dashed-line
4040
{% comment %}
4141
Assign first row in data file as info to access workshop data
4242
{% endcomment %}
43-
{% assign info = site.data.dummy_data[0] %}
43+
{% assign info = site.data.data[0] %}
4444

4545
<div class="alert alert-danger">
4646
This is the workshop template. Delete these lines and use it to

0 commit comments

Comments
 (0)