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 +4 -4
- data/README.md +21 -6
- data/_config.yml +8 -0
- data/_includes/footer.html +14 -14
- data/_includes/head.html +25 -25
- data/_includes/navigation.html +22 -22
- data/_layouts/default.html +29 -29
- data/_layouts/home.html +24 -24
- data/_layouts/page.html +29 -29
- data/_layouts/post.html +4 -4
- metadata +8 -4
- data/_includes/listing.html +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b3338daeb9cb21ac86de0d1446b3d4f04f286df5e4a866c05a4170bbf5d9d10
|
4
|
+
data.tar.gz: eb9f69cafb449f4c9aec74946793ef2de5725a2bc621a6face40360df506d1ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fa60b07e6b9a05a99bff2e5d85ab1c801754bd1448e3b11c1b69e66ed8331bef0a5866f98f8a0636f99d5fb2f74a3e3917c108ea8a06674bebe84f89926ca5d
|
7
|
+
data.tar.gz: 2925cda2e83dada32fe0c01ad73c3d411ed2fa56d20c6536ca5285b52fa2f2761451aab9bb482359da993acc4e9ff27a43ff2175e65622356574b05569c7663c
|
data/README.md
CHANGED
@@ -1,8 +1,22 @@
|
|
1
|
-
# niri
|
2
1
|
|
2
|
+

|
3
|
+
# Niri
|
3
4
|
Theme for jekyll using Bulma
|
4
5
|
|
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
|
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
|
-
|
38
|
+
Run jekyll:
|
39
|
+
|
40
|
+
$ bundle exec jekyll s
|
26
41
|
|
27
|
-
##
|
42
|
+
## Misc
|
28
43
|
|
29
|
-
|
44
|
+
Create file 'projects.markdown' to use page Projects.
|
30
45
|
|
31
46
|
## Contributing
|
32
47
|
|
data/_config.yml
ADDED
data/_includes/footer.html
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<footer class="footer has-background-black-ter">
|
4
|
-
<div class="content has-text-centered">
|
5
|
-
<p>
|
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> © {{ 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>
|
data/_includes/navigation.html
CHANGED
@@ -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%;"
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
</
|
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>
|
data/_layouts/default.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-
|
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="
|
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="
|
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-
|
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.
|
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.
|
63
|
+
rubygems_version: 3.2.3
|
64
|
+
signing_key:
|
61
65
|
specification_version: 4
|
62
|
-
summary: Theme
|
66
|
+
summary: jekyll Theme Blog using Bulma
|
63
67
|
test_files: []
|
data/_includes/listing.html
DELETED
File without changes
|