askclass-news-theme 0.2.12 → 0.3.0

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: 302096abbe006f941231d52dbd31bd7360ffe8126bbd69c3f39ba65d0cb8d1d5
4
- data.tar.gz: 181aaa564d2c8f7e74cc91eba2b270e51980645637b39dae9aeea6640a9f6559
3
+ metadata.gz: e914d6ff6255614ac81e2a9582fbfbf51684f23d406560e105a83cc1b6297c98
4
+ data.tar.gz: 83000ebcdb654ef0cc61877b111530f56c42fabd280c7c3d1a0c0d2072415d8f
5
5
  SHA512:
6
- metadata.gz: fcf9fdddcca27f5eec4a896bbc51a186b36356d3b92849ebbc34e74bd20fb29f626389bd93459d94a5b14652ca41a34375d415fd5ad7530b42456c71cf7f280d
7
- data.tar.gz: 6f3414065f88e7095012b223f311b14d203b42cbe57b4bba0bde971d834ef1690c2fab04c06a815965fd4022a5917fe5c7b6e65f398ccd09901f811809a38915
6
+ metadata.gz: d2ed0efca9f7af7ccd7aaf4f271e5f33e99f3137d70b1280534ca5b13574e512091085c98323f49de11d829787b7f907a4f6c5bea22c99eefb3f5ebb25d077db
7
+ data.tar.gz: 2d7c1d57ad5a60031b07a48b6b8f2db31c646b9bbb737839a34d9437bd97de90030583cce31924e01a955d2e2ffc2ee9b2ca1c719bd41788b2b6a6be3c9fd260
@@ -0,0 +1,2 @@
1
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
2
+ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
@@ -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
- {% endfor %}
9
+ {%- endfor %}
9
10
  </ul>
10
11
  </footer>
12
+ {% include foot/mathjax.html -%}
data/_layouts/post.html CHANGED
@@ -37,7 +37,8 @@
37
37
  <span class="material-icons">source</span>
38
38
  <div>
39
39
  Source:
40
- <a target="_blank" href="{{ page.source_url }}">{{ page.source }}</a>
40
+ <a target="_blank" rel="noopener noreferrer"
41
+ href="{{ page.source_url }}">{{ page.source }}</a>
41
42
  </div>
42
43
  </div>
43
44
  {% endif %}
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.12
4
+ version: 0.3.0
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-19 00:00:00.000000000 Z
11
+ date: 2022-06-20 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
@@ -77,11 +78,7 @@ files:
77
78
  - assets/logo-square-96.png
78
79
  - assets/logo.svg
79
80
  - assets/site.webmanifest
80
- - content/_posts/2022-06-15-the-academy.md
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
81
+ homepage: https://acn.askclass.com
85
82
  licenses:
86
83
  - MPL-2.0
87
84
  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>
@@ -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.
@@ -1,5 +0,0 @@
1
- ---
2
- layout: writer
3
- size: 50
4
- image: /assets/logo-icon.svg
5
- ---