niri 1.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4201b14fe46549fa7f2edfd1a9cfc85efe6819b5cbe4cc8ffe21866e2a55b279
4
- data.tar.gz: 36c9487899ab0d3b631b147244d4bfbe2e1f9cb21cb8b3a8b1849959129edaea
3
+ metadata.gz: 9b3338daeb9cb21ac86de0d1446b3d4f04f286df5e4a866c05a4170bbf5d9d10
4
+ data.tar.gz: eb9f69cafb449f4c9aec74946793ef2de5725a2bc621a6face40360df506d1ad
5
5
  SHA512:
6
- metadata.gz: c372cf6996e68c2d969bf3c57a718b4cee33232ce86b9b9139e9ef8a6f3fb3bbd584c9f1b5565a466e164d9137e8d2d316e39d002b761f9ee1939ff96393c251
7
- data.tar.gz: 9b96736bcd46654617246eea16318fd6df874a247a76da9e690278f7d8c67fdc2e45d291f420556c325daa72698ac7678ec63c4992dc5d8c60195dcce1bf1831
6
+ metadata.gz: 0fa60b07e6b9a05a99bff2e5d85ab1c801754bd1448e3b11c1b69e66ed8331bef0a5866f98f8a0636f99d5fb2f74a3e3917c108ea8a06674bebe84f89926ca5d
7
+ data.tar.gz: 2925cda2e83dada32fe0c01ad73c3d411ed2fa56d20c6536ca5285b52fa2f2761451aab9bb482359da993acc4e9ff27a43ff2175e65622356574b05569c7663c
data/README.md CHANGED
@@ -1,8 +1,22 @@
1
- # niri
2
1
 
2
+ ![](https://i.ibb.co.com/sdVSmQ5x/niri-logo.png)
3
+ # Niri
3
4
  Theme for jekyll using Bulma
4
5
 
5
- ## Installation
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
6
20
 
7
21
  Add this line to your Jekyll site's `Gemfile`:
8
22
 
@@ -20,13 +34,14 @@ And then execute:
20
34
 
21
35
  $ bundle
22
36
 
23
- Or install it yourself as:
24
37
 
25
- $ gem install niri
38
+ Run jekyll:
39
+
40
+ $ bundle exec jekyll s
26
41
 
27
- ## Usage
42
+ ## Misc
28
43
 
29
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
44
+ Create file 'projects.markdown' to use page Projects.
30
45
 
31
46
  ## Contributing
32
47
 
data/_config.yml ADDED
@@ -0,0 +1,8 @@
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,14 +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.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 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
+
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
- </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>
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,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-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">
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="c-archives__year" id="{{ this_year }}-ref">{{this_year}}</h2>
10
- <ul class="c-archives__list">
11
- {% endif %}
12
- <li class="c-archives__item">
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="c-archives__year" id="{{ next_year }}-ref">{{next_year}}</h2>
22
- <ul class="c-archives__list">
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-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">
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,4 @@
1
- ---
2
- layout: default
3
- ---
4
- {{ content }}
1
+ ---
2
+ layout: default
3
+ ---
4
+ {{ content }}
metadata CHANGED
@@ -1,10 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niri
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - rokhimin Wahid
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
11
  date: 2025-02-11 00:00:00.000000000 Z
@@ -23,6 +24,7 @@ dependencies:
23
24
  - - "~>"
24
25
  - !ruby/object:Gem::Version
25
26
  version: '4.4'
27
+ description:
26
28
  email:
27
29
  - rokhim.whd@gmail.com
28
30
  executables: []
@@ -31,9 +33,9 @@ extra_rdoc_files: []
31
33
  files:
32
34
  - LICENSE.txt
33
35
  - README.md
36
+ - _config.yml
34
37
  - _includes/footer.html
35
38
  - _includes/head.html
36
- - _includes/listing.html
37
39
  - _includes/navigation.html
38
40
  - _layouts/default.html
39
41
  - _layouts/home.html
@@ -43,6 +45,7 @@ homepage: https://github.com/rokhimin/Niri
43
45
  licenses:
44
46
  - MIT
45
47
  metadata: {}
48
+ post_install_message:
46
49
  rdoc_options: []
47
50
  require_paths:
48
51
  - lib
@@ -57,7 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
60
  - !ruby/object:Gem::Version
58
61
  version: '0'
59
62
  requirements: []
60
- rubygems_version: 3.6.3
63
+ rubygems_version: 3.2.3
64
+ signing_key:
61
65
  specification_version: 4
62
- summary: Theme for jekyll using Bulma
66
+ summary: jekyll Theme Blog using Bulma
63
67
  test_files: []
File without changes