jekyll-theme-superb 0.1.4 → 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: 15257ecf0efbef70d36e5745e287a9755033b60a70a2c5aabdfbce73f4c92ba8
4
- data.tar.gz: b061377f12a7d273ae5e7fce42e4ae19fea79b8147748fcb09e6fb01a7b9d888
3
+ metadata.gz: 4ccceb6a006158282c00ebb0b6bdafbab35fa551b935a4d072700a2f58de6c52
4
+ data.tar.gz: e2615b064defe88c0c0560f3e02e66d432ac4a7a22c028851a52d112aa8055cc
5
5
  SHA512:
6
- metadata.gz: 71e11a952dcfa15dcd43afde8fbf928e3843aaa6dcdc4bf07a83cdfbb004efa229ac9d52e9277f6893d979db9bb35f365899b3d7ce634a6af66cb90a1f81da30
7
- data.tar.gz: 41c49ac29b4a88e349069feb9e861490331d911cf1ca3284f44fa042291de19530ff53540472bff6b4af714634777c68b5c1c9e0c066c615e3cc47a73d98bc0a
6
+ metadata.gz: 13acf3454ca299e63d03e6d06100f802627f9bf43450d8c9ce9bb739d56e06ce0dd781421415f3dce9f9be849e464525ebf6d6dd52af790435d75f738df650b9
7
+ data.tar.gz: 912c91d87629988b727619693669d11571aecbe0d7b757b4e4cdd58976030186941488e777a375a574ae05533071c0d49974e1c11a4f9d278d5ac7ad3f1f1e79
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2022 Ivanka Todorova
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Ivanka Todorova
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,80 +1,80 @@
1
- # jekyll-theme-superb
2
-
3
- This is a simple Jekyll theme that uses [tailwindCSS's-based ui-kit](https://github.com/simplysuperb-dev/ui-kit) of simply**superb**. My blog uses it currently, so you can see it live at: https://blog.simplysuperb.app/. Additionally, here's a screenshot*:
4
-
5
- ![screenshot of the theme](./screenshot.png)
6
-
7
- _\* Article titles were copied from [dev.to](dev.to)'s homepage at the time of designing of this template._
8
-
9
- ## Installation
10
-
11
- Add this line to your Jekyll site's `Gemfile`:
12
-
13
- ```ruby
14
- gem "jekyll-theme-superb"
15
- ```
16
-
17
- And add this line to your Jekyll site's `_config.yml`:
18
-
19
- ```yaml
20
- theme: jekyll-theme-superb
21
- ```
22
-
23
- And then execute:
24
-
25
- $ bundle
26
-
27
- Or install it yourself as:
28
-
29
- $ gem install jekyll-theme-superb
30
-
31
- ## Usage
32
-
33
- Theme has a `post` layout used for displaying a single post, an `index` layout used for displaying all posts and a page layout that differs slightly from the `post` layout.
34
-
35
- ## Configuration
36
-
37
- Additional to other config options already present in jekyll itself, this theme also has:
38
-
39
- - **subtitle**: Shown next to the name of the blog (top left corner, visible desktop only)
40
-
41
- ## Contributing
42
-
43
- Bug reports and pull requests are welcome on GitHub at https://github.com/simplysuperb-dev/jekyll-theme-superb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
44
-
45
- ## Development
46
-
47
- To set up your environment to develop this theme, run `bundle install` and `npm install`.
48
-
49
- To run `postcss` for the tailwind part:
50
-
51
- ```
52
- npm run css:dev
53
- ```
54
-
55
- To run jekyll and its processor:
56
-
57
- ```
58
- npm run jekyll:dev
59
- ```
60
-
61
- > Note: You might checkout [`concurrently`](https://www.npmjs.com/package/concurrently), if you want to run both commands... wait for it... *concurrently*.
62
-
63
- ## Releasing
64
-
65
- First, make sure the theme runs smoothly (or at all) locally.
66
-
67
- Then create the 💎
68
- ```
69
- gem build jekyll-theme-superb.gemspec
70
- ```
71
-
72
- Lastly, publish it to the ☁️
73
- ```
74
- gem push jekyll-theme-superb-*.gem
75
- ```
76
-
77
- ## License
78
-
79
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
80
-
1
+ # jekyll-theme-superb
2
+
3
+ This is a simple Jekyll theme that uses [tailwindCSS's-based ui-kit](https://github.com/simplysuperb-dev/ui-kit) of simply**superb**. My blog uses it currently, so you can see it live at: https://blog.simplysuperb.app/. Additionally, here's a screenshot*:
4
+
5
+ ![screenshot of the theme](./screenshot.png)
6
+
7
+ _\* Article titles were copied from [dev.to](dev.to)'s homepage at the time of designing of this template._
8
+
9
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's `Gemfile`:
12
+
13
+ ```ruby
14
+ gem "jekyll-theme-superb"
15
+ ```
16
+
17
+ And add this line to your Jekyll site's `_config.yml`:
18
+
19
+ ```yaml
20
+ theme: jekyll-theme-superb
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install jekyll-theme-superb
30
+
31
+ ## Usage
32
+
33
+ Theme has a `post` layout used for displaying a single post, an `index` layout used for displaying all posts and a page layout that differs slightly from the `post` layout.
34
+
35
+ ## Configuration
36
+
37
+ Additional to other config options already present in jekyll itself, this theme also has:
38
+
39
+ - **subtitle**: Shown next to the name of the blog (top left corner, visible desktop only)
40
+
41
+ ## Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/simplysuperb-dev/jekyll-theme-superb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
44
+
45
+ ## Development
46
+
47
+ To set up your environment to develop this theme, run `bundle install` and `npm install`.
48
+
49
+ To run `postcss` for the tailwind part:
50
+
51
+ ```
52
+ npm run css:dev
53
+ ```
54
+
55
+ To run jekyll and its processor:
56
+
57
+ ```
58
+ npm run jekyll:dev
59
+ ```
60
+
61
+ > Note: You might checkout [`concurrently`](https://www.npmjs.com/package/concurrently), if you want to run both commands... wait for it... *concurrently*.
62
+
63
+ ## Releasing
64
+
65
+ First, make sure the theme runs smoothly (or at all) locally.
66
+
67
+ Then create the 💎
68
+ ```
69
+ gem build jekyll-theme-superb.gemspec
70
+ ```
71
+
72
+ Lastly, publish it to the ☁️
73
+ ```
74
+ gem push jekyll-theme-superb-*.gem
75
+ ```
76
+
77
+ ## License
78
+
79
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
80
+
@@ -64,4 +64,4 @@
64
64
  </ul>
65
65
  </div>
66
66
  </nav>
67
- </header>
67
+ </header>
@@ -1,16 +1,16 @@
1
- <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
-
4
- {%- include head.html -%}
5
-
6
- <body class="font-serif">
7
- <div class="container mx-auto">
8
-
9
- {%- include header.html -%}
10
-
11
- {{content}}
12
-
13
- {%- include footer.html -%}
14
- </div>
15
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body class="font-serif">
7
+ <div class="container mx-auto">
8
+
9
+ {%- include header.html -%}
10
+
11
+ {{content}}
12
+
13
+ {%- include footer.html -%}
14
+ </div>
15
+ </body>
16
16
  </html>
data/_layouts/page.html CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <div class="px-4 py-2 desktop:px-0 page">
6
- {{ content }}
7
- </div>
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="px-4 py-2 desktop:px-0 page">
6
+ {{ content }}
7
+ </div>
data/_layouts/post.html CHANGED
@@ -1,13 +1,13 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <div class="px-4 py-2 desktop:px-0 post">
6
- <div>
7
- <span class="text-grey/50">0644</span>
8
- <span class="text-graphite mx-4">{{ page.author }}</span>
9
- <span class="text-graphite">{{ page.date | date: "%-d %b '%y" }}</span>
10
- </div>
11
- <h2 class="mb-6 mt-0 desktop:text-h4 text-h5 font-bold">{{page.title}}</h2>
12
- <div class="font-serif font-thin post">{{ content }}</div>
13
- </div>
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="px-4 py-2 desktop:px-0">
6
+ <div>
7
+ <span class="text-grey/50">0644</span>
8
+ <span class="mx-4 text-green">{{ page.author }}</span>
9
+ <span class="text-graphite">{{ page.date | date: "%-d %b '%y" }}</span>
10
+ </div>
11
+ <div class="mb-6 mt-0 desktop:text-h4 text-h5 font-bold">{{page.title}}</div>
12
+ <div class="font-sans post">{{ content }}</div>
13
+ </div>
@@ -0,0 +1,79 @@
1
+ /* source https://github.com/spsarolkar/rouge-theme-preview/blob/gh-pages/css/syntax-base16.solarized.light.css */
2
+
3
+ .highlight table td { padding: 5px; }
4
+ .highlight table pre { margin: 0; }
5
+ .highlight, .highlight .w {
6
+ color: #586e75;
7
+ }
8
+ .highlight .err {
9
+ color: #002b36;
10
+ background-color: #dc322f;
11
+ }
12
+ .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
13
+ color: #657b83;
14
+ }
15
+ .highlight .cp {
16
+ color: #b58900;
17
+ }
18
+ .highlight .nt {
19
+ color: #b58900;
20
+ }
21
+ .highlight .o, .highlight .ow {
22
+ color: #93a1a1;
23
+ }
24
+ .highlight .p, .highlight .pi {
25
+ color: #93a1a1;
26
+ }
27
+ .highlight .gi {
28
+ color: #859900;
29
+ }
30
+ .highlight .gd {
31
+ color: #dc322f;
32
+ }
33
+ .highlight .gh {
34
+ color: #268bd2;
35
+ background-color: #002b36;
36
+ font-weight: bold;
37
+ }
38
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
39
+ color: #6c71c4;
40
+ }
41
+ .highlight .kc {
42
+ color: #cb4b16;
43
+ }
44
+ .highlight .kt {
45
+ color: #cb4b16;
46
+ }
47
+ .highlight .kd {
48
+ color: #cb4b16;
49
+ }
50
+ .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
51
+ color: #859900;
52
+ }
53
+ .highlight .sr {
54
+ color: #2aa198;
55
+ }
56
+ .highlight .si {
57
+ color: #d33682;
58
+ }
59
+ .highlight .se {
60
+ color: #d33682;
61
+ }
62
+ .highlight .nn {
63
+ color: #b58900;
64
+ }
65
+ .highlight .nc {
66
+ color: #b58900;
67
+ }
68
+ .highlight .no {
69
+ color: #b58900;
70
+ }
71
+ .highlight .na {
72
+ color: #268bd2;
73
+ }
74
+ .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
75
+ color: #859900;
76
+ }
77
+ .highlight .ss {
78
+ color: #859900;
79
+ }