jekyll-theme-easygoing 0.1.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.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +50 -0
  4. data/_config.yml +34 -0
  5. data/_includes/bio.html +0 -0
  6. data/_includes/footer.html +7 -0
  7. data/_includes/head.html +13 -0
  8. data/_includes/nav.html +30 -0
  9. data/_layouts/base.html +15 -0
  10. data/_layouts/default.html +5 -0
  11. data/_layouts/page.html +8 -0
  12. data/_layouts/post.html +21 -0
  13. data/assets/Capybara_2.jpg +0 -0
  14. data/assets/fonts/.DS_Store +0 -0
  15. data/assets/fonts/otf/Manrope-Bold.otf +0 -0
  16. data/assets/fonts/otf/Manrope-ExtraBold.otf +0 -0
  17. data/assets/fonts/otf/Manrope-ExtraLight.otf +0 -0
  18. data/assets/fonts/otf/Manrope-Light.otf +0 -0
  19. data/assets/fonts/otf/Manrope-Medium.otf +0 -0
  20. data/assets/fonts/otf/Manrope-Regular.otf +0 -0
  21. data/assets/fonts/otf/Manrope-SemiBold.otf +0 -0
  22. data/assets/fonts/ttf/Manrope-Bold.ttf +0 -0
  23. data/assets/fonts/ttf/Manrope-ExtraBold.ttf +0 -0
  24. data/assets/fonts/ttf/Manrope-ExtraLight.ttf +0 -0
  25. data/assets/fonts/ttf/Manrope-Light.ttf +0 -0
  26. data/assets/fonts/ttf/Manrope-Medium.ttf +0 -0
  27. data/assets/fonts/ttf/Manrope-Regular.ttf +0 -0
  28. data/assets/fonts/ttf/Manrope-SemiBold.ttf +0 -0
  29. data/assets/fonts/variable/.DS_Store +0 -0
  30. data/assets/fonts/variable/Manrope[wght].ttf +0 -0
  31. data/assets/fonts/variable/Manrope[wght].woff2 +0 -0
  32. data/assets/fonts/webfonts/Manrope-Bold.woff2 +0 -0
  33. data/assets/fonts/webfonts/Manrope-ExtraBold.woff2 +0 -0
  34. data/assets/fonts/webfonts/Manrope-ExtraLight.woff2 +0 -0
  35. data/assets/fonts/webfonts/Manrope-Light.woff2 +0 -0
  36. data/assets/fonts/webfonts/Manrope-Medium.woff2 +0 -0
  37. data/assets/fonts/webfonts/Manrope-Regular.woff2 +0 -0
  38. data/assets/fonts/webfonts/Manrope-SemiBold.woff2 +0 -0
  39. data/assets/style.css +289 -0
  40. metadata +91 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 20fb2e6101c6c902e623e71174cff32df54436ca8bbdc79c203e9d9ce882636a
4
+ data.tar.gz: 2b1606ab618d47ea8d9e648305bc0cea6e8a54d0846052618ae850301c9cae82
5
+ SHA512:
6
+ metadata.gz: 239df130a927b1e9b55cb49415ac962114909d8af8187925a2139245fea16f1eb09d080824e2cb28f2c24d2b4f217be129363bd82f49be341e86e8b7c8c31013
7
+ data.tar.gz: fdebf6e075f571bfbe6b00136c16516e0c973aac8f2901e96a2919bfecc2945add898397230c246e542fc1bf51621188cdbe093480e7ac43c8e55bdd7d6b722d
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 RyanxLoi
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 ADDED
@@ -0,0 +1,50 @@
1
+ # note-central
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's `Gemfile`:
12
+
13
+ ```ruby
14
+ gem "note-central"
15
+ ```
16
+
17
+ And add this line to your Jekyll site's `_config.yml`:
18
+
19
+ ```yaml
20
+ theme: note-central
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install note-central
30
+
31
+ ## Usage
32
+
33
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
34
+
35
+ ## Contributing
36
+
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/note-central. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
38
+
39
+ ## Development
40
+
41
+ To set up your environment to develop this theme, run `bundle install`.
42
+
43
+ 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.
44
+
45
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
46
+ To add a custom directory to your theme-gem, please edit the regexp in `note-central.gemspec` accordingly.
47
+
48
+ ## License
49
+
50
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml ADDED
@@ -0,0 +1,34 @@
1
+ title: "Easygoing"
2
+ subtitle: "Welcome to my blog"
3
+ description: "Blog description goes here"
4
+
5
+ exclude:
6
+ - _compress_images_cache.yml
7
+
8
+ footer: "Copyright: Ryan Loi"
9
+
10
+ imageoptim:
11
+ pngout: false
12
+ svgo: false
13
+ verbose: false
14
+
15
+ navigation:
16
+ - title: "Home"
17
+ url: "/"
18
+
19
+ - title: "Posts"
20
+ url: "/posts"
21
+
22
+ - title: "About"
23
+ url: "/about"
24
+
25
+ permalink: /:title
26
+
27
+ plugins:
28
+ - jekyll-seo-tag
29
+ - jekyll-paginate
30
+ - jekyll-compress-images
31
+ - jekyll-sitemap
32
+
33
+ paginate: 10
34
+ paginate_path: "/posts/:num"
File without changes
@@ -0,0 +1,7 @@
1
+ <footer class="text-center text-lg-start footer">
2
+
3
+ <div class="text-center p-3">
4
+ © {{ site.time | date: '%Y' }} {{ site.footer }}
5
+ </div>
6
+
7
+ </footer>
@@ -0,0 +1,13 @@
1
+ <head>
2
+ {% seo %}
3
+ <!-- Latest compiled and minified CSS -->
4
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT" crossorigin="anonymous">
5
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/js/bootstrap.bundle.min.js" integrity="sha384-j1CDi7MgGQ12Z7Qab0qlWQ/Qqz24Gc6BM0thvEMVjHnfYGF0rmFCozFSxQBxwHKO" crossorigin="anonymous"></script>
6
+
7
+
8
+ <link rel="preconnect" href="https://rsms.me/">
9
+ <link rel="stylesheet" href="https://rsms.me/inter/inter.css">
10
+
11
+ <!--style-->
12
+ <link rel="stylesheet" href="/assets/style.css">
13
+ </head>
@@ -0,0 +1,30 @@
1
+
2
+
3
+ <nav class="navbar navbar-expand-lg">
4
+ <div class="container">
5
+ <a class="navbar-brand" href="/">{{ site.title }}</a>
6
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
7
+ <span class="navbar-toggler-icon"></span>
8
+ </button>
9
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
10
+ <ul class="navbar-nav me-auto mb-2 mb-lg-0">
11
+ {% for nav in site.navigation %}
12
+ <li class="nav-item">
13
+ <a class="nav-link" aria-current="page" href="{{ nav.url }}">{{ nav.title }}</a>
14
+ </li>
15
+ {% endfor %}
16
+
17
+ </ul>
18
+
19
+ <!--
20
+ <form onSubmit="return lunr_search(document.getElementById('lunrsearch').value);" action="/search">
21
+ <p><input type="text" class="form-control" id="lunrsearch" name="q" maxlength="255" value="" placeholder="Search via Lunr.js" /></p>
22
+ </form>
23
+ -->
24
+
25
+
26
+
27
+ </div>
28
+ </div>
29
+ </nav>
30
+
@@ -0,0 +1,15 @@
1
+
2
+ {% include head.html %}
3
+
4
+ <body>
5
+
6
+
7
+
8
+ {% include nav.html %}
9
+
10
+
11
+ {{ content }}
12
+
13
+ {% include footer.html %}
14
+
15
+ </body>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="container mt-4">
6
+ {{ content }}
7
+ </div>
8
+
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="post-container container mt-4 mb-4">
6
+
7
+ <h1 class="post-title">{{ page.title }}</h1>
8
+ <time>{{ page.date | date: "%-d %B %Y" }} </time>
9
+
10
+ <img class="post-image" alt="{{ page.image_alt_text }}" src="{{ page.image }}" />
11
+
12
+ {{ content }}
13
+
14
+
15
+
16
+
17
+ </div>
18
+
19
+
20
+
21
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/assets/style.css ADDED
@@ -0,0 +1,289 @@
1
+ :root {
2
+ font-family: Inter, sans-serif;
3
+ font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
4
+
5
+ --primary: #172A3A;
6
+ --secondary: #324554;
7
+ }
8
+ @supports (font-variation-settings: normal) {
9
+ :root { font-family: InterVariable, sans-serif; }
10
+ }
11
+
12
+ h1, h2, h3, h4, h5, h6 {
13
+ font-family: InterVariable, sans-serif;
14
+ font-weight: 600;
15
+ line-height: 1.15em;
16
+ }
17
+
18
+ .bio {
19
+ background-color: var(--primary);
20
+ padding: 10rem;
21
+ }
22
+
23
+ .bio-subtitle{
24
+ color: #FFFFFF;
25
+ font-size: 1.6rem;
26
+ font-weight: 500;
27
+ text-align: center;
28
+ }
29
+
30
+ .bio-title{
31
+ color: #FFFFFF;
32
+ font-size: 3rem;
33
+ font-weight: 600;
34
+ text-align: center;
35
+ }
36
+
37
+ .big-text{
38
+ font-size: calc(1.325rem + .9vw);
39
+ font-weight: 500;
40
+ }
41
+
42
+ body {
43
+ min-height: 100vh;
44
+ margin: 0;
45
+ display: grid;
46
+ grid-template-rows: auto 1fr auto;
47
+ }
48
+
49
+ .body-container {
50
+ max-width: 1200px;
51
+ }
52
+
53
+ .footer {
54
+ width: 100%;
55
+ background-color: var(--primary);
56
+ color: #FFFFFF;
57
+ min-height: 50px;
58
+ }
59
+
60
+ img {
61
+ width: 100%;
62
+ }
63
+
64
+ h2 + p img, img + p h3{
65
+ padding-top: 16px;
66
+ }
67
+
68
+ .latest-posts-container {
69
+ width: 992px;
70
+ }
71
+
72
+ .latest-post-row{
73
+ padding: 4px;
74
+ }
75
+
76
+ .latest-posts-title{
77
+ color: var(--primary);
78
+ font-size: 2.6rem;
79
+ text-align: center;
80
+ }
81
+
82
+ li {
83
+ font-size: 1.1em;
84
+ line-height: 1.6em;
85
+ margin-top: 0.5em;
86
+ }
87
+
88
+ .more-posts-container{
89
+ border: solid 1px #000000;
90
+ border-radius: 8px;
91
+ padding: 0;
92
+ }
93
+
94
+ .navbar {
95
+ background-color: var(--primary);
96
+ }
97
+
98
+ .navbar-brand{
99
+ font-size: 1.6em;
100
+ font-weight: 600;
101
+ color: #FFFFFF;
102
+ }
103
+
104
+ .navbar-brand:hover{
105
+ color: #FFFFFF;
106
+ }
107
+
108
+ .navbar-toggler{
109
+ background-color: #FFFFFF;
110
+ }
111
+
112
+ .nav-link{
113
+ color: #FFFFFF;
114
+ }
115
+
116
+ .nav-link:hover{
117
+ color: #FFFFFF;
118
+ }
119
+
120
+ .nav-link:active {
121
+ color: #FFFFFF;
122
+ }
123
+
124
+ .navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
125
+ color: #FFFFFF;
126
+ }
127
+
128
+ .note-link {
129
+ font-size: 1.4rem;
130
+ color: #000;
131
+ text-decoration: none;
132
+ }
133
+
134
+ .note-link:hover{
135
+ text-decoration: underline;
136
+ }
137
+
138
+ .paginator-text{
139
+ padding: 12px 24px;
140
+ text-align: center;
141
+ margin: auto;
142
+ }
143
+
144
+ p + h2, p + h3{
145
+ padding-top: 24px;
146
+ }
147
+
148
+ .post-container{
149
+ max-width: 768px;
150
+ }
151
+
152
+ .post-image {
153
+ margin: 1em 0 0 0;
154
+ }
155
+
156
+ .post-block{
157
+ padding: 14px 0;
158
+ }
159
+
160
+ .post-link{
161
+ color: var(--primary);
162
+ text-decoration: none;
163
+ }
164
+
165
+ .post-link:hover{
166
+ text-decoration: underline;
167
+ }
168
+
169
+ .post-thumbnail-container {
170
+ min-width: 200px;
171
+ min-height: 200px;
172
+ }
173
+
174
+ .post-thumbnail{
175
+ width: 100%;
176
+ height: 100%;
177
+ border-radius: 8px;
178
+ object-fit: cover;
179
+ aspect-ratio: 3/2;
180
+ }
181
+
182
+ .post-title{
183
+ font-size: 3em;
184
+ }
185
+
186
+ .post-subtitle{
187
+ font-size: 2.4em;
188
+ font-weight: 200;
189
+ }
190
+
191
+ .primary-button {
192
+ color: #FFFFFF;
193
+ background-color: var(--primary);
194
+ padding: 12px 24px;
195
+ margin: 12px 0;
196
+ border-radius: 4px;
197
+ text-decoration: none;
198
+ }
199
+
200
+ .primary-button:hover{
201
+ background-color: #324554;
202
+ color: #FFFFFF;
203
+ }
204
+
205
+ p {
206
+ font-size: 1.1em;
207
+ line-height: 1.6em;
208
+ }
209
+
210
+ .read-more {
211
+ display: inline;
212
+ color: #000000;
213
+ text-decoration: none;
214
+ }
215
+
216
+ .read-more:hover{
217
+ text-decoration: underline;
218
+ }
219
+
220
+ .related-post-title{
221
+ font-weight: 500;
222
+ font-size: 1.2em;
223
+ }
224
+
225
+ .title {
226
+ text-align: center;
227
+ }
228
+
229
+ @media screen and (max-width: 768px) {
230
+
231
+ .latest-posts-container{
232
+ width: 80%;
233
+ }
234
+
235
+ .post-thumbnail-container{
236
+ width: 100%;
237
+ height: 100%;
238
+ margin-bottom: 12px;
239
+ }
240
+ }
241
+
242
+ @media screen and (max-width: 600px){
243
+
244
+ .bio{
245
+ padding: 10rem 0;
246
+ }
247
+
248
+ .latest-post-row{
249
+ width: 100%;
250
+ }
251
+
252
+ .post-thumbnail-container{
253
+ width: 100%;
254
+ height: 100%;
255
+ margin-bottom: 12px;
256
+ }
257
+
258
+ .post-thumbnail{
259
+ width: 100%;
260
+ }
261
+
262
+ .row{
263
+ --bs-gutter-x: 0;
264
+ }
265
+
266
+ }
267
+
268
+
269
+ /*
270
+ @media screen and (min-width: 769px) and (max-width: 992px){
271
+ .post-container{
272
+ width: 85%;
273
+ margin-top: 12px
274
+ }
275
+ }
276
+
277
+ @media screen and (min-width: 991px) and (max-width: 1200px){
278
+ .post-container{
279
+ width: 60%;
280
+ margin-top: 12px
281
+ }
282
+ }
283
+
284
+ @media screen and (min-width: 1200px) {
285
+ .post-container{
286
+ width: 55%;
287
+ margin-top: 12px
288
+ }
289
+ }
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-easygoing
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - RyanxLoi
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: jekyll
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '4.4'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '4.4'
26
+ email:
27
+ - ryanloi@outlook.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - LICENSE.txt
33
+ - README.md
34
+ - _config.yml
35
+ - _includes/bio.html
36
+ - _includes/footer.html
37
+ - _includes/head.html
38
+ - _includes/nav.html
39
+ - _layouts/base.html
40
+ - _layouts/default.html
41
+ - _layouts/page.html
42
+ - _layouts/post.html
43
+ - assets/Capybara_2.jpg
44
+ - assets/fonts/.DS_Store
45
+ - assets/fonts/otf/Manrope-Bold.otf
46
+ - assets/fonts/otf/Manrope-ExtraBold.otf
47
+ - assets/fonts/otf/Manrope-ExtraLight.otf
48
+ - assets/fonts/otf/Manrope-Light.otf
49
+ - assets/fonts/otf/Manrope-Medium.otf
50
+ - assets/fonts/otf/Manrope-Regular.otf
51
+ - assets/fonts/otf/Manrope-SemiBold.otf
52
+ - assets/fonts/ttf/Manrope-Bold.ttf
53
+ - assets/fonts/ttf/Manrope-ExtraBold.ttf
54
+ - assets/fonts/ttf/Manrope-ExtraLight.ttf
55
+ - assets/fonts/ttf/Manrope-Light.ttf
56
+ - assets/fonts/ttf/Manrope-Medium.ttf
57
+ - assets/fonts/ttf/Manrope-Regular.ttf
58
+ - assets/fonts/ttf/Manrope-SemiBold.ttf
59
+ - assets/fonts/variable/.DS_Store
60
+ - assets/fonts/variable/Manrope[wght].ttf
61
+ - assets/fonts/variable/Manrope[wght].woff2
62
+ - assets/fonts/webfonts/Manrope-Bold.woff2
63
+ - assets/fonts/webfonts/Manrope-ExtraBold.woff2
64
+ - assets/fonts/webfonts/Manrope-ExtraLight.woff2
65
+ - assets/fonts/webfonts/Manrope-Light.woff2
66
+ - assets/fonts/webfonts/Manrope-Medium.woff2
67
+ - assets/fonts/webfonts/Manrope-Regular.woff2
68
+ - assets/fonts/webfonts/Manrope-SemiBold.woff2
69
+ - assets/style.css
70
+ homepage: https://github.com/RyanxLoi/jekyll-easygoing
71
+ licenses:
72
+ - MIT
73
+ metadata: {}
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubygems_version: 3.6.7
89
+ specification_version: 4
90
+ summary: A basic Jekyll theme for blogging.
91
+ test_files: []