shanep-class 1.0.25 โ†’ 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/course.html +4 -0
  3. data/index.html +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db277ce88690df96605d0d3de86046b9efcbede79586346165c54fcea3e580e2
4
- data.tar.gz: c2a8eeb02ede1ec3af7550ee9150510312b48f915753fc4209fa9c4a2646a87d
3
+ metadata.gz: 3f30c680158f26cf578f960da4529be4566110a528c3af47ca81430517b962ef
4
+ data.tar.gz: c3da2e7fa9f4400e0ec13f5cf95a168daf8c4c916964c19b077fc49a3ce6db41
5
5
  SHA512:
6
- metadata.gz: 86d8e6cad4dfd24e1375ff6ddc8e3f0d80b48d4edbc6e8108b195e121dbd64e80068001b940a9d7be5bd5fc36bbc7c28495937fdb72dae746b5f657cd12c25bf
7
- data.tar.gz: 1b772741451db6d711069c8e2b52de6b92c48917ec208c0d924931a5e9e666835b6fe95dfb0306c588f97c04444f693da12695c1ff8838441a87fa0df783d3ef
6
+ metadata.gz: 52f2dfe6d874e20377f2eaa4d12ad49862c501ca651367830ce500176f42e0924d38b4b6c24b8607b9b0a5871e4aad9894758660f2a578fd1a97dd9b9da7d457
7
+ data.tar.gz: eaec15137137710f45d08236ef69f8374c57d65d574c8b13c20f1fd4f94f3fc9cfb4bf69c861ea9f993591c7298e43bb5fba23baf9fda1ba829861e159c8e04f
data/_layouts/course.html CHANGED
@@ -43,6 +43,10 @@ layout: default
43
43
  <h1>{%if page.title %}{{page.title}}{%else%}{{site.title}} - {{site.description}} [{{site.data.semester-info.semester}}]{% endif%}</h1>
44
44
  {% endif %}
45
45
  <p><span class="med-text">{{page.slug}}</span></p>
46
+ {% if page.video %}
47
+ <h2>Lesson Video</h2>
48
+ {% include youtube.html param=page.video %}
49
+ {% endif %}
46
50
  {{content}}
47
51
  </article>
48
52
  {% include footer.html %}
data/index.html CHANGED
@@ -73,7 +73,7 @@ tag: home
73
73
  <tr>
74
74
  {% assign curr_date = curr_date | date: "%s" | plus: two_days %}
75
75
  <td>{{curr_date | date: "%m/%d - %a"}}</td>
76
- <td><a href="{{site.url}}{{page.url}}">{{page_title}}</a> <span class="small-text">{{page.slug}}</span>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%}</td>
76
+ <td><a href="{{site.url}}{{page.url}}">{{page_title}}</a> <span class="small-text">{{page.slug}}</span>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%} {%if page.video %}๐Ÿ“บ{% endif %}</td>
77
77
  <td>{{page.points}}</td>
78
78
  {% assign total_points = total_points | plus: page.points %}
79
79
  </tr>
@@ -108,7 +108,7 @@ tag: home
108
108
  {% endif %}
109
109
  {% assign curr_date = curr_date | date: "%s" | plus: two_days %}
110
110
  <td>{{curr_date | date: "%m/%d - %a"}}</td>
111
- <td><a href="{{site.url}}{{page.url}}">{{page_title}}</a> <span class="small-text">{{page.slug}}</span>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%}</td>
111
+ <td><a href="{{site.url}}{{page.url}}">{{page_title}}</a> <span class="small-text">{{page.slug}}</span>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%} {%if page.video %}๐Ÿ“บ{% endif %}</td>
112
112
  <td>{{page.points}}</td>
113
113
  {% assign total_points = total_points | plus: page.points %}
114
114
  </tr>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shanep-class
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.25
4
+ version: 1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - shane panter