askclass-news-theme 0.1.0 → 0.2.1

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: c3dc2c0fef45d232b01974276cb742e126d03859dea8366c3484af1683597a1a
4
- data.tar.gz: 4c9509ff4642125c948749050d6082bb14b8acc769f83f340b18bf5c1be9499f
3
+ metadata.gz: 1dae1360fff3b56f4c9bbe48777b2a881869bcd2cd9268a09ceef39ed6cb2aa7
4
+ data.tar.gz: b51fb4f09145c4b5324c5d4a85f7ba2b74bc23182a392eae102701c21dc56bcd
5
5
  SHA512:
6
- metadata.gz: b039f8fbbbcbf151f448107e70868ab4c0567e7cf471cba596d18a9375680f79bfa7d85e3efbf394ea080a75852209f9c63a3d3054eaf3659c15b9a9404d6090
7
- data.tar.gz: 484de07440398b4ffc90f74903b1dd4d1aa60e15cd20b53f1acdaa29e33072c9ed4497bd35a145f1510d8ace48d7ebf0deaebe041847bb0306a5ff09369954d1
6
+ metadata.gz: 8d61f5cbf890178f022c7bffdb5068d5710905699fb7620dfd44222a47d3d2510d2fc53c09a52961787209daf073d7aeadf2c0a54f49cc3cc3b6c414ceb054e8
7
+ data.tar.gz: '0961284c53078cd938536ab9c5f3c56ccd4a2fd1a87ce7646b9df33e995acf83a9a3cc10d599908a562a85ce5d9122f828a27f9532bc11cd304d297af7da02e0'
data/README.md CHANGED
@@ -27,7 +27,7 @@ $ bundle
27
27
  Customizable fields in the `_config.yaml`:
28
28
 
29
29
  Field | Description
30
- --- | :---
30
+ :--- | :---
31
31
  `title` | Name of the site
32
32
  `description` | Describe the site
33
33
  `site_url` | For meta field
data/_config.yml CHANGED
@@ -1,3 +1,9 @@
1
+ # Add the below to your _config.yml
2
+ collections_dir: content
3
+ collections:
4
+ writers:
5
+ output: true
6
+
1
7
  # Custom fields
2
8
  title: "AskClass News"
3
9
  description: "News and discussions on learning and education"
@@ -13,6 +19,7 @@ logo:
13
19
  color:
14
20
  theme: "#ffc100"
15
21
  bg: "#222"
22
+ date_format: "%b %d, %Y"
16
23
 
17
24
  footer:
18
25
  - icon: "copyright"
@@ -35,11 +42,6 @@ excerpt_separator: "<!--more-->"
35
42
  sass:
36
43
  style: compact
37
44
 
38
- collections_dir: content
39
- collections:
40
- writers:
41
- output: true
42
-
43
45
  exclude:
44
46
  - README.md
45
47
  - LICENSE.txt
data/_includes/grid.html CHANGED
@@ -2,7 +2,7 @@
2
2
  {% for post in include.posts %}
3
3
  <li class="card-tab {{ post.color }}">
4
4
  <div class="top-bar">
5
- {{ post.date | date: "%b %d, %Y" }}
5
+ {{ post.date | date: site.date_format }}
6
6
  </div>
7
7
  {% if post.icon %}
8
8
  <div class="tab"><span class="material-icons">{{ post.icon }}</span></div>
@@ -1,6 +1,5 @@
1
1
 
2
2
  <meta charset="utf-8" />
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
4
3
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
5
4
 
6
5
  <meta name="application-name" content="{{ site.title }}" />
@@ -18,7 +17,7 @@
18
17
  <meta name="twitter:card" content="summary_large_image">
19
18
  {% endif % %}
20
19
 
21
- <link rel="manifest" href="/manifest.json" />
20
+ <link rel="manifest" href="/assets/site.webmanifest" />
22
21
  {% assign families = site.font_families | join: "&family=" %}
23
22
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family={{ families }}&display=swap" />
24
23
  <link rel="preconnect" href="https://fonts.googleapis.com" />
@@ -0,0 +1,57 @@
1
+ ---
2
+ ---
3
+ {
4
+ "background_color": "{{ site.color.bg }}",
5
+ "theme_color": "{{ site.color.theme }}",
6
+ "name": "{{ site.title }}",
7
+ "short_name": "{{ site.title }}",
8
+ "categories": [ "{{ site.site_cat | join: '","' }}" ],
9
+ "display": "standalone",
10
+ "scope": "/",
11
+ "start_url": "/",
12
+ "description": "{{ site.description }}",
13
+ "orientation": "portrait-primary",
14
+ "dir": "auto",
15
+ "icons": [
16
+ {
17
+ "src": "logo-300.png",
18
+ "type": "image/png",
19
+ "sizes": "300x300"
20
+ },
21
+ {
22
+ "src": "logo-48.png",
23
+ "sizes": "48x48",
24
+ "type": "image/png",
25
+ "purpose": "maskable"
26
+ },
27
+ {
28
+ "src": "logo-96.png",
29
+ "sizes": "96x96",
30
+ "type": "image/png",
31
+ "purpose": "maskable"
32
+ },
33
+ {
34
+ "src": "logo-144.png",
35
+ "sizes": "144x144",
36
+ "type": "image/png",
37
+ "purpose": "maskable"
38
+ },
39
+ {
40
+ "src": "logo-192.png",
41
+ "sizes": "192x192",
42
+ "type": "image/png",
43
+ "purpose": "maskable"
44
+ },
45
+ {
46
+ "src": "logo-512.png",
47
+ "sizes": "512x512",
48
+ "type": "image/png",
49
+ "purpose": "maskable"
50
+ },
51
+ {
52
+ "src": "logo-icon.svg",
53
+ "type": "image/png",
54
+ "sizes": "any"
55
+ }
56
+ ]
57
+ }
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.1.0
4
+ version: 0.2.1
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-15 00:00:00.000000000 Z
11
+ date: 2022-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -76,11 +76,12 @@ files:
76
76
  - assets/logo-square-96.png
77
77
  - assets/logo.png
78
78
  - assets/logo.svg
79
+ - assets/site.webmanifest
79
80
  - content/_posts/2022-06-15-the-academy.md
80
81
  - content/_writers/plato.md
81
82
  homepage: https://news.askclass.com
82
83
  licenses:
83
- - MIT
84
+ - MPL-2.0
84
85
  metadata: {}
85
86
  post_install_message:
86
87
  rdoc_options: []
@@ -97,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
98
  - !ruby/object:Gem::Version
98
99
  version: '0'
99
100
  requirements: []
100
- rubygems_version: 3.3.15
101
+ rubygems_version: 3.2.33
101
102
  signing_key:
102
103
  specification_version: 4
103
104
  summary: Simple responsive Jekyll theme featuring posts and authors.