askclass-news-theme 0.2.5 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +55 -27
- data/_config.yml +17 -5
- data/_includes/head/common.html +3 -2
- data/_includes/head/meta.html +8 -5
- data/_sass/_default.scss +1 -3
- data/_sass/_table.scss +11 -10
- data/assets/css/md.scss +1 -0
- data/content/_posts/2022-06-15-the-academy.md +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a48b63bd1231bfcbac50a136ad65aac635aeaa72f6d6d939e6dd24035140469
|
4
|
+
data.tar.gz: a61408fd0bd006366d59d983ad18cf24afd1f30232e41eeb1020f9fbdd83504c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43f15df18e87d22a7820435d283642350ee7e66bc37507aaa8db538544f21ac9ac17e508714ddccef3cd7e8087a8d396830772c7d0d15c66460edd250f7b07f7
|
7
|
+
data.tar.gz: cd2e8f36ffc3bb3f54739edb23d76e409fb019573d5734f33a1b09c5fa2425ce4d0b8e7f3e6358978aa25358eb9f2192cdb0d09dae3fe460ce6d1521bc93a500
|
data/README.md
CHANGED
@@ -4,40 +4,68 @@ Simple responsive Jekyll theme featuring posts and authors.
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
```sh
|
8
|
+
# If starting fresh add this
|
9
|
+
$ echo 'source "https://rubygems.org"' > Gemfile
|
8
10
|
|
9
|
-
|
10
|
-
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
-
|
20
|
-
|
21
|
-
```
|
22
|
-
|
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
@@ -1,10 +1,9 @@
|
|
1
1
|
# Custom fields
|
2
2
|
title: "AskClass News"
|
3
3
|
description: >
|
4
|
-
|
5
|
-
how innovations in cross-disciplinary learning
|
6
|
-
|
7
|
-
humanity and appreciation of life.
|
4
|
+
Exploring the intersection between education and technology;
|
5
|
+
how innovations in cross-disciplinary learning reorients the
|
6
|
+
trajectory of our society toward love and appreciation of life.
|
8
7
|
|
9
8
|
acn:
|
10
9
|
date_format: "%b %d, %Y"
|
@@ -25,11 +24,23 @@ acn:
|
|
25
24
|
sizes: [ 48, 96, 144, 192, 300, 512 ]
|
26
25
|
meta:
|
27
26
|
apple_icon: "logo-300.png"
|
28
|
-
og_image: "
|
27
|
+
og_image: "logo-square-512.png"
|
29
28
|
shortcut:
|
30
29
|
favicon: "favicon.ico"
|
31
30
|
type: "image/png"
|
32
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
|
33
44
|
footer:
|
34
45
|
- icon: "copyright"
|
35
46
|
href: "https://askclass.com"
|
@@ -37,6 +48,7 @@ acn:
|
|
37
48
|
- icon: "toys"
|
38
49
|
href: "https://app.askclass.com"
|
39
50
|
text: "Icebreakers"
|
51
|
+
# Donot change the below (will figure something out later)
|
40
52
|
font_families:
|
41
53
|
- Teko
|
42
54
|
- Open+Sans
|
data/_includes/head/common.html
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
{% assign acn = site.acn %}
|
2
2
|
{% assign desc = page.excerpt | default: site.description | strip_html | strip_newlines %}
|
3
3
|
{% assign families = acn.font_families | join: "&family=" %}
|
4
|
+
{% assign og_image = acn.meta.og_image | prepend: '/assets/' | prepend: site.url %}
|
4
5
|
|
5
6
|
<meta charset="utf-8" />
|
6
7
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
@@ -14,12 +15,12 @@
|
|
14
15
|
<meta name="theme-color" content="{{ acn.color.theme }}" />
|
15
16
|
<meta name="apple-mobile-web-app-status-bar-style" content="{{ acn.color.theme }}" />
|
16
17
|
<meta name="description" content="{{ desc }}" />
|
18
|
+
<meta name="keywords" content="{{ acn.meta.keywords | strip_newlines }}" />
|
17
19
|
|
18
20
|
<meta property="og:site_name" content="{{ site.title }}" />
|
19
21
|
<meta property="og:description" content="{{ desc }}" />
|
20
|
-
<meta property="og:title" content="{{ page.title | default: site.title }}" />
|
21
22
|
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
|
22
|
-
<meta property="og:image" content="{{ page.image | default:
|
23
|
+
<meta property="og:image" content="{{ page.image | default: og_image }}" />
|
23
24
|
{% if acn.twitter %}
|
24
25
|
<meta name="twitter:site" content="{{ acn.social.twitter }}" />
|
25
26
|
<meta name="twitter:card" content="summary_large_image">
|
data/_includes/head/meta.html
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
{% if page.title %}
|
2
|
-
|
2
|
+
{% include writer.html info=page %}
|
3
|
+
{% assign title = site.title | append: " • " | append: page.title %}
|
3
4
|
<meta property="og:type" content="article" />
|
4
|
-
<meta property="og:article:author" content="{{
|
5
|
+
<meta property="og:article:author" content="{{ writer }}" />
|
5
6
|
<meta property="og:article:published" content="{{ page.date }}" />
|
6
7
|
{% elsif site.title %}
|
7
|
-
<title>{{ site.title }}</title>
|
8
8
|
<meta property="og:type" content="website" />
|
9
|
-
<meta property="og:image:width" content="
|
10
|
-
<meta property="og:image:height" content="
|
9
|
+
<meta property="og:image:width" content="150" />
|
10
|
+
<meta property="og:image:height" content="150" />
|
11
11
|
{% endif %}
|
12
|
+
<title>{{ title | default: site.title }}</title>
|
13
|
+
<meta property="og:title" content="{{ title | default: site.title }}" />
|
14
|
+
<meta name="author" content="{{ writer | default: site.title }}" />
|
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};
|
data/_sass/_table.scss
CHANGED
@@ -2,16 +2,17 @@ $odd: #3f3f3f;
|
|
2
2
|
$header: #2f2f2f;
|
3
3
|
$border: #333;
|
4
4
|
|
5
|
-
table
|
5
|
+
table {
|
6
6
|
border-bottom: 1px solid $border;
|
7
7
|
border-collapse: collapse;
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
|
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
@@ -9,9 +9,7 @@ source: "Columbia University Press"
|
|
9
9
|
source_url: http://www.columbia.edu/itc/lithum/wong/plato.html
|
10
10
|
---
|
11
11
|
|
12
|
-
Plato, a Greek philosopher who lived for a time at the Syracuse court.
|
13
|
-
Founded the Academy (c.387<sub>B.C.</sub>) in Athens, the most influential and important learning instituion where he taught until his death in 347<sub>B.C.</sub>.
|
14
|
-
A pupil and friend of Socrates, and taught one of the greatest philosopher, Aristotle.
|
12
|
+
Plato, a Greek philosopher who lived for a time at the Syracuse court. Founded the Academy (c.387<sub>B.C.</sub>) in Athens, the most influential and important learning instituion where he taught until his death in 347<sub>B.C.</sub>. A pupil and friend of Socrates, and taught one of the greatest philosopher, Aristotle.
|
15
13
|
<!--more-->
|
16
14
|
|
17
15
|
Plato produced 35 dialogues and 13 letters including:
|
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.
|
4
|
+
version: 0.2.8
|
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-
|
11
|
+
date: 2022-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|