askclass-news-theme 0.2.12 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +27 -5
- data/_includes/foot/mathjax.html +2 -0
- data/_includes/footer.html +4 -2
- data/_includes/grid.html +1 -1
- data/_includes/post/nextprev.html +19 -13
- data/_layouts/hashtag.html +31 -0
- data/_layouts/post.html +3 -2
- data/_sass/_default.scss +24 -0
- metadata +5 -7
- data/content/_posts/2022-06-15-the-academy.md +0 -36
- data/content/_posts/2022-06-18-card-colors.md +0 -75
- data/content/_writers/plato.md +0 -8
- data/content/_writers/theme.md +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d7830fe82c5503855f63df33da81a394ce42329531f1ae8ff1e1a88d67115bf
|
4
|
+
data.tar.gz: 9d03f151b323a60f8c723020871e77db4221bc584ec6a1bd3936d07eaa1e220c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec59b713992f9ec64e3a317e7b4e7810dada70c67a546d03e54f7245359cfacc1582b15e291cfad5cfe80a863c2e57e566ef15e0cc5e13c2cce2413679e4308f
|
7
|
+
data.tar.gz: d3685d1c4e43aab14d671c725348bd1a2ed21e44ddcfab035b05fcd30617f21640ce669f55cd1737864225c2bcd9f865f1efe078f15391ff6eec88f1047b35e7
|
data/_config.yml
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
title: "AskClass News"
|
3
3
|
description: >
|
4
4
|
Exploring the intersection between education and technology;
|
5
|
-
how innovations in cross-disciplinary learning reorients
|
6
|
-
trajectory
|
5
|
+
how innovations in cross-disciplinary learning reorients our
|
6
|
+
trajectory toward love and appreciation of life.
|
7
7
|
|
8
8
|
acn:
|
9
9
|
date_format: "%b %d, %Y"
|
@@ -11,7 +11,7 @@ acn:
|
|
11
11
|
color:
|
12
12
|
theme: "#ffc100"
|
13
13
|
bg: "#222"
|
14
|
-
url: "https://
|
14
|
+
url: "https://acn.askclass.com"
|
15
15
|
categories:
|
16
16
|
- education
|
17
17
|
social:
|
@@ -56,18 +56,40 @@ acn:
|
|
56
56
|
- Share+Tech+Mono
|
57
57
|
- Material+Icons
|
58
58
|
|
59
|
-
# Add the below to your _config.yml
|
60
59
|
collections_dir: content
|
61
60
|
collections:
|
62
61
|
writers:
|
63
62
|
output: true
|
63
|
+
hashtags:
|
64
|
+
output: true
|
64
65
|
|
65
|
-
|
66
|
+
ignore_theme_config: false
|
66
67
|
excerpt_separator: "<!--more-->"
|
68
|
+
permalink: /:year/:month/:day/:title
|
69
|
+
|
70
|
+
defaults:
|
71
|
+
- scope:
|
72
|
+
type: "hashtags"
|
73
|
+
values:
|
74
|
+
layout: "hashtag"
|
75
|
+
- scope:
|
76
|
+
type: "writers"
|
77
|
+
values:
|
78
|
+
layout: "writer"
|
79
|
+
- scope:
|
80
|
+
type: "posts"
|
81
|
+
values:
|
82
|
+
layout: "post"
|
67
83
|
|
68
84
|
sass:
|
69
85
|
style: compact
|
70
86
|
|
87
|
+
include:
|
88
|
+
- index.html
|
89
|
+
- 404.html
|
90
|
+
- pwabuilder-sw.js
|
91
|
+
- content
|
92
|
+
|
71
93
|
exclude:
|
72
94
|
- README.md
|
73
95
|
- LICENSE
|
data/_includes/footer.html
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
+
|
1
2
|
<footer>
|
2
3
|
<ul>
|
3
|
-
{% for item in site.acn.footer
|
4
|
+
{% for item in site.acn.footer -%}
|
4
5
|
<li>
|
5
6
|
<span class="material-icons">{{ item.icon }}</span>
|
6
7
|
<a href="{{ item.href }}">{{ item.text }}</a>
|
7
8
|
</li>
|
8
|
-
{
|
9
|
+
{%- endfor %}
|
9
10
|
</ul>
|
10
11
|
</footer>
|
12
|
+
{% include foot/mathjax.html -%}
|
data/_includes/grid.html
CHANGED
@@ -1,18 +1,24 @@
|
|
1
|
-
{
|
2
|
-
{% if p %}
|
1
|
+
{%- assign p = page[include.p] -%}
|
3
2
|
<div class="paginator">
|
4
|
-
{
|
5
|
-
{
|
6
|
-
{
|
7
|
-
|
8
|
-
|
9
|
-
{
|
10
|
-
|
3
|
+
{%- if include.p == 'next' -%}
|
4
|
+
{%- assign align = 'pull-left' -%}
|
5
|
+
{%- assign arrow = 'before' -%}
|
6
|
+
{%- assign indicator = 'Newer' -%}
|
7
|
+
{%- else -%}
|
8
|
+
{%- assign align = 'pull-right' -%}
|
9
|
+
{%- assign arrow = 'next' -%}
|
10
|
+
{%- assign indicator = 'Older' -%}
|
11
|
+
{%- endif -%}
|
12
|
+
{%- if p %}
|
11
13
|
<div class="{{ align }}">
|
12
|
-
<span>{{
|
14
|
+
<span>{{ indicator }}</span>
|
13
15
|
<span class="material-icons">navigate_{{ arrow }}</span>
|
14
16
|
</div>
|
15
|
-
<
|
16
|
-
|
17
|
+
<a href="{{ p.url }}">
|
18
|
+
<img src="{{ p.image }}" width="100%" alt="{{ p.title }}" />
|
19
|
+
{{ p.title }}
|
20
|
+
</a>
|
21
|
+
{%- else %}
|
22
|
+
<div class="{{ align }}"> </div>
|
23
|
+
{% endif -%}
|
17
24
|
</div>
|
18
|
-
{% endif %}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
{% include header.html -%}
|
4
|
+
<body>
|
5
|
+
{%- assign url = page.url | split: '/' -%}
|
6
|
+
{%- assign tag = url.last -%}
|
7
|
+
{%- for t in site.tags -%}
|
8
|
+
{%- if t[0] != tag -%}
|
9
|
+
{%- continue -%}
|
10
|
+
{%- endif -%}
|
11
|
+
{%- assign posts = t[1] -%}
|
12
|
+
{%- break -%}
|
13
|
+
{%- endfor -%}
|
14
|
+
|
15
|
+
{% include logo.html image=site.acn.logo.alt_image size=site.acn.logo.alt_size title=tag -%}
|
16
|
+
{%- if posts.size -%}
|
17
|
+
{% include grid.html posts=posts %}
|
18
|
+
{%- else -%}
|
19
|
+
<article class="tiles">
|
20
|
+
<ul>
|
21
|
+
{%- for t in site.tags -%}
|
22
|
+
<li><a href="/hashtags/{{ t[0] }}">{{ t[0] }}<sup>{{ t[1].size }}</sup></a></li>
|
23
|
+
{%- endfor -%}
|
24
|
+
</ul>
|
25
|
+
</article>
|
26
|
+
{%- endif -%}
|
27
|
+
{%- include footer.html %}
|
28
|
+
</body>
|
29
|
+
</html>
|
30
|
+
|
31
|
+
|
data/_layouts/post.html
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
{% if page.tags %}
|
28
28
|
<div class="spacer tags">
|
29
29
|
{% for tag in page.tags %}
|
30
|
-
<small>{{ tag }}</small>
|
30
|
+
<small><a href="/hashtags/{{ tag }}">{{ tag }}</a></small>
|
31
31
|
{% endfor %}
|
32
32
|
</div>
|
33
33
|
{% endif %}
|
@@ -37,7 +37,8 @@
|
|
37
37
|
<span class="material-icons">source</span>
|
38
38
|
<div>
|
39
39
|
Source:
|
40
|
-
<a target="_blank"
|
40
|
+
<a target="_blank" rel="noopener noreferrer"
|
41
|
+
href="{{ page.source_url }}">{{ page.source }}</a>
|
41
42
|
</div>
|
42
43
|
</div>
|
43
44
|
{% endif %}
|
data/_sass/_default.scss
CHANGED
@@ -186,3 +186,27 @@ article {
|
|
186
186
|
display: inline-block;
|
187
187
|
}
|
188
188
|
}
|
189
|
+
|
190
|
+
article.tiles {
|
191
|
+
ul {
|
192
|
+
list-style-type: none;
|
193
|
+
padding-inline-start: unset;
|
194
|
+
display: grid;
|
195
|
+
grid-gap: 1rem;
|
196
|
+
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
197
|
+
li {
|
198
|
+
padding: 10px;
|
199
|
+
margin: 5px;
|
200
|
+
border-radius: 5px;
|
201
|
+
text-align: center;
|
202
|
+
background-color: $secondaryColor;
|
203
|
+
a {
|
204
|
+
color: $bgColor;
|
205
|
+
}
|
206
|
+
sup {
|
207
|
+
vertical-align: 3px;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
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.
|
4
|
+
version: 0.4.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-
|
11
|
+
date: 2022-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- LICENSE
|
35
35
|
- README.md
|
36
36
|
- _config.yml
|
37
|
+
- _includes/foot/mathjax.html
|
37
38
|
- _includes/footer.html
|
38
39
|
- _includes/grid.html
|
39
40
|
- _includes/head/common.html
|
@@ -45,6 +46,7 @@ files:
|
|
45
46
|
- _includes/post/paginator.html
|
46
47
|
- _includes/writer.html
|
47
48
|
- _layouts/default.html
|
49
|
+
- _layouts/hashtag.html
|
48
50
|
- _layouts/page.html
|
49
51
|
- _layouts/post.html
|
50
52
|
- _layouts/writer.html
|
@@ -77,11 +79,7 @@ files:
|
|
77
79
|
- assets/logo-square-96.png
|
78
80
|
- assets/logo.svg
|
79
81
|
- assets/site.webmanifest
|
80
|
-
|
81
|
-
- content/_posts/2022-06-18-card-colors.md
|
82
|
-
- content/_writers/plato.md
|
83
|
-
- content/_writers/theme.md
|
84
|
-
homepage: https://news.askclass.com
|
82
|
+
homepage: https://acn.askclass.com
|
85
83
|
licenses:
|
86
84
|
- MPL-2.0
|
87
85
|
metadata: {}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: "The Academy"
|
4
|
-
category: Plato
|
5
|
-
color: c8
|
6
|
-
tags: philosopy bio
|
7
|
-
image: https://i.imgur.com/p3F1hWt.png
|
8
|
-
source: "Columbia University Press"
|
9
|
-
source_url: http://www.columbia.edu/itc/lithum/wong/plato.html
|
10
|
-
---
|
11
|
-
|
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.
|
13
|
-
<!--more-->
|
14
|
-
|
15
|
-
Plato produced 35 dialogues and 13 letters including:
|
16
|
-
|
17
|
-
- Early (Socratic dialogues):
|
18
|
-
- The Apology
|
19
|
-
- Meno
|
20
|
-
- Gorgias
|
21
|
-
|
22
|
-
- Middle dialogues:
|
23
|
-
- The Republic
|
24
|
-
- Phaedo
|
25
|
-
- Symposium
|
26
|
-
- Timaeus
|
27
|
-
|
28
|
-
- Later dialogues:
|
29
|
-
- The Laws
|
30
|
-
- Parmenides
|
31
|
-
|
32
|
-
In his magnum opus, <cite>The Republic</cite> Plato argues for the philosopher-king as best kind of ruler;
|
33
|
-
only a philosopher "understands the harmony of all parts of the universe with the Idea of the Good,"
|
34
|
-
and therefore, "is capable of ruling the just state."
|
35
|
-
|
36
|
-
> Virtue consists in the harmony of the human soul with the universe of Ideas, which assure order, intelligence, and pattern to a world in constant flux. Supreme among them is the Idea of the Good, analogous to the sun in the physical world.
|
@@ -1,75 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: Card Colors
|
4
|
-
category: Theme
|
5
|
-
color: c10
|
6
|
-
tags: theme colors
|
7
|
-
image: https://i.imgur.com/3PXNluf.png
|
8
|
-
---
|
9
|
-
This theme has 10 colors. Five set of colors with a darker shade. `c9` and `c10` break the rule.
|
10
|
-
<!--more-->
|
11
|
-
|
12
|
-
<table>
|
13
|
-
<tbody>
|
14
|
-
<tr>
|
15
|
-
<td style="width: 50px; color: var(--c1)">c1</td>
|
16
|
-
<td style="width: 50px; background-color: var(--c1)">c1</td>
|
17
|
-
<td style="width: 50px; color: var(--c1); background-color: var(--fgColor)">c1</td>
|
18
|
-
<td style="width: 50px; background-color: var(--c1); color: var(--bgColor)">c1</td>
|
19
|
-
</tr>
|
20
|
-
<tr>
|
21
|
-
<td style="color: var(--c2)">c2</td>
|
22
|
-
<td style="background-color: var(--c2)">c2</td>
|
23
|
-
<td style="color: var(--c2); background-color: var(--fgColor)">c2</td>
|
24
|
-
<td style="background-color: var(--c2); color: var(--bgColor)">c2</td>
|
25
|
-
</tr>
|
26
|
-
<tr>
|
27
|
-
<td style="color: var(--c3)">c3</td>
|
28
|
-
<td style="background-color: var(--c3)">c3</td>
|
29
|
-
<td style="color: var(--c3); background-color: var(--fgColor)">c3</td>
|
30
|
-
<td style="background-color: var(--c3); color: var(--bgColor)">c3</td>
|
31
|
-
</tr>
|
32
|
-
<tr>
|
33
|
-
<td style="color: var(--c4)">c4</td>
|
34
|
-
<td style="background-color: var(--c4)">c4</td>
|
35
|
-
<td style="color: var(--c4); background-color: var(--fgColor)">c4</td>
|
36
|
-
<td style="background-color: var(--c4); color: var(--bgColor)">c4</td>
|
37
|
-
</tr>
|
38
|
-
<tr>
|
39
|
-
<td style="color: var(--c5)">c5</td>
|
40
|
-
<td style="background-color: var(--c5)">c5</td>
|
41
|
-
<td style="color: var(--c5); background-color: var(--fgColor)">c5</td>
|
42
|
-
<td style="background-color: var(--c5); color: var(--bgColor)">c5</td>
|
43
|
-
</tr>
|
44
|
-
<tr>
|
45
|
-
<td style="color: var(--c6)">c6</td>
|
46
|
-
<td style="background-color: var(--c6)">c6</td>
|
47
|
-
<td style="color: var(--c6); background-color: var(--fgColor)">c6</td>
|
48
|
-
<td style="background-color: var(--c6); color: var(--bgColor)">c6</td>
|
49
|
-
</tr>
|
50
|
-
<tr>
|
51
|
-
<td style="color: var(--c7)">c7</td>
|
52
|
-
<td style="background-color: var(--c7)">c7</td>
|
53
|
-
<td style="color: var(--c7); background-color: var(--fgColor)">c7</td>
|
54
|
-
<td style="background-color: var(--c7); color: var(--bgColor)">c7</td>
|
55
|
-
</tr>
|
56
|
-
<tr>
|
57
|
-
<td style="color: var(--c8)">c8</td>
|
58
|
-
<td style="background-color: var(--c8)">c8</td>
|
59
|
-
<td style="color: var(--c8); background-color: var(--fgColor)">c8</td>
|
60
|
-
<td style="background-color: var(--c8); color: var(--bgColor)">c8</td>
|
61
|
-
</tr>
|
62
|
-
<tr>
|
63
|
-
<td style="color: var(--c9)">c9</td>
|
64
|
-
<td style="background-color: var(--c9)">c9</td>
|
65
|
-
<td style="color: var(--c9); background-color: var(--fgColor)">c9</td>
|
66
|
-
<td style="background-color: var(--c9); color: var(--bgColor)">c9</td>
|
67
|
-
</tr>
|
68
|
-
<tr>
|
69
|
-
<td style="color: var(--c10)">c10</td>
|
70
|
-
<td style="background-color: var(--c10)">c10</td>
|
71
|
-
<td style="color: var(--c10); background-color: var(--fgColor)">c10</td>
|
72
|
-
<td style="background-color: var(--c10); color: var(--bgColor)">c10</td>
|
73
|
-
</tr>
|
74
|
-
</tbody>
|
75
|
-
</table>
|
data/content/_writers/plato.md
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: writer
|
3
|
-
size: 100
|
4
|
-
style: center
|
5
|
-
image: https://i.imgur.com/wzEZQ10.png
|
6
|
-
---
|
7
|
-
|
8
|
-
Ancient Greek philosopher Plato was a student of Socrates and a teacher of Aristotle. His writings explored justice, beauty and equality, and also contained discussions in aesthetics, political philosophy, theology, cosmology, epistemology and the philosophy of language. Plato founded the Academy in Athens, one of the first institutions of higher learning in the Western world.
|