dev-portfolio-blog 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0de55e7c3e8526383f45882825764623a4fc6bad8bf0fc85797bdf9f97478419
4
- data.tar.gz: b53a9c97c8694a36577efc9e655fb80837698f5db9769d156e4e4c5dc7516446
3
+ metadata.gz: a379058df4b6259715bb54359f0f7c7dc5d04858fd45ce8de3018907f1a9eeea
4
+ data.tar.gz: 7207bbb7dceff9cf9f55f4a2b3ccaea90a5e85c92c9baeb4d872c5ad4fcc8ce2
5
5
  SHA512:
6
- metadata.gz: ad3235d3f5e7ca36a8782f1c3d8758dcf5a0cc6a482d7011d4bd290402ce4e6300dd9fa5daefaa864f9c6f7c28f6e43e4c73c81e92ab77cecc414a50278a671c
7
- data.tar.gz: 4fe40435955c13ef723194ef1139a9f940ee7bd0cdabe0c6e136113cd4c5bcddd86d689f47b976cc40dbd91cbe1087d5a2e7d028cded8406c78df3fcbc66d6d1
6
+ metadata.gz: b5c0d1168f29b5f0036f9f779ad61a7ba50afbba96bd04f419b0fdad41c74f041ec16e47cf5e59554ac8e3beb6d3446b3d4e331e4e1495be11dbf6e7bb176e81
7
+ data.tar.gz: a7b3f7fc8ff46cbfcc3049ec75d7cdd0c4cd9d6f2e3e84702e68bf20ab2237c2ebe8795cb9c6f6d4d58f3da48a72fc85087a2973c9a76bfe4552f3917c7b8afc
data/README.md CHANGED
@@ -26,7 +26,7 @@ This is a minimal jekyll theme for writing blogs and about yourself.
26
26
 
27
27
  ## features
28
28
  1. Google Analytics
29
- 2. Dark mode
29
+ 2. Many themes such as: Default, Solarized, and Sepia. All in light and dark modes.
30
30
  3. Disqus comments
31
31
  4. Categorization
32
32
  5. Emojis Support
@@ -162,6 +162,10 @@ categories: [category1, category2]
162
162
  Post Text.
163
163
  ```
164
164
 
165
+ ## Troubleshooting
166
+ - ` Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes`
167
+ Node JS is missing from your system. In ubuntu install using `sudo apt-get install nodejs` or refer to [this](https://stackoverflow.com/questions/9202324/execjs-could-not-find-a-javascript-runtime-but-execjs-and-therubyracer-are-in)
168
+
165
169
 
166
170
  ## Contributing
167
171
 
data/_layouts/post.html CHANGED
@@ -14,7 +14,7 @@ layout: description
14
14
  {% assign categories = page.categories %}
15
15
  {% endif %}
16
16
  {% for category in categories %}
17
- <a href="{{site.url}}/categories/#{{category|slugize}}">{{category}}</a>
17
+ <a href="{{site.baseurl}}/categories/#{{category|slugize}}">{{category}}</a>
18
18
  {% unless forloop.last %}&nbsp;{% endunless %}
19
19
  {% endfor %}
20
20
  </div>
@@ -24,4 +24,4 @@ layout: description
24
24
  {% if site.disqus.shortname and page.comments %}
25
25
  <hr>
26
26
  {% include disqus_comments.html %}
27
- {% endif %}
27
+ {% endif %}
data/_sass/main.scss CHANGED
@@ -1,17 +1,14 @@
1
1
  @mixin mediaQuery($point) {
2
- @if $point==phone-width {
2
+ @if $point == phone-width {
3
3
  @media (max-width: 480px) {
4
4
  @content;
5
5
  }
6
- }
7
-
8
- @else if $point==tablet-width {
6
+ } @else if $point == tablet-width {
9
7
  @media (max-width: 768px) {
10
8
  @content;
11
9
  }
12
10
  }
13
11
  }
14
-
15
12
  html {
16
13
  --primary-background-color: white;
17
14
  --primary-text-color: #222;
@@ -26,7 +23,6 @@ body {
26
23
  transition: background 0.1s ease-in, color 0.1s ease-in;
27
24
  // font-size: 120%;
28
25
  }
29
-
30
26
  .mid-section-home {
31
27
  text-align: center;
32
28
  display: flex;
@@ -38,21 +34,17 @@ body {
38
34
  height: 100vh;
39
35
  margin: auto;
40
36
  font-size: 1.5rem;
41
-
42
37
  @include mediaQuery(phone-width) {
43
38
  font-size: 1 rem;
44
-
45
39
  span {
46
40
  display: none;
47
41
  }
48
42
  }
49
-
50
43
  h1 {
51
44
  font-size: 3.5rem;
52
45
  font-weight: 600;
53
46
  }
54
47
  }
55
-
56
48
  .sub-heading {
57
49
  width: 80%;
58
50
  margin: 0 auto;
@@ -63,37 +55,30 @@ body {
63
55
  min-width: 270px;
64
56
  }
65
57
  }
66
-
67
58
  .summary-about-me {
68
59
  width: 50%;
69
60
  text-align: right;
70
61
  padding-right: 20px;
71
62
  }
72
-
73
63
  .nav-link {
74
64
  ul {
75
65
  padding-inline-start: 0;
76
66
  }
77
-
78
67
  li {
79
68
  display: block;
80
69
  text-align: left;
81
-
82
70
  a {
83
71
  text-decoration: none;
84
72
  color: var(--primary-text-color);
85
-
86
73
  &:hover {
87
74
  border-bottom: 2px solid var(--primary-text-color);
88
75
  color: var(--primary-text-color);
89
76
  }
90
77
  }
91
78
  }
92
-
93
79
  border-left: 2px solid var(--primary-text-color);
94
80
  width: 50%;
95
81
  padding-left: 20px;
96
-
97
82
  // .toNav {
98
83
  // }
99
84
  @include mediaQuery(phone-width) {
@@ -103,27 +88,22 @@ body {
103
88
  }
104
89
  }
105
90
  }
106
-
107
91
  .mid-section-cover {
108
92
  width: 60%;
109
93
  margin: 0 auto;
110
94
  margin-top: 50px;
111
-
112
95
  @include mediaQuery(tablet-width) {
113
96
  width: 70%;
114
97
  }
115
-
116
98
  @include mediaQuery(phone-width) {
117
99
  width: 95%;
118
100
  }
119
-
120
101
  nav {
121
102
  display: flex;
122
103
  flex-direction: row;
123
104
  justify-content: space-between;
124
105
  flex-wrap: wrap;
125
106
  border-bottom: 2px solid var(--primary-text-color);
126
-
127
107
  h1 {
128
108
  // align-self: flex-start;
129
109
  font-size: 40px;
@@ -131,7 +111,6 @@ body {
131
111
  text-align: left;
132
112
  margin: 10px;
133
113
  }
134
-
135
114
  ul {
136
115
  display: flex;
137
116
  flex-direction: row;
@@ -140,114 +119,93 @@ body {
140
119
  align-items: center;
141
120
  flex-grow: 5;
142
121
  padding-inline-start: 0;
143
-
144
122
  li {
145
123
  padding: 0 20px;
146
124
  list-style-type: none;
147
-
148
125
  a {
149
126
  text-decoration: none;
150
127
  color: var(--primary-text-color);
151
-
152
128
  &:hover {
153
129
  border-bottom: 2px solid var(--primary-text-color);
154
130
  color: var(--primary-text-color);
155
131
  }
156
132
  }
157
-
158
133
  @include mediaQuery(phone-width) {
159
134
  text-align: center;
160
135
  padding: 0 10px;
161
136
  }
162
137
  }
163
138
  }
164
-
165
139
  @include mediaQuery(tablet-width) {
166
140
  flex-direction: column;
167
141
  justify-content: center;
168
142
  align-items: center;
169
-
170
143
  ul {
171
144
  justify-content: center;
172
145
  }
173
-
174
146
  h1 {
175
147
  text-align: center;
176
148
  }
177
149
  }
178
150
  }
179
-
180
151
  .sub-mid-section-cover {
181
152
  width: 100%;
182
153
  margin: 0 auto;
183
154
  overflow: hidden;
184
-
185
155
  img {
186
156
  max-width: 100%;
187
157
  }
188
-
189
158
  a {
190
159
  color: var(--primary-text-color);
191
-
192
- nav {
160
+ nav {
193
161
  display: flex;
194
162
  flex-direction: row;
195
163
  justify-content: space-between;
196
164
  flex-wrap: wrap;
197
- border-bottom: 2px solid var(--primary-text-color);
198
-
165
+ border-bottom: 2px solid var(--primary-text-color);
199
166
  h1 {
200
- // align-self: flex-start;
201
- font-size: 40px;
202
- flex-grow: 2;
203
- text-align: left;
204
- margin: 10px;
167
+ // align-self: flex-start;
168
+ font-size: 40px;
169
+ flex-grow: 2;
170
+ text-align: left;
171
+ margin: 10px;
205
172
  }
206
-
207
173
  ul {
208
- display: flex;
209
- flex-direction: row;
210
- flex-wrap: wrap;
211
- justify-content: flex-end;
212
- align-items: center;
213
- flex-grow: 5;
214
- padding-inline-start: 0;
215
-
216
- li {
217
- padding: 0 20px;
218
- list-style-type: none;
219
-
220
- a {
221
- text-decoration: none;
222
- color: var(--primary-text-color);
223
-
224
- &:hover {
225
- border-bottom: 2px solid var(--primary-text-color);
226
- color: var(--primary-text-color);
227
- }
174
+ display: flex;
175
+ flex-direction: row;
176
+ flex-wrap: wrap;
177
+ justify-content: flex-end;
178
+ align-items: center;
179
+ flex-grow: 5;
180
+ padding-inline-start: 0;
181
+ li {
182
+ padding: 0 20px;
183
+ list-style-type: none;
184
+ a {
185
+ text-decoration : none;
186
+ color: var(--primary-text-color);
187
+ &:hover {
188
+ border-bottom: 2px solid var(--primary-text-color);
189
+ color: var(--primary-text-color);
190
+ }
191
+ }
192
+ @include mediaQuery(phone-width) {
193
+ text-align: center;
194
+ padding: 0 10px;
195
+ }
228
196
  }
229
-
230
- @include mediaQuery(phone-width) {
231
- text-align: center;
232
- padding: 0 10px;
233
- }
234
- }
235
197
  }
236
-
237
198
  @include mediaQuery(tablet-width) {
238
- flex-direction: column;
239
- justify-content: center;
240
- align-items: center;
241
-
242
- ul {
199
+ flex-direction: column;
243
200
  justify-content: center;
244
- }
245
-
246
- h1 {
247
- text-align: center;
248
- }
201
+ align-items: center;
202
+ ul {
203
+ justify-content: center;
204
+ }
205
+ h1 {
206
+ text-align: center;
207
+ }
249
208
  }
250
- }
251
209
  }
252
210
  }
253
211
  }
@@ -261,7 +219,6 @@ body {
261
219
  border-radius: 5px;
262
220
  border: 0;
263
221
  }
264
-
265
222
  .post-footer {
266
223
  margin-top: 50px;
267
224
  display: flex;
@@ -269,23 +226,18 @@ body {
269
226
  justify-content: space-between;
270
227
  align-items: center;
271
228
  }
272
-
273
229
  .blog-list {
274
230
  list-style: none;
275
231
  padding-left: 0;
276
-
277
232
  li {
278
233
  margin-bottom: 50px;
279
-
280
234
  .excerpt {
281
235
  font-size: 15px;
282
236
  }
283
-
284
237
  .blog-heading {
285
238
  font-size: 25px;
286
239
  font-weight: 800;
287
240
  }
288
-
289
241
  .date {
290
242
  font-size: 15px;
291
243
  opacity: 0.8;
@@ -293,18 +245,15 @@ body {
293
245
  }
294
246
  }
295
247
  }
296
-
297
248
  .blogPage-categoryList {
298
249
  ul {
299
250
  list-style-type: none;
300
251
  display: flex;
301
252
  flex-wrap: wrap;
302
253
  padding-left: 0;
303
-
304
254
  li {
305
255
  margin: 10px 10px;
306
256
  }
307
-
308
257
  li:first-child {
309
258
  margin-left: 0;
310
259
  }
@@ -312,11 +261,12 @@ body {
312
261
  }
313
262
 
314
263
 
315
- //custom md tags styles
316
- div.highlight {
317
- background: var(--primary-highlight-color);
318
- padding: 5px;
319
- border-radius: 5px;
320
- margin: 10px 0px;
321
- overflow: auto;
264
+ //custom md tags styles
265
+ div.highlight {
266
+ background: var(--primary-highlight-color);
267
+ padding: 5px;
268
+ border-radius: 5px;
269
+ margin: 10px 0px;
270
+ overflow: auto;
271
+ }
322
272
  }
data/assets/js/theme.js CHANGED
@@ -1,12 +1,32 @@
1
1
  const themeMap = {
2
- 'default': {
2
+ 'default-light': {
3
3
  'background-color': 'white',
4
4
  'text-color': '#222',
5
5
  'highlight-color': '#eee'
6
6
  },
7
- 'dark': {
7
+ 'default-dark': {
8
8
  'background-color': '#222',
9
9
  'text-color': 'white',
10
10
  'highlight-color': '#2e2e2e'
11
+ },
12
+ 'solarized-light': {
13
+ 'background-color': '#fdf6e3',
14
+ 'text-color': '#657b83',
15
+ 'highlight-color': '#eee8d5'
16
+ },
17
+ 'solarized-dark': {
18
+ 'background-color': '#002b36',
19
+ 'text-color': '#839496',
20
+ 'highlight-color': '#073642'
21
+ },
22
+ 'sepia-light': {
23
+ 'background-color': '#f4ecd8',
24
+ 'text-color': '#5b4636',
25
+ 'highlight-color': '#e4d5b7'
26
+ },
27
+ 'sepia-dark': {
28
+ 'background-color': '#3e2c1c',
29
+ 'text-color': '#d8c3a5',
30
+ 'highlight-color': '#4b382a'
11
31
  }
12
32
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev-portfolio-blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rohit Jain
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2025-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.8.7
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.8.7
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-seo-tag
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,62 +80,6 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: jekyll-minifier
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: jekyll-assets
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: sprockets
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '3.7'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '3.7'
125
- - !ruby/object:Gem::Dependency
126
- name: autoprefixer-rails
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :runtime
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
83
  - !ruby/object:Gem::Dependency
140
84
  name: jemoji
141
85
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +122,7 @@ dependencies:
178
122
  - - ">="
179
123
  - !ruby/object:Gem::Version
180
124
  version: '0'
181
- description:
125
+ description:
182
126
  email:
183
127
  - rohitjain18005@gmail.com
184
128
  executables: []
@@ -209,7 +153,7 @@ homepage: https://github.com/rohitjain00/dev-portfolio-blog
209
153
  licenses:
210
154
  - MIT
211
155
  metadata: {}
212
- post_install_message:
156
+ post_install_message:
213
157
  rdoc_options: []
214
158
  require_paths:
215
159
  - lib
@@ -224,8 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
168
  - !ruby/object:Gem::Version
225
169
  version: '0'
226
170
  requirements: []
227
- rubygems_version: 3.1.2
228
- signing_key:
171
+ rubygems_version: 3.4.20
172
+ signing_key:
229
173
  specification_version: 4
230
174
  summary: This is a simple efficient blog and portfolio
231
175
  test_files: []