dev-portfolio-blog 0.1.10 → 0.2.0

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: a379058df4b6259715bb54359f0f7c7dc5d04858fd45ce8de3018907f1a9eeea
4
- data.tar.gz: 7207bbb7dceff9cf9f55f4a2b3ccaea90a5e85c92c9baeb4d872c5ad4fcc8ce2
3
+ metadata.gz: 3665ea4fb4a3bb77234907fbb42b12efa3644d11f6add1e070b55b793259fa0c
4
+ data.tar.gz: 50a84b31b1e26c79c6f778910a50f66d6fc55a1aad11c17f90dfb1735685c149
5
5
  SHA512:
6
- metadata.gz: b5c0d1168f29b5f0036f9f779ad61a7ba50afbba96bd04f419b0fdad41c74f041ec16e47cf5e59554ac8e3beb6d3446b3d4e331e4e1495be11dbf6e7bb176e81
7
- data.tar.gz: a7b3f7fc8ff46cbfcc3049ec75d7cdd0c4cd9d6f2e3e84702e68bf20ab2237c2ebe8795cb9c6f6d4d58f3da48a72fc85087a2973c9a76bfe4552f3917c7b8afc
6
+ metadata.gz: 266d9ad5ca322969f082bbbfde97dbb1a7c217c4767884eb53a2cd0f522eda90aebc968e59b9795cefb84963ac2d6326cc89e365d0ff8dfc433a98d048b6ed58
7
+ data.tar.gz: 6d894cf31353b689c456900c786cc5c2c34fd0a4d5699aa54d5a4fd40aed048617e8b610c570b9cc4fbe0b73b6d4babd8671cea2e44ceb006d15931637373795
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ ## 0.2.0 - 2026-06-21
4
+
5
+ - Add a reproducible Docker and Docker Compose development environment.
6
+ - Require Ruby 3.2 and Jekyll 4.4, with bounded dependency ranges.
7
+ - Show short, plain-text previews on the blog index.
8
+ - Remove the unused `jekyll-assets`, Sprockets, and Autoprefixer dependency stack.
9
+ - Replace deprecated Sass and minifier configuration.
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2020 Rohit Jain
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) 2020 Rohit Jain
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,191 +1,250 @@
1
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
2
- [![Gem Version](https://badge.fury.io/rb/dev-portfolio-blog.svg)](https://badge.fury.io/rb/dev-portfolio-blog)
3
- ![](https://ruby-gem-downloads-badge.herokuapp.com/dev-portfolio-blog)
4
-
5
- [![CodeFactor](https://www.codefactor.io/repository/github/rohitjain00/dev-portfolio-blog/badge)](https://www.codefactor.io/repository/github/rohitjain00/dev-portfolio-blog)
6
- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d0b9f1c23f564a8195a8588de7895c4c)](https://www.codacy.com/manual/rohitjain00/dev-portfolio-blog?utm_source=github.com&utm_medium=referral&utm_content=rohitjain00/dev-portfolio-blog&utm_campaign=Badge_Grade)
7
-
8
- [![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Frohitjain00%2Fdev-portfolio-blog&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
9
-
10
- ## Home pagespeed
11
-
12
- ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com&showStratLabel=true)
13
- ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com&strat=desktop&showStratLabel=true)
14
-
15
-
16
- ## Blog pagespeed
17
-
18
- ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com/blog&showStratLabel=true)
19
- ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com/blog&strat=desktop&showStratLabel=true)
20
-
21
-
22
-
23
- # dev-portfolio-blog
24
-
25
- This is a minimal jekyll theme for writing blogs and about yourself.
26
-
27
- ## features
28
- 1. Google Analytics
29
- 2. Many themes such as: Default, Solarized, and Sepia. All in light and dark modes.
30
- 3. Disqus comments
31
- 4. Categorization
32
- 5. Emojis Support
33
- 6. Highly optimized blog
34
- #### PageSpeed Insights
35
- * [Home](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftherohitjain.com)[(therohitjain.com)](https://therohitjain.com)
36
- * [Blog](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftherohitjain.com/blog/)[(therohitjain.com/blog/)](https://therohitjain.com/blog/)
37
- * [About](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftherohitjain.com/about/)[(therohitjain.com/about/)](https://therohitjain.com/about/)
38
-
39
-
40
- ## Desktop Preview
41
-
42
- ![Home Page](/screenshots/Home.png?raw=true "Home View of the website")
43
-
44
- ![Blog List Page](/screenshots/Blog.png?raw=true "Blog List of the website")
45
-
46
- ## Mobile Preview
47
-
48
- ![Home Page](/screenshots/Home-Mobile.png?raw=true "Home View of the website")
49
-
50
- ![Blog List Page](/screenshots/Blog-Mobile.png?raw=true "Blog List of the website")
51
-
52
-
53
- ## Installation
54
-
55
- Add this line to your Jekyll site's `Gemfile`:
56
-
57
- ```ruby
58
- gem "dev-portfolio-blog"
1
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
2
+ [![Gem Version](https://badge.fury.io/rb/dev-portfolio-blog.svg)](https://badge.fury.io/rb/dev-portfolio-blog)
3
+ ![](https://ruby-gem-downloads-badge.herokuapp.com/dev-portfolio-blog)
4
+
5
+ [![CodeFactor](https://www.codefactor.io/repository/github/rohitjain00/dev-portfolio-blog/badge)](https://www.codefactor.io/repository/github/rohitjain00/dev-portfolio-blog)
6
+ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d0b9f1c23f564a8195a8588de7895c4c)](https://www.codacy.com/manual/rohitjain00/dev-portfolio-blog?utm_source=github.com&utm_medium=referral&utm_content=rohitjain00/dev-portfolio-blog&utm_campaign=Badge_Grade)
7
+
8
+ [![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Frohitjain00%2Fdev-portfolio-blog&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
9
+
10
+ ## Home pagespeed
11
+
12
+ ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com&showStratLabel=true)
13
+ ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com&strat=desktop&showStratLabel=true)
14
+
15
+
16
+ ## Blog pagespeed
17
+
18
+ ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com/blog&showStratLabel=true)
19
+ ![GitHub PageSpeed](https://api.speedbadge.io/v1?url=therohitjain.com/blog&strat=desktop&showStratLabel=true)
20
+
21
+
22
+
23
+ # dev-portfolio-blog
24
+
25
+ This is a minimal jekyll theme for writing blogs and about yourself.
26
+
27
+ ## features
28
+ 1. Google Analytics
29
+ 2. Many themes such as: Default, Solarized, and Sepia. All in light and dark modes.
30
+ 3. Disqus comments
31
+ 4. Categorization
32
+ 5. Emojis Support
33
+ 6. Highly optimized blog
34
+ #### PageSpeed Insights
35
+ * [Home](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftherohitjain.com)[(therohitjain.com)](https://therohitjain.com)
36
+ * [Blog](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftherohitjain.com/blog/)[(therohitjain.com/blog/)](https://therohitjain.com/blog/)
37
+ * [About](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftherohitjain.com/about/)[(therohitjain.com/about/)](https://therohitjain.com/about/)
38
+
39
+
40
+ ## Desktop Preview
41
+
42
+ ![Home Page](/screenshots/Home.png?raw=true "Home View of the website")
43
+
44
+ ![Blog List Page](/screenshots/Blog.png?raw=true "Blog List of the website")
45
+
46
+ ## Mobile Preview
47
+
48
+ ![Home Page](/screenshots/Home-Mobile.png?raw=true "Home View of the website")
49
+
50
+ ![Blog List Page](/screenshots/Blog-Mobile.png?raw=true "Blog List of the website")
51
+
52
+
53
+ ## Installation
54
+
55
+ Add this line to your Jekyll site's `Gemfile`:
56
+
57
+ ```ruby
58
+ gem "dev-portfolio-blog"
59
+ ```
60
+
61
+ And add this line to your Jekyll site's `_config.yml`:
62
+
63
+ ```yaml
64
+ theme: dev-portfolio-blog
65
+ ```
66
+
67
+ And then execute:
68
+
69
+ $ bundle install
70
+
71
+ Or install it yourself as:
72
+
73
+ $ gem install dev-portfolio-blog
74
+
75
+ ## Usage
76
+
77
+ To start using the theme you either follow these steps or simply fork my repo https://github.com/rohitjain00/rohitjain00.github.io and update the files.
78
+
79
+ ### Recommended
80
+ Please use the theme as the plugin so that all the latest updated for this theme comes directly in your website.
81
+
82
+ #### Clone the branch `master` and change the theme accordingly.
83
+
84
+
85
+ ### Starting from the beginning:
86
+ Assuming that you started your first website based on `minima` theme from [here](https://jekyllrb.com/docs/)
87
+
88
+ 1. Add a `favicon.ico` to the root directory for favicon.
89
+
90
+ 2. Create `blog.md` in the root folder ans set its yaml parameters to
91
+
92
+ ```yaml
93
+ layout: blog
94
+ permalink: /blog/
95
+ title: [Blog Page Title]
96
+ pagination:
97
+ enabled: true
98
+ ```
99
+
100
+ 3. Change your `about.md` yaml parameters to following
101
+
102
+ ```yaml
103
+ layout: description
104
+ permalink: /about/
105
+ title: About
106
+ ```
107
+
108
+ 3. In the `index.md` file add
109
+
110
+ ```yaml
111
+ layout: home
112
+ home_text: Text
113
+ title: [Home Page Title]
114
+ ```
115
+
116
+ 4. Create a new `categories.md` file in root with following yaml parameters
117
+ ```yaml
118
+ layout: categories
119
+ permalink: /categories/
120
+ title: Categories
121
+ ```
122
+
123
+ 4. In the `_config.yml` file add following and change accordingly
124
+
125
+ Path is relative to the root directory
126
+ ```yaml
127
+ resume_url: [PATH_TO_RESUME]
128
+ author_name: [YOUR_NAME]
129
+ description: [SITE_DESCRIPTION]
130
+ url: [WEBSITE_URL]
131
+ google_analytics: '[google analytics Id]'
132
+ disqus:
133
+ shortname: [discus-shotname]
134
+ ```
135
+
136
+ ### Minifier
137
+
138
+ Visit [Jekyll-minifier](https://github.com/digitalsparky/jekyll-minifier) and add this to your `_config.yml` file to enable minifier.
139
+
140
+ ### Pagination
141
+
142
+ Visit [jekyll-paginate-v2](https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#site-configuration) and add this to your `_config.yml` file to enable pagination.
143
+
144
+ ### Check here [_config.yml](https://github.com/rohitjain00/rohitjain00.github.io/blob/site/_config.yml) for example config file.
145
+
146
+
147
+ ## Writing a new blog
148
+
149
+ Create a new folder `_posts` in root folder if not already exists.
150
+
151
+ 1. Create a new markdown file in the format `yyyy-mm-dd-postname.md`
152
+ 2. Make sure that disqus's shortname is valid.
153
+ 3. Add YAML configuration to the post. Set `description` to control the summary shown on the blog index.
154
+
155
+ ```yaml
156
+ ---
157
+ layout: post
158
+ comments: [true | false]
159
+ title: Hello World
160
+ categories: [category1, category2]
161
+ description: A short introduction to this post.
162
+ ---
163
+ Post Text.
164
+ ```
165
+
166
+ The blog index uses `description` when it is present. Otherwise, it shows a plain-text preview of the post excerpt, limited to 30 words. Individual post pages continue to display the complete post.
167
+
168
+ ## Troubleshooting
169
+ - ` Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes`
170
+ 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)
171
+
172
+
173
+ ## Contributing
174
+
175
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/rohitjain00/dev-portfolio-blog/.> 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.
176
+
177
+ ## Development
178
+
179
+ The project targets Ruby 3.2.0 and Jekyll 4.4. For a native setup, install Ruby and Node.js, then run `bundle install`.
180
+
181
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
182
+
183
+ ### Docker
184
+
185
+ Docker is the recommended setup because it provides the required Ruby and Node.js versions. With Docker Desktop running, build and start the development server:
186
+
187
+ ```sh
188
+ docker compose up --build
189
+ ```
190
+
191
+ Open `http://localhost:4000`. Source files are mounted into the container, so Jekyll rebuilds the site when they change. Stop the server with `Ctrl+C`; use `docker compose down` to remove the container.
192
+
193
+ To verify that the site compiles without starting the server, run:
194
+
195
+ ```sh
196
+ docker compose build
197
+ ```
198
+
199
+ The gem contains the files under `_layouts`, `_includes`, `_sass`, and `assets`, plus the README, license, and changelog. Update `spec.files` in `dev-portfolio-blog.gemspec` when adding another packaged directory.
200
+
201
+ ## Release
202
+
203
+ Version 0.2.0 adds the Docker development environment, Ruby 3.2 and Jekyll 4.4 support, short blog-index previews, bounded gem dependencies, and updated Sass and minifier configuration. See [CHANGELOG.md](CHANGELOG.md) for the release history.
204
+
205
+ Before releasing a new version, update the version in `dev-portfolio-blog.gemspec` and add its changes to `CHANGELOG.md`. Run a clean build and create the gem from the verified container:
206
+
207
+ ```sh
208
+ docker compose build --no-cache
209
+ docker compose run --rm --no-deps site gem build dev-portfolio-blog.gemspec
59
210
  ```
60
211
 
61
- And add this line to your Jekyll site's `_config.yml`:
212
+ Inspect the generated gem before publishing:
62
213
 
63
- ```yaml
64
- theme: dev-portfolio-blog
214
+ ```sh
215
+ docker compose run --rm --no-deps site gem specification ./dev-portfolio-blog-0.2.0.gem --yaml
65
216
  ```
66
217
 
67
- And then execute:
68
-
69
- $ bundle install
70
-
71
- Or install it yourself as:
72
-
73
- $ gem install dev-portfolio-blog
74
-
75
- ## Usage
76
-
77
- To start using the theme you either follow these steps or simply fork my repo https://github.com/rohitjain00/rohitjain00.github.io and update the files.
78
-
79
- ### Recommended
80
- Please use the theme as the plugin so that all the latest updated for this theme comes directly in your website.
81
-
82
- #### Clone the branch `master` and change the theme accordingly.
83
-
218
+ Commit the release, create an annotated version tag, and push both:
84
219
 
85
- ### Starting from the beginning:
86
- Assuming that you started your first website based on `minima` theme from [here](https://jekyllrb.com/docs/)
87
-
88
- 1. Add a `favicon.ico` to the root directory for favicon.
89
-
90
- 2. Create `blog.md` in the root folder ans set its yaml parameters to
91
-
92
- ```yaml
93
- layout: blog
94
- permalink: /blog/
95
- title: [Blog Page Title]
96
- pagination:
97
- enabled: true
98
- ```
99
-
100
- 3. Change your `about.md` yaml parameters to following
101
-
102
- ```yaml
103
- layout: description
104
- permalink: /about/
105
- title: About
220
+ ```sh
221
+ git add dev-portfolio-blog.gemspec CHANGELOG.md
222
+ git commit -m "Release version 0.2.0"
223
+ git tag -a v0.2.0 -m "Release version 0.2.0"
224
+ git push origin master
225
+ git push origin v0.2.0
106
226
  ```
107
227
 
108
- 3. In the `index.md` file add
109
-
110
- ```yaml
111
- layout: home
112
- home_text: Text
113
- title: [Home Page Title]
114
- ```
228
+ Sign in interactively so credentials and MFA codes are not stored in the repository or shell history:
115
229
 
116
- 4. Create a new `categories.md` file in root with following yaml parameters
117
- ```yaml
118
- layout: categories
119
- permalink: /categories/
120
- title: Categories
230
+ ```sh
231
+ docker run --rm -it -v "${PWD}:/app" -v "${HOME}/.gem:/root/.gem" -w /app ruby:3.2-bullseye gem signin
121
232
  ```
122
233
 
123
- 4. In the `_config.yml` file add following and change accordingly
124
-
125
- Path is relative to the root directory
126
- ```yaml
127
- resume_url: [PATH_TO_RESUME]
128
- author_name: [YOUR_NAME]
129
- description: [SITE_DESCRIPTION]
130
- url: [WEBSITE_URL]
131
- google_analytics: '[google analytics Id]'
132
- disqus:
133
- shortname: [discus-shotname]
134
- ```
135
-
136
- ### Minifier
137
-
138
- Visit [Jekyll-minifier](https://github.com/digitalsparky/jekyll-minifier) and add this to your `_config.yml` file to enable minifier.
139
-
140
- ### Pagination
141
-
142
- Visit [jekyll-paginate-v2](https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#site-configuration) and add this to your `_config.yml` file to enable pagination.
143
-
144
- ### Check here [_config.yml](https://github.com/rohitjain00/rohitjain00.github.io/blob/site/_config.yml) for example config file.
234
+ Publish the verified artifact using the saved RubyGems credentials:
145
235
 
146
-
147
- ## Writing a new blog
148
-
149
- Create a new folder `_posts` in root folder if not already exists.
150
-
151
- 1. Create a new markdown file in the format `yyyy-mm-dd-postname.md`
152
- 2. Make sure that disqus's shortname is valid.
153
- 3. Add yaml configuartion to the post
154
-
155
- ```yaml
156
- ---
157
- layout: post
158
- comments: [true | false]
159
- title: Hello World
160
- categories: [category1, category2]
161
- ---
162
- Post Text.
236
+ ```sh
237
+ docker run --rm -it -v "${PWD}:/app" -v "${HOME}/.gem:/root/.gem" -w /app ruby:3.2-bullseye gem push dev-portfolio-blog-0.2.0.gem
163
238
  ```
164
239
 
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
-
169
-
170
- ## Contributing
171
-
172
- Bug reports and pull requests are welcome on GitHub at <https://github.com/rohitjain00/dev-portfolio-blog/.> 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.
173
-
174
- ## Development
175
-
176
- To set up your environment to develop this theme, run `bundle install`.
177
-
178
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
179
-
180
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
181
- To add a custom directory to your theme-gem, please edit the regexp in `dev-portfolio-blog.gemspec` accordingly.
240
+ Never commit `.gem/credentials` or an API key. Confirm the published version at [RubyGems](https://rubygems.org/gems/dev-portfolio-blog).
182
241
 
183
242
  ### Read about the themes and how it's implemented [here](https://github.com/rohitjain00/dev-portfolio-blog/wiki/Theme-Management)
184
-
185
- ## License
186
-
187
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
188
-
189
- If you like my work, you can buy me a coffee here :smile:
190
-
191
- <a href="https://www.buymeacoffee.com/rohitjain00" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
243
+
244
+ ## License
245
+
246
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
247
+
248
+ If you like my work, you can buy me a coffee here :smile:
249
+
250
+ <a href="https://www.buymeacoffee.com/rohitjain00" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
@@ -1,9 +1,9 @@
1
- <!-- Global site tag (gtag.js) - Google Analytics -->
2
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
3
- <script>
4
- window.dataLayer = window.dataLayer || [];
5
- function gtag(){dataLayer.push(arguments);}
6
- gtag('js', new Date());
7
-
8
- gtag('config', '{{ site.google_analytics }}');
9
- </script>
1
+ <!-- Global site tag (gtag.js) - Google Analytics -->
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', '{{ site.google_analytics }}');
9
+ </script>
@@ -1,14 +1,14 @@
1
- <div id="disqus_thread"></div>
2
- <script>
3
- var disqus_config = function () {
4
- this.page.url = '{{ page.url | absolute_url }}';
5
- this.page.identifier = '{{ page.url | absolute_url }}';
6
- };
7
- (function() {
8
- var d = document, s = d.createElement('script');
9
- s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
10
- s.setAttribute('data-timestamp', +new Date());
11
- (d.head || d.body).appendChild(s);
12
- })();
13
- </script>
1
+ <div id="disqus_thread"></div>
2
+ <script>
3
+ var disqus_config = function () {
4
+ this.page.url = '{{ page.url | absolute_url }}';
5
+ this.page.identifier = '{{ page.url | absolute_url }}';
6
+ };
7
+ (function() {
8
+ var d = document, s = d.createElement('script');
9
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
10
+ s.setAttribute('data-timestamp', +new Date());
11
+ (d.head || d.body).appendChild(s);
12
+ })();
13
+ </script>
14
14
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
@@ -1,22 +1,22 @@
1
- <ul>
2
- <li>
3
- <a href = "{{ '/' | relative_url }}">
4
- Home
5
- </a>
6
- </li>
7
- <li>
8
- <a href = "{{ 'about/' | relative_url }}">
9
- About
10
- </a>
11
- </li>
12
- <li>
13
- <a href = "{{ 'blog/' | relative_url }}">
14
- Blog
15
- </a>
16
- </li>
17
- <li>
18
- <a href = "{{ site.resume_url | relative_url }}">
19
- Resume
20
- </a>
21
- </li>
1
+ <ul>
2
+ <li>
3
+ <a href = "{{ '/' | relative_url }}">
4
+ Home
5
+ </a>
6
+ </li>
7
+ <li>
8
+ <a href = "{{ 'about/' | relative_url }}">
9
+ About
10
+ </a>
11
+ </li>
12
+ <li>
13
+ <a href = "{{ 'blog/' | relative_url }}">
14
+ Blog
15
+ </a>
16
+ </li>
17
+ <li>
18
+ <a href = "{{ site.resume_url | relative_url }}">
19
+ Resume
20
+ </a>
21
+ </li>
22
22
  </ul>