jekyll-theme-console-ext 1.14 → 2.3

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: f1610c13ad57cabecc0b2a8946572ee18f07f2d47ce45d612d18885cc3eee619
4
- data.tar.gz: 854b815f18800068d1cff816dcfd95fcb3d78c7206d3aafb127e1a42f0139440
3
+ metadata.gz: 9c4cf552be4eb47e8c9887082addeda3e9db3cc2f278d5a451d60e91fd60c32c
4
+ data.tar.gz: 68397ea098b4504ad5e44b35e2ef6ffd290def984c2bed0e1d5ed68454faa589
5
5
  SHA512:
6
- metadata.gz: a8d033fef0135b83c36b476813434f8d4354d688bece068e86bcb5ae78154b38058846e75d6ebd5ee9acd029343cab98d4e0125180c591a01554435112d6f053
7
- data.tar.gz: ed0c356406450d48b7b7f29f2aa2611543470a9fb1518c1769ced7c92a1f02e5f464e1206a134877eae3e886822ef59d12f83dc32a4395d66e7cb0c69797266c
6
+ metadata.gz: 73b803f9c1ad0521f7274bcb8d343ef7e5caca6dfe4672e819a179abf5c598a20f42df362592b20fe6072de57051d3ff14fde4605580d7da10b51454b250af56
7
+ data.tar.gz: 35c1a47f776020835fb2c2e0fa24e28ea96a620320629da5060ebaf98adf394ce5004e9ebdca5c1631dc39a2d490c66ce5e25861fd83cb2cc4ab5fa62c6dc0d3
@@ -0,0 +1,11 @@
1
+ {% capture temptags %}
2
+ {% for tag in site.tags %}
3
+ {{ tag[1].size | plus: 1000 }}#{{ tag[0] }}#{{ tag[1].size }}
4
+ {% endfor %}
5
+ {% endcapture %}
6
+ {% assign sortedtemptags = temptags | split:' ' | sort | reverse %}
7
+ {% for temptag in sortedtemptags %}
8
+ {% assign tagitems = temptag | split: '#' %}
9
+ {% capture tagname %}{{ tagitems[1] }}{% endcapture %}
10
+ <a href="/tag/{{ tagname }}"><code class="highligher-rouge"><nobr>{{ tagname }}</nobr></code></a>
11
+ {% endfor %}
@@ -0,0 +1,18 @@
1
+ {% assign rawtags = "" %}
2
+ {% for post in site.posts %}
3
+ {% assign ttags = post.tags | join:'|' | append:'|' %}
4
+ {% assign rawtags = rawtags | append:ttags %}
5
+ {% endfor %}
6
+ {% assign rawtags = rawtags | split:'|' | sort %}
7
+
8
+ {% assign site.tags = "" %}
9
+ {% for tag in rawtags %}
10
+ {% if tag != "" %}
11
+ {% if tags == "" %}
12
+ {% assign tags = tag | split:'|' %}
13
+ {% endif %}
14
+ {% unless tags contains tag %}
15
+ {% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %}
16
+ {% endunless %}
17
+ {% endif %}
18
+ {% endfor %}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {% include archive.html %}
data/_layouts/post.html CHANGED
@@ -2,10 +2,11 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <span>[
5
+ <label class="tagheader">[
6
6
  {% for tag in page.tags %}
7
7
  {% capture tag_name %}{{ tag }}{% endcapture %}
8
8
  <a href="/tag/{{ tag_name }}"><code class="highligher-rouge"><nobr>{{ tag_name }}</nobr></code>&nbsp;</a>
9
9
  {% endfor %}
10
- ]</span>
10
+ ]</label>
11
+ <br>
11
12
  {{ content }}
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ <div class="post">
6
+ <p>Tag: {{ page.tag }}</p>
7
+ <ul>
8
+ {% for post in site.tags[page.tag] %}
9
+ <li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }})<br>
10
+ {{ post.description }}
11
+ </li>
12
+ {% endfor %}
13
+ </ul>
14
+ </div>
data/_sass/_dark.scss CHANGED
@@ -3,11 +3,11 @@
3
3
  */
4
4
 
5
5
  :root {
6
- --base-color: #DBDBDB;
7
- --border: dashed 1px rgba(219, 219, 219, 0.9);
8
- --selection-background: rgba(219, 219, 219, 0.99);
9
- --selection-text: #000;
10
- --background-color: #000;
6
+ --base-color: #9e9e9e;
7
+ --border: dashed 1px #9e9e9e;
8
+ --selection-background: #9e9e9e;
9
+ --selection-text: #1f1f1f;
10
+ --background-color: #1f1f1f;
11
11
  --text-color: var(--base-color);
12
12
  --placeholder-color: var(--base-color);
13
13
  --link-color: var(--base-color);
data/_sass/base.scss CHANGED
@@ -5,11 +5,11 @@
5
5
  * Style variables
6
6
  */
7
7
  $base-font-family: 'Source Code Pro', monospace !default;
8
- $base-font-size: 12.5px !default;
8
+ $base-font-size: 14px !default;
9
9
  $mobile-font-size: 12px !default;
10
10
  $base-line-height: 1.5 !default;
11
11
  $container-width: 90% !default;
12
- $container-max-width: 600px !default;
12
+ $container-max-width: 700px !default;
13
13
 
14
14
  /**
15
15
  * Global
data/assets/styles.scss CHANGED
@@ -1,11 +1,18 @@
1
1
  ---
2
2
  ---
3
3
 
4
- .images {
4
+ .images40 {
5
5
  display: block;
6
6
  margin-left: auto;
7
7
  margin-right: auto;
8
- width: 50%;
8
+ width: 40%;
9
+ }
10
+
11
+ .images100 {
12
+ display: block;
13
+ margin-left: auto;
14
+ margin-right: auto;
15
+ width: 100%;
9
16
  }
10
17
 
11
18
  .imgLabel {
@@ -13,7 +20,13 @@
13
20
  text-decoration: none;
14
21
  text-align: center;
15
22
  display: block;
16
- color: #DBDBDB;
23
+ }
24
+
25
+ .tagheader {
26
+ font-style: normal;
27
+ text-decoration: none;
28
+ text-align: center;
29
+ display: block;
17
30
  }
18
31
 
19
32
  .images:hover {
@@ -9,8 +9,8 @@
9
9
  display: block;
10
10
  overflow-x: auto;
11
11
  padding: 0.5em;
12
- color: #ffffff;
13
- background: #000000;
12
+ color: #9e9e9e;
13
+ background: #1f1f1f;
14
14
  }
15
15
 
16
16
  .hljs-comment {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-console-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.14'
4
+ version: '2.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - pedr0silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-17 00:00:00.000000000 Z
11
+ date: 2021-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -74,14 +74,18 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - README.md
77
+ - _includes/archive.html
78
+ - _includes/collecttags.html
77
79
  - _includes/footer.html
78
80
  - _includes/google-analytics.html
79
81
  - _includes/head.html
80
82
  - _includes/header.html
83
+ - _layouts/archivepage.html
81
84
  - _layouts/default.html
82
85
  - _layouts/home.html
83
86
  - _layouts/page.html
84
87
  - _layouts/post.html
88
+ - _layouts/tagpage.html
85
89
  - _sass/_dark.scss
86
90
  - _sass/_hacker.scss
87
91
  - _sass/_light.scss
@@ -214,6 +218,7 @@ requirements: []
214
218
  rubygems_version: 3.2.9
215
219
  signing_key:
216
220
  specification_version: 4
217
- summary: An extension on b2a3e8's jekyll-theme-console-ext. Added centered images
218
- and highlight.js. Feel free to check out my personal website for a quick demo (pedr0silva.github.io)
221
+ summary: An extension on b2a3e8's jekyll-theme-console-ext. Added centered images,
222
+ code highlighting and tags. Feel free to check out my personal website for a quick
223
+ demo (pedr0silva.github.io)
219
224
  test_files: []