niri 1.9 → 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/LICENSE.txt +21 -21
- data/README.md +3 -0
- data/_config.yml +3 -2
- data/_includes/footer.html +22 -10
- data/_includes/head.html +3 -3
- data/_includes/navigation.html +35 -24
- data/_layouts/about.html +9 -0
- data/_layouts/default.html +9 -22
- data/_layouts/home.html +34 -22
- data/_layouts/post.html +20 -3
- data/_layouts/projects.html +8 -0
- data/assets/css/bulma-1.0.2.css +2 -2
- data/assets/css/main.css +241 -62
- data/assets/js/main.js +66 -0
- metadata +15 -8
- data/_layouts/page.html +0 -30
- data/assets/js/darklight-mode.js +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b74821a9ddfebbc2216a0ba80c632eecb01ce2f198e2911804a3f67d56cbc1cf
|
4
|
+
data.tar.gz: 20efbbd4ebd880e94542a83e26301f9c3b8a5fa97df082da67ba76dfdb795cbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3709866a5e3478bc244d612f16500dec12d34536972e727ded6cb476bcdca4230dab411b8637a4112a88ea9cb9dc8889d36c7c07fc22a3ecaa9fb8cb939b235a
|
7
|
+
data.tar.gz: ecc6204899d9ba17b1b5eac7a7153146409f399a93ab68eac6c84304e198faf55ba025f8465b031b1aa15b174bb215e35db35d12d9cb77f2e70f634802925b5b
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2025 rokhimin
|
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) 2025 rokhimin
|
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,5 +1,8 @@
|
|
1
1
|
<img src="https://i.ibb.co.com/sdVSmQ5x/niri-logo.png" alt="drawing" width="300"/>
|
2
2
|
|
3
|
+
[](https://rubygems.org/gems/niri)
|
4
|
+
[](https://rubygems.org/gems/niri)
|
5
|
+
|
3
6
|
# About
|
4
7
|
Theme blog for jekyll using Bulma css.
|
5
8
|
|
data/_config.yml
CHANGED
@@ -6,5 +6,6 @@ url: ""
|
|
6
6
|
footer: Theme <a href="https://github.com/rokhimin/jekyll-niri">Niri</a> [/code] by whdzera
|
7
7
|
twitter_username: rokhiminwahid
|
8
8
|
github_username: rokhimin
|
9
|
-
logo: https://i.ibb.co.com/sdVSmQ5x/niri-logo.png
|
10
|
-
|
9
|
+
logo: https://i.ibb.co.com/sdVSmQ5x/niri-logo.png
|
10
|
+
photo_profile: ""
|
11
|
+
disqus: ""
|
data/_includes/footer.html
CHANGED
@@ -1,12 +1,24 @@
|
|
1
|
+
|
2
|
+
<div class="content-container">
|
3
|
+
<div class="year-divider" id=""></div>
|
4
|
+
</div>
|
1
5
|
<footer class="footer">
|
2
|
-
<div class="
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
<div class="container">
|
7
|
+
<div class="content has-text-centered">
|
8
|
+
<p>{{ site.footer }} ©{{ site.time | date: '%Y' }}</p>
|
9
|
+
<p>
|
10
|
+
{% if site.twitter_username %}
|
11
|
+
<a href="https://twitter.com/{{ site.twitter_username }}">
|
12
|
+
<span class="icon"><i class="fab fa-twitter"></i></span> Twitter
|
13
|
+
</a>
|
14
|
+
{% endif %}
|
15
|
+
{% if site.twitter_username and site.github_username %} | {% endif %}
|
16
|
+
{% if site.github_username %}
|
17
|
+
<a href="https://github.com/{{ site.github_username }}">
|
18
|
+
<span class="icon"><i class="fab fa-github"></i></span> Github
|
19
|
+
</a>
|
20
|
+
{% endif %}
|
21
|
+
</p>
|
22
|
+
</div>
|
10
23
|
</div>
|
11
|
-
</footer>
|
12
|
-
|
24
|
+
</footer>
|
data/_includes/head.html
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
5
|
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
6
6
|
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
7
|
-
<link rel="stylesheet" href="{{ site.
|
8
|
-
<link rel="stylesheet" href="{{ site.
|
7
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bulma-1.0.2.css"/>
|
8
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css"/>
|
9
9
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
10
|
+
<script src="{{ site.baseurl }}/assets/js/main.js"></script>
|
10
11
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
11
12
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
|
12
|
-
|
13
13
|
</head>
|
data/_includes/navigation.html
CHANGED
@@ -1,30 +1,41 @@
|
|
1
|
-
<nav class="navbar" role="navigation" aria-label="main navigation">
|
2
|
-
<div class="navbar-brand">
|
3
|
-
<a class="navbar-item" href="/">
|
4
|
-
<img src="{{ site.logo }}" style="width:100%;"></img>
|
5
|
-
</a>
|
6
|
-
</div>
|
7
|
-
<div class="navbar-menu is-active">
|
8
|
-
<div class="navbar-end">
|
9
|
-
|
10
|
-
<div class="navbar-item">
|
11
|
-
<button class="button is-link is-small" id="toggle-button"><i id="theme-icon" class="fas fa-moon"></i></button>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
|
15
|
-
<script type="text/javascript" src="{{ site.files }}/assets/js/darklight-mode.js"></script>
|
16
|
-
|
17
|
-
<a class="navbar-item {% if page.url == '/' %}is-active{% endif %}" href="{{ '/' | prepend: site.baseurl }}">
|
18
|
-
Home
|
19
|
-
</a>
|
20
1
|
|
21
|
-
|
22
|
-
|
2
|
+
<nav class="navbar" role="navigation" aria-label="main navigation">
|
3
|
+
<div class="container">
|
4
|
+
<div class="navbar-brand">
|
5
|
+
<a class="navbar-item" href="/">
|
6
|
+
<img src="{{ site.logo }}" alt="{{ site.title }}" style="max-height: 40px;">
|
23
7
|
</a>
|
24
8
|
|
25
|
-
<a class="navbar-
|
26
|
-
|
9
|
+
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasic">
|
10
|
+
<span aria-hidden="true"></span>
|
11
|
+
<span aria-hidden="true"></span>
|
12
|
+
<span aria-hidden="true"></span>
|
27
13
|
</a>
|
28
14
|
</div>
|
15
|
+
|
16
|
+
<div id="navbarBasic" class="navbar-menu">
|
17
|
+
<div class="navbar-end">
|
18
|
+
<a class="navbar-item {% if page.url == '/' %}is-active{% endif %}" href="{{ '/' | prepend: site.baseurl }}">
|
19
|
+
<span class="icon"><i class="fas fa-home"></i></span>
|
20
|
+
<span>Home</span>
|
21
|
+
</a>
|
22
|
+
|
23
|
+
<a class="navbar-item {% if page.url == '/projects/' %}is-active{% endif %}" href="{{ '/projects/' | prepend: site.baseurl }}">
|
24
|
+
<span class="icon"><i class="fas fa-project-diagram"></i></span>
|
25
|
+
<span>Projects</span>
|
26
|
+
</a>
|
27
|
+
|
28
|
+
<a class="navbar-item {% if page.url == '/about/' %}is-active{% endif %}" href="{{ '/about/' | prepend: site.baseurl }}">
|
29
|
+
<span class="icon"><i class="fas fa-user"></i></span>
|
30
|
+
<span>About</span>
|
31
|
+
</a>
|
32
|
+
|
33
|
+
<div class="navbar-item">
|
34
|
+
<button class="toggle-button" id="toggle-button">
|
35
|
+
<i id="theme-icon" class="fas fa-moon"></i>
|
36
|
+
</button>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
29
40
|
</div>
|
30
|
-
</nav>
|
41
|
+
</nav>
|
data/_layouts/about.html
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<h1 class="title animate__animated animate__fadeIn" style="color: var(--primary-color); font-size: 2.0rem;">About
|
5
|
+
</h1>
|
6
|
+
<div class="year-divider" id=""></div>
|
7
|
+
<img src="{{ site.photo_profile }}" alt="photo_profile" style="width:150px;"/>
|
8
|
+
|
9
|
+
{{ content }}
|
data/_layouts/default.html
CHANGED
@@ -3,28 +3,15 @@
|
|
3
3
|
{% include head.html %}
|
4
4
|
<body>
|
5
5
|
{% include navigation.html %}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
<div class="content">
|
16
|
-
{{ content }}
|
17
|
-
</div>
|
18
|
-
|
19
|
-
</div>
|
20
|
-
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
|
6
|
+
<div class="hero">
|
7
|
+
<div class="hero-body">
|
8
|
+
<div class="content-container">
|
9
|
+
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</div>
|
28
15
|
{% include footer.html %}
|
29
16
|
</body>
|
30
17
|
</html>
|
data/_layouts/home.html
CHANGED
@@ -1,25 +1,37 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
4
|
+
<h1 class="title has-text-centered animate__animated animate__fadeIn" style="color: var(--primary-color); font-size: 2.5rem; margin-bottom: 2rem;">
|
5
|
+
<span class="icon" style="margin-right: 0.5rem;"><i class="fas fa-feather-alt"></i></span>
|
6
|
+
{{ site.description}}
|
7
|
+
</h1>
|
8
|
+
|
9
|
+
<!-- Fixed blog post loop structure for proper column display -->
|
10
|
+
{% assign posts_by_year = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
|
11
|
+
{% for year in posts_by_year %}
|
12
|
+
<div class="animate__animated animate__fadeIn">
|
13
|
+
<div class="year-divider" id="{{ year.name }}-ref">
|
14
|
+
<span class="icon" style="margin-right: 0.5rem;"><i class="fas fa-calendar-alt"></i></span>{{ year.name }}
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="columns is-multiline">
|
19
|
+
{% for post in year.items %}
|
20
|
+
<div class="column is-4">
|
21
|
+
<div class="post-card animate__animated animate__fadeIn">
|
22
|
+
<div class="post-card-header">
|
23
|
+
<h4><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h4>
|
24
|
+
<span class="category-tag">{{ post.categories | first }}</span>
|
25
|
+
</div>
|
26
|
+
<div class="post-card-content">
|
27
|
+
<p class="post-date"><i class="far fa-calendar"></i> {{ post.date | date: "%b %-d, %Y" }}</p>
|
28
|
+
<p class="mt-3">{{ post.content | strip_html | truncatewords: 20 }}</p>
|
29
|
+
<a href="{{ post.url | prepend: site.baseurl }}" class="button is-small is-outlined mt-4" style="color: var(--primary-color); border-color: var(--primary-color);">
|
30
|
+
Read more <span class="icon"><i class="fas fa-arrow-right"></i></span>
|
31
|
+
</a>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
{% endfor %}
|
36
|
+
</div>
|
37
|
+
{% endfor %}
|
data/_layouts/post.html
CHANGED
@@ -1,7 +1,24 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
<h1 class="title animate__animated animate__fadeIn" style="color: var(--primary-color); font-size: 2.0rem;">{{ page.title }}
|
5
|
+
</h1>
|
6
|
+
<p>{{ page.date | date: "%Y-%m-%d" }}</p>
|
7
|
+
<div class="year-divider" id=""></div>
|
7
8
|
{{ content }}
|
9
|
+
<br>
|
10
|
+
<br>
|
11
|
+
<div id="disqus_thread"></div>
|
12
|
+
<script>
|
13
|
+
var disqus_config = function () {
|
14
|
+
this.page.url = "{{ page.url | absolute_url }}";
|
15
|
+
this.page.identifier = "{{ page.id }}";
|
16
|
+
};
|
17
|
+
|
18
|
+
(function() {
|
19
|
+
var d = document, s = d.createElement('script');
|
20
|
+
s.src = 'https://{{ site.disqus }}.com/embed.js';
|
21
|
+
s.setAttribute('data-timestamp', +new Date());
|
22
|
+
(d.head || d.body).appendChild(s);
|
23
|
+
})();
|
24
|
+
</script>
|