jekyll-theme-csu-cs 0.1.1 → 0.1.2

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: b9958904ae5fe2f24d78e4d5aaa3ddb773b416b7c7143059e4cae79b887ed4a8
4
- data.tar.gz: 9f3f9d95fd6d50f5f381dc6dc04a73f2dda7e481cc22783feb0de554d991f555
3
+ metadata.gz: dc7195b4a73874417acb5306563cae12ee3bd38f552c0a7388a2de7b4b52ea55
4
+ data.tar.gz: 03b78fd9b22ceb725f276ac09412411e7599e8290fd16464554cff787bde8842
5
5
  SHA512:
6
- metadata.gz: 939ed0f2474f198d9c4b739b3763371ce8f807e6b489b9953cbbbe25dfd69b365286edbb6882b19165e813595df057fca383db3240499ec8b881322f88e1371a
7
- data.tar.gz: 5c9b2d88095129b9270d950432cda3945773440fd441486d1be5c3449b52f99f75e3e986fdc3909faf36af3c3f361705a9fe14d08ae9623b2febb643b65f0320
6
+ metadata.gz: b8a3b064709c7bf1abafd853dffea5e5e09fa1e15aa79a8b908703196458e743e20a390683566c561928e686bbd0b70b33670be53b766a7a521a9f702f96d6c2
7
+ data.tar.gz: 5c8403431fe4c3ee59cddcc26a8a3217fc12c0147a54cc7d318eb8ab02a600368e2bac085497fe0840d53aec16b8b2e8463248659da62d4e2331fc8474ced29a
data/README.md CHANGED
@@ -46,7 +46,13 @@ General Useful Includes:
46
46
  * `resources/randomJavaLinks.html` - resources about random help / practice sites for java programming.
47
47
  * `grading/wholeGradesOnly.html` - table with the 60,70,80,90 grade scale (no +/- options)
48
48
  * `helpdesk.html` - MS Teams helpdesk instructions
49
- (TODO: add +/- options table)
49
+ * `clone.html` - Used for including a link to a git clone.
50
+ This include utilizes the following parameters, `url` and `text`. url is required, and will insert
51
+ the url of the git repository after >git clone. If text is included, a link will appear
52
+ at the bottom based on the text. For example:
53
+ ```handlebars
54
+ {% include clone.html url="https://github.com/CSU-CS150/lectureExamples.git" text="Lecture Examples" %}
55
+ ```
50
56
 
51
57
  The following includes are all part of `resources/university.html`
52
58
  * `resources/canvasTech.html` - information about technical support for canvas, usually not needed as already provided
@@ -420,7 +426,6 @@ See [usage](https://github.com/jekyll/jekyll-seo-tag#usage) to know how to set i
420
426
  * [`jekyll-feed`](https://github.com/jekyll/jekyll-feed) - A Jekyll plugin to generate an Atom (RSS-like)
421
427
  feed of your Jekyll posts
422
428
 
423
- TODO: add zybooks link plugin
424
429
 
425
430
  ## Contributing
426
431
 
@@ -0,0 +1,11 @@
1
+ <div class="gitClone">
2
+ {% highlight console %}
3
+ > git clone {{include.url}}
4
+ {%endhighlight%}
5
+ {%if include.text%}
6
+ <p>Direct:
7
+ <a href="{{include.url}}" alt="Direct link to repository: {{include.text}}"
8
+ target="{{include.target | _blank}}" >{{include.text}}</a>
9
+ </p>
10
+ {%endif%}
11
+ </div>
@@ -40,5 +40,7 @@ $on-laptop: 800px !default;
40
40
  @import "parts/base",
41
41
  "parts/syntax-highlighting",
42
42
  "parts/_calendar",
43
- "parts/labs"
43
+ "parts/labs",
44
+ "parts/cloneInclude",
45
+ "parts/contactcard"
44
46
  ;
@@ -6,7 +6,7 @@
6
6
  * (C) Albert Lionelle, Colorado State University
7
7
  */
8
8
 
9
- @import "contactcard";
9
+
10
10
 
11
11
  html, body {
12
12
  font-family: 'prox-regular', sans-serif;
@@ -0,0 +1,16 @@
1
+ /*
2
+ Styles specific to the clone.html include
3
+ */
4
+ .gitClone {
5
+ pre {
6
+ margin-bottom: 0;
7
+ padding-bottom: 0;
8
+ }
9
+
10
+ p {
11
+ padding-bottom: 0;
12
+ margin-bottom: 0;
13
+ }
14
+
15
+ }
16
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-csu-cs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Lionelle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - LICENSE.txt
91
91
  - README.md
92
+ - _includes/clone.html
92
93
  - _includes/disqus_comments.html
93
94
  - _includes/footer.html
94
95
  - _includes/google-analytics.html
@@ -128,6 +129,7 @@ files:
128
129
  - _sass/csu-default.scss
129
130
  - _sass/parts/_base.scss
130
131
  - _sass/parts/_calendar.scss
132
+ - _sass/parts/_cloneInclude.scss
131
133
  - _sass/parts/_contactcard.scss
132
134
  - _sass/parts/_labs.scss
133
135
  - _sass/parts/_syntax-highlighting.scss