shanep-class 1.0.26 โ†’ 1.0.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f30c680158f26cf578f960da4529be4566110a528c3af47ca81430517b962ef
4
- data.tar.gz: c3da2e7fa9f4400e0ec13f5cf95a168daf8c4c916964c19b077fc49a3ce6db41
3
+ metadata.gz: 818f61b0b2855fa2949290fe0fff9f91528c2c1294326c5ddc36ed86093fa053
4
+ data.tar.gz: a6ae474ee7f0233b6fc00a81d56a05d5af3256a62811a47f658a9bffb81222fa
5
5
  SHA512:
6
- metadata.gz: 52f2dfe6d874e20377f2eaa4d12ad49862c501ca651367830ce500176f42e0924d38b4b6c24b8607b9b0a5871e4aad9894758660f2a578fd1a97dd9b9da7d457
7
- data.tar.gz: eaec15137137710f45d08236ef69f8374c57d65d574c8b13c20f1fd4f94f3fc9cfb4bf69c861ea9f993591c7298e43bb5fba23baf9fda1ba829861e159c8e04f
6
+ metadata.gz: bfcc957d5d6fbac73ff2dc354f56653d91cdfa3e3baeade196b5e4792b6967e753a7f3ae92cd0694de6deeb0fde9b7c2a0a305280cc664bd3d3b8dcd76a64177
7
+ data.tar.gz: b289cc7aace072eac169d54ff7bd33e493c37df401d3e97987a19131fb5a259d85d090e43c8b7bd4aa85cbb8d2345e5350a482f39a9bd3679c9479fd0714e196
data/_layouts/course.html CHANGED
@@ -42,10 +42,17 @@ layout: default
42
42
  {% else%}
43
43
  <h1>{%if page.title %}{{page.title}}{%else%}{{site.title}} - {{site.description}} [{{site.data.semester-info.semester}}]{% endif%}</h1>
44
44
  {% endif %}
45
- <p><span class="med-text">{{page.slug}}</span></p>
46
45
  {% if page.video %}
47
- <h2>Lesson Video</h2>
48
- {% include youtube.html param=page.video %}
46
+ <h2>{{page.slug | truncate: 6, "" | capitalize }} {{page.slug | remove_first: "lesson"}} Video</h2>
47
+ <div style="text-align: center;">
48
+ <iframe width="560" height="315"
49
+ src=https://www.youtube.com/embed/{{page.video}}
50
+ title="YouTubevideo player"
51
+ frameborder="0"
52
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
53
+
54
+ </iframe>
55
+ </div>
49
56
  {% endif %}
50
57
  {{content}}
51
58
  </article>
data/_sass/style.scss CHANGED
@@ -285,3 +285,7 @@ a.skip-main:focus, a.skip-main:active {
285
285
  .med-text {
286
286
  font-size: var(--s0);
287
287
  }
288
+
289
+ .no-dec{
290
+ text-decoration: none;
291
+ }
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%} {%if page.video %}๐Ÿ“บ{% endif %}</td>
76
+ <td><a href="{{site.url}}{{page.url}}">{{page_title}}</a> <span class="small-text">{{page.slug}}</span>{%if page.layout == "lab"%} <a class="no-dec" href="{{site.data.semester-info.labs[page.slug]}}">๐Ÿงช</a> {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%} {%if page.video %}<a class="no-dec" href=https://www.youtube.com/watch?v={{page.video}}>๐Ÿ“บ </a>{% 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%} {%if page.video %}๐Ÿ“บ{% endif %}</td>
111
+ <td><a href="{{site.url}}{{page.url}}">{{page_title}}</a> <span class="small-text">{{page.slug}}</span>{%if page.layout == "lab"%} <a class="no-dec" href="{{site.data.semester-info.labs[page.slug]}}">๐Ÿงช</a> {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%} {%if page.video %}<a class="no-dec" href=https://www.youtube.com/watch?v={{page.video}}>๐Ÿ“บ </a>{% 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.26
4
+ version: 1.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - shane panter