jekyll-calculus-theme 0.2.0 β 0.3.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 +4 -4
- data/README.md +90 -3
- data/_includes/head.html +5 -25
- data/_includes/inline.scss +1 -1
- data/_layouts/post.html +1 -1
- data/_sass/_main.scss +3 -1
- metadata +97 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c82dcf4bf7c97a3fcf5b240a06ab3d58c73bed298a700c710d5d180e5f032f3
|
|
4
|
+
data.tar.gz: 0777f9c412835b18252df3e81384c633afad36c030ae50d834cd9cda530a3a96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 107fcb77644d6a930ace6b60335c95f097cd314d85944f0231988144598aa6c15fcd534d8b025706262553c2ff091e2a33dc268470aa709109c7ff9a7c5d9ca9
|
|
7
|
+
data.tar.gz: 42b018c9f8cabf28a0d73e83901af44113f3e739c38380a46ef504d751491ad794864c1152324330889fbd7902c58ec6910adc1ef831be2ac9d63aacda8acb9b
|
data/README.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
This is a minimalistic theme for personal blogs, with support for Malayalam font (Gayathri). It is built on top of [Gesko](https://github.com/P0WEX/Gesko) theme.
|
|
4
4
|
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- π¨ Minimal and clean design
|
|
8
|
+
- π Dark mode support
|
|
9
|
+
- π± Fully responsive
|
|
10
|
+
- π SEO optimized with jekyll-seo-tag
|
|
11
|
+
- π‘ RSS feed with jekyll-feed
|
|
12
|
+
- πΊοΈ Automatic sitemap generation
|
|
13
|
+
- π€ Malayalam font support (Gayathri)
|
|
14
|
+
- β‘ Fast and lightweight
|
|
5
15
|
|
|
6
16
|
## Installation
|
|
7
17
|
|
|
@@ -15,11 +25,16 @@ And add this line to your Jekyll site's `_config.yml`:
|
|
|
15
25
|
|
|
16
26
|
```yaml
|
|
17
27
|
theme: jekyll-calculus-theme
|
|
28
|
+
|
|
29
|
+
plugins:
|
|
30
|
+
- jekyll-feed
|
|
31
|
+
- jekyll-seo-tag
|
|
32
|
+
- jekyll-sitemap
|
|
18
33
|
```
|
|
19
34
|
|
|
20
35
|
And then execute:
|
|
21
36
|
|
|
22
|
-
$ bundle
|
|
37
|
+
$ bundle install
|
|
23
38
|
|
|
24
39
|
Or install it yourself as:
|
|
25
40
|
|
|
@@ -27,11 +42,83 @@ Or install it yourself as:
|
|
|
27
42
|
|
|
28
43
|
## Usage
|
|
29
44
|
|
|
30
|
-
|
|
45
|
+
### Configuration
|
|
46
|
+
|
|
47
|
+
Add these settings to your `_config.yml`:
|
|
48
|
+
|
|
49
|
+
```yaml
|
|
50
|
+
title: Your Blog Title
|
|
51
|
+
description: Your blog description
|
|
52
|
+
author: Your Name
|
|
53
|
+
email: your.email@example.com
|
|
54
|
+
url: https://yourdomain.com
|
|
55
|
+
baseurl: "" # subpath of your site, e.g. /blog
|
|
56
|
+
|
|
57
|
+
# Build settings
|
|
58
|
+
theme: jekyll-calculus-theme
|
|
59
|
+
|
|
60
|
+
# Plugins
|
|
61
|
+
plugins:
|
|
62
|
+
- jekyll-feed
|
|
63
|
+
- jekyll-seo-tag
|
|
64
|
+
- jekyll-sitemap
|
|
65
|
+
|
|
66
|
+
# Theme settings
|
|
67
|
+
show_excerpts: true
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Layouts
|
|
71
|
+
|
|
72
|
+
The theme includes the following layouts:
|
|
73
|
+
|
|
74
|
+
- `default` - Base layout with theme toggle
|
|
75
|
+
- `home` - Homepage layout
|
|
76
|
+
- `page` - Page layout
|
|
77
|
+
- `post` - Blog post layout
|
|
78
|
+
- `about` - About page layout
|
|
79
|
+
- `tag` - Tag archive layout
|
|
80
|
+
|
|
81
|
+
### Creating Posts
|
|
82
|
+
|
|
83
|
+
Create posts in the `_posts` directory with the following format:
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
---
|
|
87
|
+
layout: post
|
|
88
|
+
title: "Your Post Title"
|
|
89
|
+
date: 2025-12-09
|
|
90
|
+
tags: [tag1, tag2]
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
Your post content here...
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Troubleshooting
|
|
97
|
+
|
|
98
|
+
### Native Extension Build Errors
|
|
99
|
+
|
|
100
|
+
If you encounter errors building native extensions (bigdecimal, json, etc.), you need to install Ruby development headers:
|
|
101
|
+
|
|
102
|
+
**Fedora/RHEL:**
|
|
103
|
+
```bash
|
|
104
|
+
sudo dnf install ruby-devel gcc make
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Ubuntu/Debian:**
|
|
108
|
+
```bash
|
|
109
|
+
sudo apt-get install ruby-dev build-essential
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**macOS:**
|
|
113
|
+
```bash
|
|
114
|
+
xcode-select --install
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
After installing the development tools, run `bundle install` again.
|
|
31
118
|
|
|
32
119
|
## Contributing
|
|
33
120
|
|
|
34
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/jainbasil/calculus.
|
|
121
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/jainbasil/calculus. Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
|
|
35
122
|
|
|
36
123
|
## Development
|
|
37
124
|
|
data/_includes/head.html
CHANGED
|
@@ -1,36 +1,16 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
4
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
5
|
+
|
|
6
|
+
{% seo %}
|
|
4
7
|
|
|
5
8
|
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/syntax.css">
|
|
6
9
|
<link rel="preconnect" href="https://cdnjs.cloudflare.com">
|
|
7
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/
|
|
8
|
-
|
|
9
|
-
<title>
|
|
10
|
-
{% if page.tag or page.title %}
|
|
11
|
-
{% if page.tag %}
|
|
12
|
-
{{ page.tag | escape }}
|
|
13
|
-
{% else %}
|
|
14
|
-
{{ page.title | escape }}
|
|
15
|
-
{% endif %}
|
|
16
|
-
-
|
|
17
|
-
{% endif %}
|
|
18
|
-
{% if paginator and paginator.page and paginator.total_pages > 1 and paginator.page > 1 %}
|
|
19
|
-
Page {{ paginator.page }} of {{ paginator.total_pages }} -
|
|
20
|
-
{% endif %}
|
|
21
|
-
{{ site.title | escape }}
|
|
22
|
-
{% unless page.tag or page.title %}
|
|
23
|
-
- {{ site.description | escape }}
|
|
24
|
-
{% endunless %}
|
|
25
|
-
</title>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
10
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer">
|
|
29
11
|
|
|
30
12
|
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.png">
|
|
31
|
-
|
|
32
|
-
<link rel="alternate" type="application/json" title="{{ site.title }}" href="{{ "/feed.json" | prepend: site.baseurl | prepend: site.url }}" />
|
|
33
|
-
<link rel="sitemap" type="application/xml" title="sitemap" href="{{ site.baseurl }}/sitemap.xml" />
|
|
13
|
+
{% feed_meta %}
|
|
34
14
|
|
|
35
15
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
36
16
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
data/_includes/inline.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "main";
|
data/_layouts/post.html
CHANGED
|
@@ -12,7 +12,7 @@ layout: default
|
|
|
12
12
|
</div>
|
|
13
13
|
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%b %-d, %Y" }}</time>
|
|
14
14
|
<h1 class="title">{{ page.title }}</h1>
|
|
15
|
-
<span class="meta">
|
|
15
|
+
<span class="meta">tags:
|
|
16
16
|
{% for tag in page.tags %}
|
|
17
17
|
<a href="{{ site.baseurl }}/tag/{{tag}}">{{tag}}</a>{% unless forloop.last %}, {% endunless %}{% endfor %}</span>
|
|
18
18
|
{{ content }}
|
data/_sass/_main.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
|
|
1
3
|
*,
|
|
2
4
|
:after,
|
|
3
5
|
:before {
|
|
@@ -361,7 +363,7 @@ main {
|
|
|
361
363
|
color: #a9a9a9;
|
|
362
364
|
|
|
363
365
|
&:hover {
|
|
364
|
-
color:
|
|
366
|
+
color: color.scale(#a9a9a9, $lightness: -25%);
|
|
365
367
|
transition: color 0.3s ease-in;
|
|
366
368
|
}
|
|
367
369
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-calculus-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jain Basil Aliyas
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: jekyll
|
|
@@ -16,15 +15,98 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '4.
|
|
18
|
+
version: '4.3'
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '4.
|
|
27
|
-
|
|
25
|
+
version: '4.3'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: jekyll-feed
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0.17'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0.17'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: jekyll-seo-tag
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '2.8'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '2.8'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: jekyll-sitemap
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '1.4'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '1.4'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: logger
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '1.6'
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '1.6'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: bundler
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - "~>"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '2.0'
|
|
89
|
+
type: :development
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '2.0'
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: rake
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - "~>"
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '13.0'
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - "~>"
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '13.0'
|
|
28
110
|
email:
|
|
29
111
|
- jainbasil@gmail.com
|
|
30
112
|
executables: []
|
|
@@ -50,8 +132,13 @@ files:
|
|
|
50
132
|
homepage: https://jainbasil.in
|
|
51
133
|
licenses:
|
|
52
134
|
- MIT
|
|
53
|
-
metadata:
|
|
54
|
-
|
|
135
|
+
metadata:
|
|
136
|
+
bug_tracker_uri: https://github.com/jainbasil/calculus/issues
|
|
137
|
+
changelog_uri: https://github.com/jainbasil/calculus/blob/main/CHANGELOG.md
|
|
138
|
+
documentation_uri: https://github.com/jainbasil/calculus/blob/main/README.md
|
|
139
|
+
homepage_uri: https://jainbasil.in
|
|
140
|
+
source_code_uri: https://github.com/jainbasil/calculus
|
|
141
|
+
wiki_uri: https://github.com/jainbasil/calculus/wiki
|
|
55
142
|
rdoc_options: []
|
|
56
143
|
require_paths:
|
|
57
144
|
- lib
|
|
@@ -59,15 +146,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
59
146
|
requirements:
|
|
60
147
|
- - ">="
|
|
61
148
|
- !ruby/object:Gem::Version
|
|
62
|
-
version:
|
|
149
|
+
version: 3.0.0
|
|
63
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
151
|
requirements:
|
|
65
152
|
- - ">="
|
|
66
153
|
- !ruby/object:Gem::Version
|
|
67
154
|
version: '0'
|
|
68
155
|
requirements: []
|
|
69
|
-
rubygems_version: 3.
|
|
70
|
-
signing_key:
|
|
156
|
+
rubygems_version: 3.6.9
|
|
71
157
|
specification_version: 4
|
|
72
158
|
summary: Minimalistic theme for personal blogs with Gayathri font support (Malayalam)
|
|
73
159
|
test_files: []
|