niri 0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c5e18bee495443271ccc8e2a5ba83d02b236a500be5ee0613a1923f916334ced
4
+ data.tar.gz: 5cdc42a7de3610cb57e828a707f4178675829367b81795f423a7f4b5169aae59
5
+ SHA512:
6
+ metadata.gz: 284d264cb4a29b9d7ffb32376fcae8739e594295baf751b98400e5f13fd14e3888aea70706d07197e474d4cd229191dc8be419a070bd31e632a19cb33dfb041a
7
+ data.tar.gz: ae0d3a36e2d29dc42b43bf47de58d33bf92fee0827c13b0d528242f0e55fa908f867399656f2b95a3afa2592774e53c7e7ead05ab4367dab7580a836584c5b1e
data/LICENSE.txt ADDED
@@ -0,0 +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.
data/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # niri
2
+
3
+ Theme for jekyll using Bulma
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "niri"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: niri
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install niri
26
+
27
+ ## Usage
28
+
29
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/niri. 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.
34
+
35
+ ## Development
36
+
37
+ To set up your environment to develop this theme, run `bundle install`.
38
+
39
+ 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.
40
+
41
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
42
+ To add a custom directory to your theme-gem, please edit the regexp in `niri.gemspec` accordingly.
43
+
44
+ ## License
45
+
46
+ 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,22 @@
1
+
2
+ title: whdzera
3
+ email: whdzera@gmail.com
4
+ description: >
5
+ My Private blog for diary, notes, and any more.
6
+ baseurl: ""
7
+ url: ""
8
+
9
+ markdown: kramdown
10
+
11
+ twitterUsername: whdzera
12
+ githubUsername: rokhimin
13
+
14
+ themeColor: default
15
+ fixedNav: 'true'
16
+
17
+ permalink: /:title.rb
18
+ markdown: kramdown
19
+ include: [_pages]
20
+ exclude: [_site, LICENSE, README.md]
21
+ sass:
22
+ style: compressed
@@ -0,0 +1,14 @@
1
+
2
+
3
+ <footer class="footer has-background-black-ter">
4
+ <div class="content has-text-centered">
5
+ <p>Using Theme Niri [/code] by <a href="https://github.com/rokhimin"><font color="#fff"> {{ site.title }} </font></a> &copy; {{ site.time | date: '%Y' }}
6
+ </p>
7
+ <p>
8
+ {% if site.twitterUsername %}<a href="https://twitter.com/{{ site.twitterUsername }}"><font color="#fff">Twitter</font></a>{% endif %}
9
+ |
10
+ {% if site.githubUsername %}<a href="https://github.com/{{ site.githubUsername }}"><font color="#fff">Github</font></a>{% endif %}
11
+ </p>
12
+ </div>
13
+ </footer>
14
+
@@ -0,0 +1,25 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
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="https://cdnjs.cloudflare.com/ajax/libs/bulma/1.0.2/css/bulma.css"/>
8
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
9
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
10
+
11
+ <style>
12
+ /* Chrome, Safari */
13
+ ::-webkit-scrollbar {
14
+ width: 15px;
15
+ height: 15px;
16
+ }
17
+ ::-webkit-scrollbar-track-piece {
18
+ background-color: #222222;
19
+ }
20
+ ::-webkit-scrollbar-thumb:vertical {
21
+ height: 30px;
22
+ background-color: #000;
23
+ }
24
+ </style>
25
+ </head>
@@ -0,0 +1,22 @@
1
+ <nav class="navbar has-background-black-ter" role="navigation" aria-label="main navigation">
2
+ <div class="navbar-brand">
3
+ <a class="navbar-item" href="/">
4
+ <img src="https://i.ibb.co.com/sdVSmQ5x/niri-logo.png" style="width:100%;" ></img>
5
+ </div>
6
+ <div class="navbar-menu has-background-black-ter is-active">
7
+ <div class="navbar-end ">
8
+ <a class="navbar-item {% if page.url == '/' %}is-active{% endif %}" href="{{ '/' | prepend: site.baseurl }}">
9
+ Home
10
+ </a>
11
+
12
+ <a class="navbar-item {% if page.url == '/projects/' %}is-active{% endif %}" href="{{ '/projects/' | prepend: site.baseurl }}">
13
+ Project
14
+ </a>
15
+
16
+ <a class="navbar-item {% if page.url == '/about/' %}is-active{% endif %}" href="{{ '/about/' | prepend: site.baseurl }}">
17
+ About
18
+ </a>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </nav>
@@ -0,0 +1,27 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {% include head.html %}
4
+ <body>
5
+ {% include navigation.html %}
6
+
7
+ <div class="hero has-background-black-ter is-fullheight">
8
+ <div class="hero-body">
9
+ <div class="container">
10
+ <div class="columns is-centered">
11
+ <div class="column is-one-two">
12
+ <div action="" class="box">
13
+
14
+ <div class="field">
15
+ <div class="content {{ content }}</div>
16
+ </div>
17
+
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ </div>
24
+
25
+ {% include footer.html %}
26
+ </body>
27
+ </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="c-article">
5
+ <header class="c-header c-article__header">
6
+ <div class="u-container">
7
+ <h1 class="c-header__title">{{ page.title }}</h1>
8
+ </div>
9
+ </header>
10
+
11
+ <div class="c-article__main">
12
+ {{ content }}
13
+ </div>
14
+ </article>
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ {{ content }}
metadata ADDED
@@ -0,0 +1,62 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: niri
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.1'
5
+ platform: ruby
6
+ authors:
7
+ - rokhimin Wahid
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 2025-02-11 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
+ - rokhim.whd@gmail.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - LICENSE.txt
33
+ - README.md
34
+ - _config.yml
35
+ - _includes/footer.html
36
+ - _includes/head.html
37
+ - _includes/navigation.html
38
+ - _layouts/default.html
39
+ - _layouts/page.html
40
+ - _layouts/post.html
41
+ homepage: https://github.com/rokhimin/Niri
42
+ licenses:
43
+ - MIT
44
+ metadata: {}
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubygems_version: 3.6.3
60
+ specification_version: 4
61
+ summary: Theme for jekyll using Bulma
62
+ test_files: []