jekyll-bhautiki 0.1.0 → 0.1.1

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: 5be72193dd25478f089c413bb2a53726768f75308d984dd351e58ed049eacb18
4
- data.tar.gz: 5861753fc11ae409b1ca4fc333ac21d894d4851d88b44e7833833b5c95ace67b
3
+ metadata.gz: 841eee1ae66d61de12f3415e0d0f8f1830215b3e21a5ecf69b71e62ec1c46386
4
+ data.tar.gz: a4b71acb20121d6c491ddd43d7b6b7f91a9c5c60feddd5a46da0b78949c7b993
5
5
  SHA512:
6
- metadata.gz: 4a55720191706fc36ed40b42743f21ca8ac9e2a968798c4bac9cf4c5ec675f6ff922e34bbc4e4d11d5d092dcf5bfa05464c4c17ef8cafa6bff378bff9ddd1177
7
- data.tar.gz: e08ce3258fa96815857917a10ac4fab68e4e8244ef4da1129778b09f53b3a4d3368957463b21d1ee47d4f8630ac8662a06adb682dbb858e69c611c65f6daaed6
6
+ metadata.gz: 1215a9266211061ad1e1ca997208d2ee241cf4ceb085db48fa2f9ef4f115b8c0a1cdeb755f01f7c8f3bd2418e36e6c5bad96ce480a0c5dca26428567a010eb86
7
+ data.tar.gz: 6f9d0029096406e91ce2ab9b069a62b15f8ffabc12b889541f1b6d9cd8d8bdba416c8e47290441d8b2b705da8a8cf29c83da8f9e4ea77387c677f2a546af3e27
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Physics inspired feature-rich Jekyll theme with math support.
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/jekyll-bhautiki.svg)](https://badge.fury.io/rb/jekyll-bhautiki)
6
+
7
+ [![Demo](https://i.ibb.co/f1Wn19m/jekyll-bhautiki.jpg)](https://ibb.co/TvGbv1z)
8
+
5
9
  > I will use this theme to eventually upgrade my personal blog. I looked at many themes that are already available, but I reckoned that most of them would require significant overhauls to fit my bill. Moreover, I feel that it would be fun maintaining my own theme for my own blog.
6
10
 
7
11
  ## Development
@@ -29,9 +33,15 @@ npm install
29
33
  # before running parcel build.
30
34
  npm run build
31
35
 
36
+ # Update Changelog.
37
+ npm run log
38
+ # Remember to change the version number in both:
39
+ # - The jekyll-bhautiki.gemspec (for release)
40
+ # - package.json (for changelog)
41
+
32
42
  ```
33
43
 
34
- Install ruby. Use `rbenv` if a multiple versions of ruby need to be present on development system.
44
+ Install ruby. Use `rbenv`, if multiple versions of ruby need to be present on development system.
35
45
 
36
46
  ```shell
37
47
 
@@ -83,17 +93,17 @@ The **Navbar** and Footer is static.
83
93
 
84
94
  #### Home
85
95
 
86
- The **Header** will contain a searchbar. Search is performed on request (for static pages; dynamically on server) on the blog articles. The **Sidebar** will contain an overview section and display picture along with socials. The **Posts** will list articles as cards.
96
+ The **Header** is supposed to contain a Searchbar. Search is performed on request (for static pages; dynamically on server) on the blog articles. The **Sidebar** is supposed to contain an overview section and display picture along with socials. The **Posts** is supposed to list articles as cards.
87
97
 
88
98
  #### Post
89
99
 
90
- The **Header** will contain the title of the post. The **Sidebar** with contain the contents/section names in faded manner.
100
+ The **Header** is supposed to contain the title of the post. The **Sidebar** is supposed to contain the contents/section names.
91
101
 
92
102
  #### Pages
93
103
 
94
- The **Header** will contain the title like in a post, but the **Sidebar** will contian an overview section just like in the home page.
104
+ The **Header** is supposed to contain the title, similar to a post, but the **Sidebar** is supposed to keep the overview section from the home page.
95
105
 
96
- #### Themes
106
+ #### Modes
97
107
 
98
108
  Space (dark) and Vintage Notebook (multicolor).
99
109
 
data/_config.yml CHANGED
@@ -55,8 +55,8 @@ plugins:
55
55
  - jekyll-archives
56
56
 
57
57
  # Analytics
58
- google_analytics:
59
- id:
58
+ analytics:
59
+ google:
60
60
 
61
61
  # Language
62
62
  lang: eng
@@ -146,4 +146,4 @@ jekyll-archives:
146
146
  permalinks:
147
147
  year: '/archive/:year/'
148
148
  tag: '/archive/tag/:name/'
149
- category: '/archive/category/:name/'
149
+ category: '/archive/category/:name/'
data/_data/messages.yml CHANGED
@@ -3,6 +3,7 @@ welcome:
3
3
 
4
4
  copyright:
5
5
  text: Some Rights Reserved.
6
+ url: https://creativecommons.org/licenses/by-nc-nd/4.0/
6
7
 
7
8
  toc:
8
9
  text: Contents
@@ -0,0 +1,9 @@
1
+ <!-- Google tag (gtag.js) -->
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google }}"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', '{{ site.analytics.google }}');
9
+ </script>
@@ -18,7 +18,7 @@
18
18
  {% if page.author %}
19
19
  <strong>{{- page.author -}}</strong>
20
20
  {% elsif page.authors %}
21
- <strong>{{- page.authors[0] -}}</strong> et. al.
21
+ <strong>{{- page.authors | first -}}</strong> et al.
22
22
  {% else %}
23
23
  <strong>{{- site.author.name -}}</strong>
24
24
  {% endif %}
@@ -30,7 +30,9 @@
30
30
 
31
31
  <div class="cell small-4 text-right">
32
32
  {% if page.layout == 'post' %}
33
+ <a href="{{ site.data.messages.copyright.url }}" target="_blank">
33
34
  {{- site.data.messages.copyright.text -}}
35
+ </a>
34
36
  {% endif %}
35
37
  </div>
36
38
 
data/_includes/head.html CHANGED
@@ -1,6 +1,15 @@
1
1
  <!-- Meta & Style -->
2
2
 
3
3
  <head>
4
+ {% if jekyll.environment == 'production' %}
5
+ <!-- GA. -->
6
+ {% if site.analytics.google %}
7
+ {% include extra/gtag.html %}
8
+ {% endif %}
9
+
10
+ <!-- Other measurement tools. -->
11
+ {% endif %}
12
+
4
13
  <title>
5
14
  {% if page.title %}
6
15
  {{ page.title }} |
@@ -11,6 +11,6 @@
11
11
  margin-right: 24px
12
12
 
13
13
  @mixin feather-socials
14
- width: 16px
15
- height: 16px
14
+ width: 24px
15
+ height: 24px
16
16
  stroke-width: 2px
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-bhautiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawan Mishra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-12 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -24,6 +24,76 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-seo-tag
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.8'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-archives
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jekyll-include-cache
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.2'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-feed
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.12'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.12'
27
97
  description:
28
98
  email:
29
99
  - pawanmsr@outlook.com
@@ -38,6 +108,7 @@ files:
38
108
  - _data/messages.yml
39
109
  - _data/sections.yml
40
110
  - _data/socials.yml
111
+ - _includes/extra/gtag.html
41
112
  - _includes/footer.html
42
113
  - _includes/head.html
43
114
  - _includes/header.html
@@ -104,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
175
  requirements:
105
176
  - - ">="
106
177
  - !ruby/object:Gem::Version
107
- version: '0'
178
+ version: '3.3'
108
179
  required_rubygems_version: !ruby/object:Gem::Requirement
109
180
  requirements:
110
181
  - - ">="