niri 0.1 → 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: c5e18bee495443271ccc8e2a5ba83d02b236a500be5ee0613a1923f916334ced
4
- data.tar.gz: 5cdc42a7de3610cb57e828a707f4178675829367b81795f423a7f4b5169aae59
3
+ metadata.gz: 9b3338daeb9cb21ac86de0d1446b3d4f04f286df5e4a866c05a4170bbf5d9d10
4
+ data.tar.gz: eb9f69cafb449f4c9aec74946793ef2de5725a2bc621a6face40360df506d1ad
5
5
  SHA512:
6
- metadata.gz: 284d264cb4a29b9d7ffb32376fcae8739e594295baf751b98400e5f13fd14e3888aea70706d07197e474d4cd229191dc8be419a070bd31e632a19cb33dfb041a
7
- data.tar.gz: ae0d3a36e2d29dc42b43bf47de58d33bf92fee0827c13b0d528242f0e55fa908f867399656f2b95a3afa2592774e53c7e7ead05ab4367dab7580a836584c5b1e
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 CHANGED
@@ -1,22 +1,8 @@
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
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.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
-
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,27 +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 {{ content }}</div>
16
- </div>
17
-
18
- </div>
19
- </div>
20
- </div>
21
- </div>
22
- </div>
23
- </div>
24
-
25
- {% include footer.html %}
26
- </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>
27
30
  </html>
@@ -0,0 +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 %}
25
+ {% endfor %}
data/_layouts/page.html CHANGED
@@ -1,14 +1,30 @@
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>
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
+ </html>
data/_layouts/post.html CHANGED
@@ -1,4 +1,4 @@
1
- ---
2
- layout: page
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: '0.1'
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: []
@@ -36,12 +38,14 @@ files:
36
38
  - _includes/head.html
37
39
  - _includes/navigation.html
38
40
  - _layouts/default.html
41
+ - _layouts/home.html
39
42
  - _layouts/page.html
40
43
  - _layouts/post.html
41
44
  homepage: https://github.com/rokhimin/Niri
42
45
  licenses:
43
46
  - MIT
44
47
  metadata: {}
48
+ post_install_message:
45
49
  rdoc_options: []
46
50
  require_paths:
47
51
  - lib
@@ -56,7 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
60
  - !ruby/object:Gem::Version
57
61
  version: '0'
58
62
  requirements: []
59
- rubygems_version: 3.6.3
63
+ rubygems_version: 3.2.3
64
+ signing_key:
60
65
  specification_version: 4
61
- summary: Theme for jekyll using Bulma
66
+ summary: jekyll Theme Blog using Bulma
62
67
  test_files: []