jekyll-theme-csu-cs 0.1.1
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +451 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +71 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/grading/wholeGradesOnly.html +30 -0
- data/_includes/head.html +29 -0
- data/_includes/header.html +75 -0
- data/_includes/helpdesk.html +110 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/policies/cheating.html +66 -0
- data/_includes/policies/copyrighted.html +7 -0
- data/_includes/policies/daca.html +5 -0
- data/_includes/policies/diversityStatement.html +3 -0
- data/_includes/policies/honorPledge.html +12 -0
- data/_includes/policies/netiquette.html +3 -0
- data/_includes/policies/policiesAll.html +99 -0
- data/_includes/policies/religious.html +14 -0
- data/_includes/policies/thirdParty.html +5 -0
- data/_includes/policies/title9.html +18 -0
- data/_includes/policies/universalDesign.html +35 -0
- data/_includes/resources/canvasTech.html +17 -0
- data/_includes/resources/counseling.html +5 -0
- data/_includes/resources/eclipse.html +27 -0
- data/_includes/resources/intelliJ.html +9 -0
- data/_includes/resources/randomJavaLinks.html +9 -0
- data/_includes/resources/teams.html +8 -0
- data/_includes/resources/tilt.html +8 -0
- data/_includes/resources/university.html +11 -0
- data/_includes/social.html +15 -0
- data/_layouts/default.html +22 -0
- data/_layouts/home.html +12 -0
- data/_layouts/lab.html +3 -0
- data/_layouts/page.html +21 -0
- data/_layouts/post.html +33 -0
- data/_sass/csu-default.scss +44 -0
- data/_sass/parts/_base.scss +520 -0
- data/_sass/parts/_calendar.scss +135 -0
- data/_sass/parts/_contactcard.scss +79 -0
- data/_sass/parts/_labs.scss +47 -0
- data/_sass/parts/_syntax-highlighting.scss +81 -0
- data/assets/img/CSU-Official-wrdmrk-357-617.png +0 -0
- data/assets/img/CSU-Ram-357-617.png +0 -0
- data/assets/img/CSU-Signature-Stacked-357-617-rev.png +0 -0
- data/assets/img/ducky.png +0 -0
- data/assets/img/msteamsformat.png +0 -0
- data/assets/img/signature-mobile.svg +2 -0
- data/assets/img/signature-oneline.svg +2 -0
- data/assets/img/signature-stacked.svg +2 -0
- data/assets/main.scss +7 -0
- data/assets/minima-social-icons.svg +38 -0
- metadata +168 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b9958904ae5fe2f24d78e4d5aaa3ddb773b416b7c7143059e4cae79b887ed4a8
|
4
|
+
data.tar.gz: 9f3f9d95fd6d50f5f381dc6dc04a73f2dda7e481cc22783feb0de554d991f555
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 939ed0f2474f198d9c4b739b3763371ce8f807e6b489b9953cbbbe25dfd69b365286edbb6882b19165e813595df057fca383db3240499ec8b881322f88e1371a
|
7
|
+
data.tar.gz: 5c9b2d88095129b9270d950432cda3945773440fd441486d1be5c3449b52f99f75e3e986fdc3909faf36af3c3f361705a9fe14d08ae9623b2febb643b65f0320
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Colorado State University
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,451 @@
|
|
1
|
+
# jekyll-theme-csu-cs
|
2
|
+
|
3
|
+
The CSU-CS theme is based off the [Brand Style Guidelines](https://creativeservices.colostate.edu/brand-style-guide/).
|
4
|
+
It is meant for use of courses taught by the CS department at CSU, and students / faculty are also
|
5
|
+
free to use it. Please follow th CSU Branding Styl Guidelines and copy info.
|
6
|
+
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your Jekyll site's `Gemfile`:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem "jekyll-theme-csu-cs"
|
14
|
+
```
|
15
|
+
|
16
|
+
And add this line to your Jekyll site's `_config.yml`:
|
17
|
+
|
18
|
+
```yaml
|
19
|
+
theme: jekyll-theme-csu-cs
|
20
|
+
```
|
21
|
+
|
22
|
+
And then execute:
|
23
|
+
|
24
|
+
$ bundle
|
25
|
+
|
26
|
+
Or install it yourself as:
|
27
|
+
|
28
|
+
$ gem install jekyll-theme-csu-cs
|
29
|
+
|
30
|
+
## Usage
|
31
|
+
|
32
|
+
|
33
|
+
### Quick List of Includes
|
34
|
+
|
35
|
+
Includes most courses should include:
|
36
|
+
|
37
|
+
* `resources/university.html` - includes tilt, counselling, and canvasTech with headers under a 'University Resources'
|
38
|
+
header. **Most courses should include this**.
|
39
|
+
* `policies/policiesAll.html` - lists policies related to CSU Principles of Community, includes all policies.
|
40
|
+
|
41
|
+
|
42
|
+
General Useful Includes:
|
43
|
+
* `resources/eclipse.html` - eclipse install information.
|
44
|
+
* `resources/intelliJ.html` - intelliJ install information including student account signup, and toolbox install.
|
45
|
+
* `resources/teams.html` - resources about Microsoft Teams, including install recommendations and links to ACNS.
|
46
|
+
* `resources/randomJavaLinks.html` - resources about random help / practice sites for java programming.
|
47
|
+
* `grading/wholeGradesOnly.html` - table with the 60,70,80,90 grade scale (no +/- options)
|
48
|
+
* `helpdesk.html` - MS Teams helpdesk instructions
|
49
|
+
(TODO: add +/- options table)
|
50
|
+
|
51
|
+
The following includes are all part of `resources/university.html`
|
52
|
+
* `resources/canvasTech.html` - information about technical support for canvas, usually not needed as already provided
|
53
|
+
in `resources/university.html`.
|
54
|
+
* `resources/counseling.html` - information about counseling services, usually not needed as already provided
|
55
|
+
in `resources/university.html`.
|
56
|
+
* `resources/tilt.html` - information about tilt and tutoring options for students, usually not needed as already provided
|
57
|
+
in `resources/university.html`.
|
58
|
+
|
59
|
+
The following includes are all part of `policies/policiesAll.html`
|
60
|
+
* `policies/cheating.html` - includes CMU cheating examples
|
61
|
+
* `policies/copyrighted.html` - copyrighted material disclaimer from CSU Online
|
62
|
+
* `policies/daca.html` - daca student resources
|
63
|
+
* `policies/diversityStatement.html` - CSU diversity statement
|
64
|
+
* `policies/honorPledge.html` - CSU honorPledge
|
65
|
+
* `policies/netiquette.html` - CSU netiquette
|
66
|
+
* `policies/religious.html` - CSU religious observance policies
|
67
|
+
* `policies/thirdParty.html` - CSU third party disclaimer on data collection
|
68
|
+
* `policies/title9.html` - CSU title 9 policies and resources for interpersonal violence
|
69
|
+
* `policies/universalDesign.html` - CSU universal design commitment
|
70
|
+
|
71
|
+
The following _includes you don't usually need to directly include, as the layouts already include them
|
72
|
+
|
73
|
+
* `google-analytics.html` - Inserts Google Analytics module (active only in production environment).
|
74
|
+
* `disqus_comments.html` - Code to markup disqus comment box.
|
75
|
+
* `footer.html` - Defines the site's footer section. Contains standard CS department links, and uses
|
76
|
+
the site description in the bottom right panel.
|
77
|
+
* `head.html` - Code-block that defines the `<head></head>` in *default* layout.
|
78
|
+
* `header.html` - Defines the site's main header section. By default, pages with a
|
79
|
+
defined `title` attribute will have links displayed here.
|
80
|
+
|
81
|
+
### Navigation Features
|
82
|
+
|
83
|
+
#### External Links in Top Menu
|
84
|
+
|
85
|
+
If you wish to have external links (for example canvas login) in the top menu bar, put each
|
86
|
+
link in the _config.yml file under `top-nav-external`. Each link
|
87
|
+
needs to have a `title` and `url`. For example:
|
88
|
+
|
89
|
+
```yaml
|
90
|
+
top-nav-external:
|
91
|
+
- title: Canvas
|
92
|
+
url: http://canvas.colostate.edu
|
93
|
+
```
|
94
|
+
|
95
|
+
#### no-nav
|
96
|
+
|
97
|
+
By including no-nav in your site data, the page will not show up in the navigation menu, even if
|
98
|
+
the page is a top-level page. For example:
|
99
|
+
|
100
|
+
```
|
101
|
+
---
|
102
|
+
layout: page
|
103
|
+
title: Virtual Help Desk Instructions
|
104
|
+
no-nav: true
|
105
|
+
permalink: help-desk/
|
106
|
+
---
|
107
|
+
```
|
108
|
+
|
109
|
+
#### Order
|
110
|
+
|
111
|
+
While jekyll defaults to alphanumeric order, by adding the `order` attribute. For example:
|
112
|
+
```
|
113
|
+
---
|
114
|
+
layout: page
|
115
|
+
title: Resources
|
116
|
+
order: 3
|
117
|
+
permalink: resources/
|
118
|
+
---
|
119
|
+
```
|
120
|
+
|
121
|
+
### HelpDesk Hours / Table
|
122
|
+
The theme comes with a dynamic table that adjust based on screen size. An example of
|
123
|
+
formatting of the table is as follows. The classes are essential.
|
124
|
+
|
125
|
+
```html
|
126
|
+
<h2>Helpdesk Times</h2>
|
127
|
+
<table id="calendar">
|
128
|
+
<caption>For Su2020 all helpdesk hours will be online. See: <a href="/~cs150/.Summer20/help-desk/">help desk instructions</a></caption>
|
129
|
+
<tr class="weekdays">
|
130
|
+
<th id="time" scope="col">Time (MDT)</th>
|
131
|
+
<th scope="col">Sunday</th>
|
132
|
+
<th scope="col">Monday</th>
|
133
|
+
<th scope="col">Tuesday</th>
|
134
|
+
<th scope="col">Wednesday</th>
|
135
|
+
<th scope="col">Thursday</th>
|
136
|
+
<th scope="col">Friday</th>
|
137
|
+
<th scope="col">Saturday</th>
|
138
|
+
</tr>
|
139
|
+
<tr>
|
140
|
+
<td class="time">
|
141
|
+
8:00 AM
|
142
|
+
</td>
|
143
|
+
<td>
|
144
|
+
|
145
|
+
</td>
|
146
|
+
<td>
|
147
|
+
|
148
|
+
</td>
|
149
|
+
<td>
|
150
|
+
|
151
|
+
</td>
|
152
|
+
<td>
|
153
|
+
|
154
|
+
</td>
|
155
|
+
<td>
|
156
|
+
|
157
|
+
</td>
|
158
|
+
<td>
|
159
|
+
|
160
|
+
</td>
|
161
|
+
<td>
|
162
|
+
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td class="time">
|
167
|
+
9:00 AM
|
168
|
+
</td>
|
169
|
+
<td>
|
170
|
+
|
171
|
+
</td>
|
172
|
+
<td>
|
173
|
+
|
174
|
+
</td>
|
175
|
+
<td>
|
176
|
+
|
177
|
+
</td>
|
178
|
+
<td>
|
179
|
+
|
180
|
+
</td>
|
181
|
+
<td>
|
182
|
+
|
183
|
+
</td>
|
184
|
+
<td>
|
185
|
+
|
186
|
+
</td>
|
187
|
+
<td>
|
188
|
+
|
189
|
+
</td>
|
190
|
+
</tr>
|
191
|
+
<tr>
|
192
|
+
<td class="time">
|
193
|
+
10:00 AM
|
194
|
+
</td>
|
195
|
+
<td>
|
196
|
+
|
197
|
+
</td>
|
198
|
+
<td>
|
199
|
+
|
200
|
+
</td>
|
201
|
+
<td>
|
202
|
+
|
203
|
+
</td>
|
204
|
+
<td>
|
205
|
+
|
206
|
+
</td>
|
207
|
+
<td>
|
208
|
+
|
209
|
+
</td>
|
210
|
+
<td>
|
211
|
+
|
212
|
+
</td>
|
213
|
+
<td>
|
214
|
+
|
215
|
+
</td>
|
216
|
+
</tr>
|
217
|
+
<tr>
|
218
|
+
<td class="time">
|
219
|
+
11:00 AM
|
220
|
+
</td>
|
221
|
+
<td>
|
222
|
+
|
223
|
+
</td>
|
224
|
+
<td>
|
225
|
+
|
226
|
+
</td>
|
227
|
+
<td>
|
228
|
+
|
229
|
+
</td>
|
230
|
+
<td>
|
231
|
+
|
232
|
+
</td>
|
233
|
+
<td>
|
234
|
+
|
235
|
+
</td>
|
236
|
+
<td>
|
237
|
+
|
238
|
+
</td>
|
239
|
+
<td>
|
240
|
+
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td class="time">
|
245
|
+
12:00 PM
|
246
|
+
</td>
|
247
|
+
<td>
|
248
|
+
|
249
|
+
</td>
|
250
|
+
<td>
|
251
|
+
|
252
|
+
</td>
|
253
|
+
<td class="">
|
254
|
+
</td>
|
255
|
+
<td class="">
|
256
|
+
</td>
|
257
|
+
<td class="">
|
258
|
+
</td>
|
259
|
+
<td>
|
260
|
+
|
261
|
+
</td>
|
262
|
+
<td>
|
263
|
+
|
264
|
+
</td>
|
265
|
+
</tr>
|
266
|
+
<tr>
|
267
|
+
<td class="time">
|
268
|
+
1:00 PM
|
269
|
+
</td>
|
270
|
+
<td>
|
271
|
+
|
272
|
+
</td>
|
273
|
+
<td class="">
|
274
|
+
</td>
|
275
|
+
<td class="">
|
276
|
+
</td>
|
277
|
+
<td class="">
|
278
|
+
</td>
|
279
|
+
<td class="">
|
280
|
+
</td>
|
281
|
+
<td>
|
282
|
+
|
283
|
+
</td>
|
284
|
+
<td>
|
285
|
+
|
286
|
+
</td>
|
287
|
+
</tr>
|
288
|
+
<tr>
|
289
|
+
<td class="time">
|
290
|
+
2:00 PM
|
291
|
+
</td>
|
292
|
+
<td>
|
293
|
+
|
294
|
+
</td>
|
295
|
+
<td class="">
|
296
|
+
</td>
|
297
|
+
<td class="">
|
298
|
+
</td>
|
299
|
+
<td class="">
|
300
|
+
</td>
|
301
|
+
<td class="">
|
302
|
+
</td>
|
303
|
+
<td>
|
304
|
+
|
305
|
+
</td>
|
306
|
+
<td>
|
307
|
+
|
308
|
+
</td>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
311
|
+
<td class="time">
|
312
|
+
3:00 PM
|
313
|
+
</td>
|
314
|
+
<td>
|
315
|
+
|
316
|
+
</td>
|
317
|
+
<td class="open">
|
318
|
+
<span class="day">M</span>
|
319
|
+
<span class="shift"> <a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
320
|
+
</td>
|
321
|
+
<td class="open">
|
322
|
+
<span class="day">T</span>
|
323
|
+
<span class="shift"><a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
324
|
+
</td>
|
325
|
+
<td class="open">
|
326
|
+
<span class="day">W</span>
|
327
|
+
<span class="shift"><a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
328
|
+
</td>
|
329
|
+
<td class="open">
|
330
|
+
<span class="day">Th</span>
|
331
|
+
<span class="shift"><a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
332
|
+
</td>
|
333
|
+
<td>
|
334
|
+
|
335
|
+
</td>
|
336
|
+
<td>
|
337
|
+
|
338
|
+
</td>
|
339
|
+
</tr>
|
340
|
+
<tr>
|
341
|
+
<td class="time">
|
342
|
+
4:00 PM
|
343
|
+
</td>
|
344
|
+
<td>
|
345
|
+
|
346
|
+
</td>
|
347
|
+
<td class="open">
|
348
|
+
<span class="day">M</span>
|
349
|
+
<span class="shift"><a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
350
|
+
</td>
|
351
|
+
<td class="open">
|
352
|
+
<span class="day">T</span>
|
353
|
+
<span class="shift"><a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
354
|
+
</td>
|
355
|
+
<td class="open">
|
356
|
+
<span class="day">W</span>
|
357
|
+
<span class="shift"><a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
358
|
+
</td>
|
359
|
+
<td class="open">
|
360
|
+
<span class="day">Th</span>
|
361
|
+
<span class="shift"><a href="/~cs150/.Summer20/help-desk/">MS Teams</a></span>
|
362
|
+
</td>
|
363
|
+
<td>
|
364
|
+
|
365
|
+
</td>
|
366
|
+
<td>
|
367
|
+
|
368
|
+
</td>
|
369
|
+
</tr>
|
370
|
+
<tr>
|
371
|
+
<td class="time">
|
372
|
+
5:00 PM
|
373
|
+
</td>
|
374
|
+
<td>
|
375
|
+
|
376
|
+
</td>
|
377
|
+
<td>
|
378
|
+
|
379
|
+
</td>
|
380
|
+
<td>
|
381
|
+
|
382
|
+
</td>
|
383
|
+
<td>
|
384
|
+
|
385
|
+
</td>
|
386
|
+
<td>
|
387
|
+
|
388
|
+
</td>
|
389
|
+
<td>
|
390
|
+
|
391
|
+
</td>
|
392
|
+
<td>
|
393
|
+
|
394
|
+
</td>
|
395
|
+
</tr>
|
396
|
+
</table>
|
397
|
+
```
|
398
|
+
|
399
|
+
### Enabling Google Analytics
|
400
|
+
To enable Google Analytics, add the following lines to your Jekyll site:
|
401
|
+
|
402
|
+
```
|
403
|
+
google_analytics: UA-NNNNNNNN-N
|
404
|
+
```
|
405
|
+
Google Analytics will only appear in production, i.e., JEKYLL_ENV=production
|
406
|
+
|
407
|
+
### Enabling Excerpts on the Home Page
|
408
|
+
To display post-excerpts on the Home Page, simply add the following to your _config.yml:
|
409
|
+
```
|
410
|
+
show_excerpts: true
|
411
|
+
```
|
412
|
+
|
413
|
+
### Plugins
|
414
|
+
csu-cs comes with the following plugins:
|
415
|
+
|
416
|
+
* [`jekyll-seo-tag`](https://github.com/jekyll/jekyll-seo-tag) plugin preinstalled to make sure
|
417
|
+
your website gets the most useful meta tags.
|
418
|
+
See [usage](https://github.com/jekyll/jekyll-seo-tag#usage) to know how to set it up.
|
419
|
+
|
420
|
+
* [`jekyll-feed`](https://github.com/jekyll/jekyll-feed) - A Jekyll plugin to generate an Atom (RSS-like)
|
421
|
+
feed of your Jekyll posts
|
422
|
+
|
423
|
+
TODO: add zybooks link plugin
|
424
|
+
|
425
|
+
## Contributing
|
426
|
+
|
427
|
+
Bug reports and pull requests are welcome on GitHub at
|
428
|
+
https://github.com/Dept-of-Computer-Science/jekyll-theme-csu-cs.
|
429
|
+
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected
|
430
|
+
to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
431
|
+
|
432
|
+
## Development
|
433
|
+
|
434
|
+
To set up your environment to develop this theme, run `bundle install`.
|
435
|
+
|
436
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve`
|
437
|
+
and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme.
|
438
|
+
Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications
|
439
|
+
to your theme and to your content, your site will regenerate and you should see the changes in the browser
|
440
|
+
after a refresh, just like normal.
|
441
|
+
|
442
|
+
## License
|
443
|
+
|
444
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
445
|
+
|
446
|
+
## Acknowledgements
|
447
|
+
|
448
|
+
* jekyll-minima - The style sheet, and svg icons are based off their original theme. Analytics comes from minima theme.
|
449
|
+
* jekyll-feed - Included as part of the gem bundle
|
450
|
+
* jekyll-seo - Included as part of the gem bundle
|
451
|
+
|