niri 1.1 → 1.2

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: 9b3338daeb9cb21ac86de0d1446b3d4f04f286df5e4a866c05a4170bbf5d9d10
4
- data.tar.gz: eb9f69cafb449f4c9aec74946793ef2de5725a2bc621a6face40360df506d1ad
3
+ metadata.gz: '03239d9c7bfcc3830f21c6a2c76bebc3a70ff8a2ded14975726e65eccabc954d'
4
+ data.tar.gz: bc0fc1a0a220c88aa7ae3e6856c4f9646f9efa3672a7b961f689b5371c2fd1f1
5
5
  SHA512:
6
- metadata.gz: 0fa60b07e6b9a05a99bff2e5d85ab1c801754bd1448e3b11c1b69e66ed8331bef0a5866f98f8a0636f99d5fb2f74a3e3917c108ea8a06674bebe84f89926ca5d
7
- data.tar.gz: 2925cda2e83dada32fe0c01ad73c3d411ed2fa56d20c6536ca5285b52fa2f2761451aab9bb482359da993acc4e9ff27a43ff2175e65622356574b05569c7663c
6
+ metadata.gz: 3eef675261956e3449a45a38b5c27871124b7fb8b2d460a77a00b4ef2eaff4394e5ef86f93020cf3fe6b1ca97d921483a4e1b289579fdd3cdc105fde6a801319
7
+ data.tar.gz: 7598c416fec1dbf08d94a51f8027b45c11e1c9c67094e87da2e82e6112cc4a68d89ccc96a7bcb819a8bb74353c699a47e092344cf4810b13bd7b566eadcf3675
data/README.md CHANGED
@@ -1,61 +1,62 @@
1
-
2
- ![](https://i.ibb.co.com/sdVSmQ5x/niri-logo.png)
3
- # Niri
4
- Theme for jekyll using Bulma
5
-
6
-
7
- ## Installation Jekyll
8
-
9
- $ gem install jekyll
10
-
11
-
12
- create first app
13
-
14
- $ jekyll new yournameapp
15
-
16
-
17
- ## Installation Theme
18
-
19
- Installation theme Niri to your jekyll app
20
-
21
- Add this line to your Jekyll site's `Gemfile`:
22
-
23
- ```ruby
24
- gem "niri"
25
- ```
26
-
27
- And add this line to your Jekyll site's `_config.yml`:
28
-
29
- ```yaml
30
- theme: niri
31
- ```
32
-
33
- And then execute:
34
-
35
- $ bundle
36
-
37
-
38
- Run jekyll:
39
-
40
- $ bundle exec jekyll s
41
-
42
- ## Misc
43
-
44
- Create file 'projects.markdown' to use page Projects.
45
-
46
- ## Contributing
47
-
48
- 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.
49
-
50
- ## Development
51
-
52
- To set up your environment to develop this theme, run `bundle install`.
53
-
54
- 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.
55
-
56
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
57
- To add a custom directory to your theme-gem, please edit the regexp in `niri.gemspec` accordingly.
58
-
59
- ## License
60
-
61
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1
+
2
+ ![](https://i.ibb.co.com/sdVSmQ5x/niri-logo.png)
3
+ # Niri
4
+ Theme for jekyll using Bulma.
5
+
6
+ Live Demo : https://rokhimin.github.io/jekyll-niri
7
+
8
+ ## Installation Jekyll
9
+
10
+ $ gem install jekyll
11
+
12
+
13
+ create first app
14
+
15
+ $ jekyll new yournameapp
16
+
17
+
18
+ ## Installation Theme
19
+
20
+ Installation theme Niri to your jekyll app
21
+
22
+ Add this line to your Jekyll site's `Gemfile`:
23
+
24
+ ```ruby
25
+ gem "niri"
26
+ ```
27
+
28
+ And add this line to your Jekyll site's `_config.yml`:
29
+
30
+ ```yaml
31
+ theme: niri
32
+ ```
33
+
34
+ And then execute:
35
+
36
+ $ bundle
37
+
38
+
39
+ Run jekyll:
40
+
41
+ $ bundle exec jekyll s
42
+
43
+ ## Misc
44
+
45
+ Create file 'projects.markdown' to use page Projects.
46
+
47
+ ## Contributing
48
+
49
+ 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.
50
+
51
+ ## Development
52
+
53
+ To set up your environment to develop this theme, run `bundle install`.
54
+
55
+ 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.
56
+
57
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
58
+ To add a custom directory to your theme-gem, please edit the regexp in `niri.gemspec` accordingly.
59
+
60
+ ## License
61
+
62
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml CHANGED
@@ -1,8 +1,9 @@
1
- title: Niri
2
- email: rokhim.whd@gmail.com
3
- description: Niri Jekyll Theme Blog using Bulma
4
- baseurl: ""
5
- url: ""
6
- twitter_username: rokhiminwahid
7
- github_username: rokhimin
8
- theme: niri
1
+ title: Niri
2
+ email: rokhim.whd@gmail.com
3
+ description: Niri Jekyll Theme Blog using Bulma
4
+ baseurl: ""
5
+ url: ""
6
+ twitter_username: rokhiminwahid
7
+ github_username: rokhimin
8
+ theme: niri
9
+ logo: https://i.ibb.co.com/sdVSmQ5x/niri-logo.png
@@ -1,14 +1,14 @@
1
-
2
-
3
- <footer class="footer has-background-black-ter">
4
- <div class="content has-text-centered">
5
- <p>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.twitter_username %}<a href="https://twitter.com/{{ site.twitter_username }}"><font color="#fff">Twitter</font></a>{% endif %}
9
- |
10
- {% if site.github_username %}<a href="https://github.com/{{ site.github_username }}"><font color="#fff">Github</font></a>{% endif %}
11
- </p>
12
- </div>
13
- </footer>
14
-
1
+
2
+
3
+ <footer class="footer has-background-black-ter">
4
+ <div class="content has-text-centered">
5
+ <p>Theme <a href="https://github.com/rokhimin/niri"><font color="#fff">Niri</font></a> [/code] by {{ site.title }} &copy;{{ site.time | date: '%Y' }}
6
+ </p>
7
+ <p>
8
+ {% if site.twitter_username %}<a href="https://twitter.com/{{ site.twitter_username }}"><font color="#fff">Twitter</font></a>{% endif %}
9
+ |
10
+ {% if site.github_username %}<a href="https://github.com/{{ site.github_username }}"><font color="#fff">Github</font></a>{% endif %}
11
+ </p>
12
+ </div>
13
+ </footer>
14
+
data/_includes/head.html CHANGED
@@ -1,25 +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>
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>
@@ -1,22 +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
- </a>
6
- </div>
7
- <div class="navbar-menu has-background-black-ter is-active">
8
- <div class="navbar-end">
9
- <a class="navbar-item {% if page.url == '/' %}is-active{% endif %}" href="{{ '/' | prepend: site.baseurl }}">
10
- Home
11
- </a>
12
-
13
- <a class="navbar-item {% if page.url == '/projects/' %}is-active{% endif %}" href="{{ '/projects/' | prepend: site.baseurl }}">
14
- Project
15
- </a>
16
-
17
- <a class="navbar-item {% if page.url == '/about/' %}is-active{% endif %}" href="{{ '/about/' | prepend: site.baseurl }}">
18
- About
19
- </a>
20
- </div>
21
- </div>
22
- </nav>
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="{{ site.logo }}" style="width:100%;"></img>
5
+ </a>
6
+ </div>
7
+ <div class="navbar-menu has-background-black-ter is-active">
8
+ <div class="navbar-end">
9
+ <a class="navbar-item {% if page.url == '/' %}is-active{% endif %}" href="{{ '/' | prepend: site.baseurl }}">
10
+ Home
11
+ </a>
12
+
13
+ <a class="navbar-item {% if page.url == '/projects/' %}is-active{% endif %}" href="{{ '/projects/' | prepend: site.baseurl }}">
14
+ Project
15
+ </a>
16
+
17
+ <a class="navbar-item {% if page.url == '/about/' %}is-active{% endif %}" href="{{ '/about/' | prepend: site.baseurl }}">
18
+ About
19
+ </a>
20
+ </div>
21
+ </div>
22
+ </nav>
@@ -1,30 +1,30 @@
1
- <!DOCTYPE html>
2
- <html>
3
- {% include head.html %}
4
- <body>
5
- {% include navigation.html %}
6
-
7
- <div class="hero has-background-black-bis 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 has-background-black-ter ">
13
-
14
- <div class="field">
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
-
28
- {% include footer.html %}
29
- </body>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {% include head.html %}
4
+ <body>
5
+ {% include navigation.html %}
6
+
7
+ <div class="hero has-background-black-bis 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 has-background-black-ter ">
13
+
14
+ <div class="field">
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
+
28
+ {% include footer.html %}
29
+ </body>
30
30
  </html>
data/_layouts/home.html CHANGED
@@ -1,25 +1,25 @@
1
- ---
2
- layout: default
3
- ---
4
- {% for post in site.posts %}
5
- {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
6
- {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
7
-
8
- {% if forloop.first %}
9
- <h2 class="" id="{{ this_year }}-ref">{{this_year}}</h2>
10
- <ul class="">
11
- {% endif %}
12
- <li class="">
13
- <h3><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
14
- <p>{{ post.date | date: "%b %-d, %Y" }}</p>
15
- </li>
16
- {% if forloop.last %}
17
- </ul>
18
- {% else %}
19
- {% if this_year != next_year %}
20
- </ul>
21
- <h2 class="" id="{{ next_year }}-ref">{{next_year}}</h2>
22
- <ul class="">
23
- {% endif %}
24
- {% endif %}
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% for post in site.posts %}
5
+ {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
6
+ {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
7
+
8
+ {% if forloop.first %}
9
+ <h2 class="" id="{{ this_year }}-ref">{{this_year}}</h2>
10
+ <ul class="">
11
+ {% endif %}
12
+ <li class="">
13
+ <h3><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
14
+ <p>{{ post.date | date: "%b %-d, %Y" }}</p>
15
+ </li>
16
+ {% if forloop.last %}
17
+ </ul>
18
+ {% else %}
19
+ {% if this_year != next_year %}
20
+ </ul>
21
+ <h2 class="" id="{{ next_year }}-ref">{{next_year}}</h2>
22
+ <ul class="">
23
+ {% endif %}
24
+ {% endif %}
25
25
  {% endfor %}
data/_layouts/page.html CHANGED
@@ -1,30 +1,30 @@
1
- <!DOCTYPE html>
2
- <html>
3
- {% include head.html %}
4
- <body>
5
- {% include navigation.html %}
6
-
7
- <div class="hero has-background-black-bis 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 has-background-black-ter">
13
-
14
- <div class="field">
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
-
28
- {% include footer.html %}
29
- </body>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {% include head.html %}
4
+ <body>
5
+ {% include navigation.html %}
6
+
7
+ <div class="hero has-background-black-bis 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 has-background-black-ter">
13
+
14
+ <div class="field">
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
+
28
+ {% include footer.html %}
29
+ </body>
30
30
  </html>
data/_layouts/post.html CHANGED
@@ -1,4 +1,7 @@
1
- ---
2
- layout: default
3
- ---
4
- {{ content }}
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+ <p>{{ page.date }}</p>
6
+ <progress class="progress is-small is-dark" value="100" max="100">15%</progress>
7
+ {{ content }}
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niri
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - rokhimin Wahid
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-02-11 00:00:00.000000000 Z
10
+ date: 2025-02-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jekyll
@@ -24,7 +23,6 @@ dependencies:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
25
  version: '4.4'
27
- description:
28
26
  email:
29
27
  - rokhim.whd@gmail.com
30
28
  executables: []
@@ -45,7 +43,6 @@ homepage: https://github.com/rokhimin/Niri
45
43
  licenses:
46
44
  - MIT
47
45
  metadata: {}
48
- post_install_message:
49
46
  rdoc_options: []
50
47
  require_paths:
51
48
  - lib
@@ -60,8 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
57
  - !ruby/object:Gem::Version
61
58
  version: '0'
62
59
  requirements: []
63
- rubygems_version: 3.2.3
64
- signing_key:
60
+ rubygems_version: 3.6.3
65
61
  specification_version: 4
66
62
  summary: jekyll Theme Blog using Bulma
67
63
  test_files: []