askclass-news-theme 0.2.6 → 0.2.9

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: 8f18ce893aef7881601b3bdc4e354de93727d83c2a8eed7bf6834a47a2029d02
4
- data.tar.gz: '0580cfdab10fe469e8158140e7cb2f5da0941f8ac4972d8f641dee024dcefbce'
3
+ metadata.gz: fa810195c6d88cabcdab1f762396eea0c2a8620d39d8bae626168c3f6056b534
4
+ data.tar.gz: 4f98f4a2b5b51d58d88193a4a8b8a520dbb05173f0422be882c1717f5c7f7d7e
5
5
  SHA512:
6
- metadata.gz: 5234c3c583648f1269d9fb3ca7fdfbaf2ff378fe9b952769f7888f81b40708ee58b09e616f22a0acd9bb01736026eeb8950511f58ef0c897ca8402d1627c8e89
7
- data.tar.gz: 872f634cc6f601882b58a64d5c7bf97366ff4bd43f976fba9f4bf4ef88dac63dca1416b1f01d9c636b13942cf0b0157ec491ca9f1d9f39a512702d6ac8f896b8
6
+ metadata.gz: a1deabe9f8058a0621db3e0b1b50a88b8e637e12f62d66d25c710ad6ca65dd42b1b469db02e8d788a05984b0d33ac0179330fe30d16374ef412d64ad342e31ec
7
+ data.tar.gz: 23550cb56c4ad467199eb3341ed85954e05f5fd2519a997c022f60aa2791cbb9e7aaae0b58115d9f0e75e0fda539e0e45cebe1c47531fe54af98065066da27e7
data/README.md CHANGED
@@ -4,40 +4,68 @@ Simple responsive Jekyll theme featuring posts and authors.
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your Jekyll site's `Gemfile`:
7
+ ```sh
8
+ # If starting fresh add this
9
+ $ echo 'source "https://rubygems.org"' > Gemfile
8
10
 
9
- ```ruby
10
- gem "askclass-news-theme"
11
+ $ echo 'gem "askclass-news-theme"' >> Gemfile
12
+ $ sed -i '1 s/^/theme: askclass-news-theme\n/' _config.yml
13
+ $ bundle
11
14
  ```
12
15
 
13
- And add this line to your Jekyll site's `_config.yml`:
14
-
15
- ```yaml
16
- theme: askclass-news-theme
16
+ ## Configuration
17
+
18
+ Copy these files:
19
+ - `index.html`
20
+ - `config.yml` (edit this to fit your need)
21
+ - `content/` (whole folder as an example)
22
+ - `pwabuilder-sw.js` (PWA)
23
+
24
+ ## Post File Format
25
+
26
+ ```md
27
+ ---
28
+ # Don't change this
29
+ layout: post
30
+ # Well, what else could this be?
31
+ title: The Hobbit
32
+ # This is your author's name
33
+ category: J.R.R._Tolkien
34
+ # Alternatively
35
+ writer: J.R.R Tolkien
36
+ # Values: c1 .. c10
37
+ color: c1
38
+ # Tags separated by spaces
39
+ tags: fiction fantasy
40
+ # Optional title image (shows up on index)
41
+ image: https://article.images/iamge.jpg
42
+ # Optional source info
43
+ source: The Tolkien Society
44
+ source_url: https://www.tolkiensociety.org/
45
+ ---
46
+
47
+ Whatever is here goes gets on index.
48
+ <!--more-->
49
+ The rest of the article.
17
50
  ```
18
51
 
19
- And then execute:
20
-
21
- ```sh
22
- $ bundle
52
+ ## Writer File Format
53
+
54
+ ```md
55
+ ---
56
+ # Don't change this
57
+ layout: writer
58
+ # Optional size of image
59
+ size: 100
60
+ # Optional position of the profile image either center or left
61
+ style: center
62
+ # Optional image
63
+ image: https://author.images/tolkien.jpg
64
+ ---
65
+
66
+ Biography.
23
67
  ```
24
68
 
25
- ## Usage
26
-
27
- Customizable fields in the `_config.yaml`:
28
-
29
- Field | Description
30
- :--- | :---
31
- `title` | Name of the site
32
- `description` | Describe the site
33
- `site_url` | For meta field
34
- `site_cat` | [Manifest Categories] used in `manifest.json`
35
- `twitter` | Optional Twitter handle for meta field
36
- `logo` | Logo images and sizes for header of the page
37
- `color` | For dressing the splash screen and chrome
38
- `footer` | Bottom of the page info
39
- `font_families` | Which [Google Fonts] to load (edit `_sass/_default.scss` correspondingly)
40
-
41
69
  ## Contributing
42
70
 
43
71
  Bug reports and pull requests are welcome on GitHub at https://github.com/beAuthentic/askclass-news-theme.
data/_config.yml CHANGED
@@ -29,6 +29,18 @@ acn:
29
29
  favicon: "favicon.ico"
30
30
  type: "image/png"
31
31
  image: "logo-96.png"
32
+ keywords: >
33
+ edtech,
34
+ education,
35
+ technology,
36
+ learning,
37
+ teaching,
38
+ student,
39
+ educator,
40
+ university,
41
+ icebreaker,
42
+ student engagement,
43
+ participation
32
44
  footer:
33
45
  - icon: "copyright"
34
46
  href: "https://askclass.com"
@@ -36,6 +48,7 @@ acn:
36
48
  - icon: "toys"
37
49
  href: "https://app.askclass.com"
38
50
  text: "Icebreakers"
51
+ # Donot change the below (will figure something out later)
39
52
  font_families:
40
53
  - Teko
41
54
  - Open+Sans
@@ -15,6 +15,7 @@
15
15
  <meta name="theme-color" content="{{ acn.color.theme }}" />
16
16
  <meta name="apple-mobile-web-app-status-bar-style" content="{{ acn.color.theme }}" />
17
17
  <meta name="description" content="{{ desc }}" />
18
+ <meta name="keywords" content="{{ acn.meta.keywords | strip_newlines }}" />
18
19
 
19
20
  <meta property="og:site_name" content="{{ site.title }}" />
20
21
  <meta property="og:description" content="{{ desc }}" />
@@ -11,3 +11,4 @@
11
11
  {% endif %}
12
12
  <title>{{ title | default: site.title }}</title>
13
13
  <meta property="og:title" content="{{ title | default: site.title }}" />
14
+ <meta name="author" content="{{ writer | default: site.title }}" />
data/_sass/_bullets.scss CHANGED
@@ -4,14 +4,6 @@ ol > li > ul > li {
4
4
  ol > li > ol > li {
5
5
  list-style: lower-alpha;
6
6
  }
7
- ul > li > ul {
8
- list-style: none;
9
- li::before {
10
- content: "\2022";
11
- color: var(--secondaryColor);
12
- font-weight: bold;
13
- margin-left: -1em;
14
- width: 1em;
15
- display: inline-block;
16
- }
7
+ ul > li > ul > li {
8
+ list-style-type: square;
17
9
  }
data/_sass/_default.scss CHANGED
@@ -1,8 +1,7 @@
1
- $specialFont: 'Josefin Sans', sans-serif;
2
1
  $mainFont: 'Open Sans', sans-serif;
3
2
  $secondaryFont: 'Teko', sans-serif;
3
+ $specialFont: 'Josefin Sans', sans-serif;
4
4
  $monoFont: 'Share Tech Mono', monospace;
5
- $textFont: 'Lexend', sans-serif;
6
5
  $primaryColor: aliceblue;
7
6
  $secondaryColor: skyblue;
8
7
  $linkColor: deeppink;
@@ -18,7 +17,6 @@ html {
18
17
  --mainFont: #{$mainFont};
19
18
  --secondaryFont: #{$secondaryFont};
20
19
  --monoFont: #{$monoFont};
21
- --textFont: #{$textFont};
22
20
  --primaryColor: #{$primaryColor};
23
21
  --secondaryColor: #{$secondaryColor};
24
22
  --linkColor: #{$linkColor};
@@ -161,6 +159,7 @@ footer {
161
159
  color: $darkColor;
162
160
  font-size: 14px;
163
161
  ul {
162
+ padding: 0;
164
163
  display: flex;
165
164
  li {
166
165
  @include align-middle();
data/_sass/_table.scss CHANGED
@@ -2,16 +2,17 @@ $odd: #3f3f3f;
2
2
  $header: #2f2f2f;
3
3
  $border: #333;
4
4
 
5
- table, th, td {
5
+ table {
6
6
  border-bottom: 1px solid $border;
7
7
  border-collapse: collapse;
8
- padding: 5px;
9
- }
10
-
11
- th {
12
- background-color: $header;
13
- }
14
-
15
- tr:nth-child(odd) {
16
- background-color: $odd;
8
+ th {
9
+ background-color: $header;
10
+ }
11
+ tr:nth-child(even) {
12
+ background-color: $odd;
13
+ }
14
+ td, th {
15
+ vertical-align: top;
16
+ padding: 5px;
17
+ }
17
18
  }
data/assets/css/md.scss CHANGED
@@ -4,4 +4,5 @@
4
4
  @import "post";
5
5
  @import "paginator";
6
6
  @import "bullets";
7
+ @import "table";
7
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: askclass-news-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - AskClass
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-17 00:00:00.000000000 Z
11
+ date: 2022-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll