niri 3.0 → 3.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: b74821a9ddfebbc2216a0ba80c632eecb01ce2f198e2911804a3f67d56cbc1cf
4
- data.tar.gz: 20efbbd4ebd880e94542a83e26301f9c3b8a5fa97df082da67ba76dfdb795cbc
3
+ metadata.gz: 7d724b2343d56f0c5631abadcd56ef9ca6c9e8453b3c27de6ab6abce72ae1cbe
4
+ data.tar.gz: 7d08b996c8e2956cad6d8a61e3c420ac3afa1dc4de2cbc313d09e67a7e8e821a
5
5
  SHA512:
6
- metadata.gz: 3709866a5e3478bc244d612f16500dec12d34536972e727ded6cb476bcdca4230dab411b8637a4112a88ea9cb9dc8889d36c7c07fc22a3ecaa9fb8cb939b235a
7
- data.tar.gz: ecc6204899d9ba17b1b5eac7a7153146409f399a93ab68eac6c84304e198faf55ba025f8465b031b1aa15b174bb215e35db35d12d9cb77f2e70f634802925b5b
6
+ metadata.gz: 806c90347781b93c8c158d96e84c28ed0a225066b54b56880a8bf6fb042f200583d762df5f1db1f71d9f0f9cedc38f9c4cd52cc2798f38903365370382432484
7
+ data.tar.gz: 4619165d47672cddd6347cd60a6146c87d898a357c73be6d4942ff523641874ebe42f8d43afc18cc5b01e3eb37046c2a2c8d14ef45a1f6749d791b5e591a7a8b
data/README.md CHANGED
@@ -6,7 +6,15 @@
6
6
  # About
7
7
  Theme blog for jekyll using Bulma css.
8
8
 
9
- Live Demo : https://rokhimin.github.io/jekyll-niri
9
+ Live Demo : https://rokhimin.github.io
10
+
11
+ ## Features
12
+ - Modern UI
13
+ - Dark/Light Mode ( I set default Darkmode first time user open website )
14
+ - Comment (Disqus)
15
+ - Logo
16
+ - Page Projects
17
+ - many more
10
18
 
11
19
  ## Installation Jekyll
12
20
 
@@ -57,8 +65,9 @@ footer: Example Theme <a href="https://github.com/rokhimin/jekyll-niri">Niri</a>
57
65
  twitter_username: whdzera
58
66
  github_username: rokhimin
59
67
  logo: niri-logo.png
60
- files: ""
61
68
  theme: niri
69
+ photo_profile: ""
70
+ disqus: ""
62
71
  ```
63
72
 
64
73
  ##### Create file 'projects.markdown' in '/' to use page Projects feature
@@ -67,13 +76,22 @@ theme: niri
67
76
 
68
77
  ```
69
78
  ---
70
- layout: default
71
- title: Projects
79
+ layout: projects
72
80
  permalink: /projects/
73
81
  ---
74
82
  YOUR PROJECT
75
83
  ```
76
84
 
85
+ ##### edit about.markdown
86
+
87
+ ```
88
+ ---
89
+ layout: about
90
+ permalink: /projects/
91
+ ---
92
+ YOUR ABOUT
93
+ ```
94
+
77
95
  ## Contributing
78
96
 
79
97
  Bug reports and pull requests are welcome on GitHub at https://github.com/rokhimin/jekyll-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.
data/_config.yml CHANGED
@@ -6,6 +6,6 @@ url: ""
6
6
  footer: Theme <a href="https://github.com/rokhimin/jekyll-niri">Niri</a> [/code] by whdzera
7
7
  twitter_username: rokhiminwahid
8
8
  github_username: rokhimin
9
- logo: https://i.ibb.co.com/sdVSmQ5x/niri-logo.png
9
+ logo: ""
10
10
  photo_profile: ""
11
11
  disqus: ""
data/_layouts/about.html CHANGED
@@ -5,5 +5,6 @@ layout: default
5
5
  </h1>
6
6
  <div class="year-divider" id=""></div>
7
7
  <img src="{{ site.photo_profile }}" alt="photo_profile" style="width:150px;"/>
8
-
9
- {{ content }}
8
+ <div class="content">
9
+ {{ content }}
10
+ </div>
data/_layouts/home.html CHANGED
@@ -1,37 +1,36 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <h1 class="title has-text-centered animate__animated animate__fadeIn" style="color: var(--primary-color); font-size: 2.5rem; margin-bottom: 2rem;">
5
- <span class="icon" style="margin-right: 0.5rem;"><i class="fas fa-feather-alt"></i></span>
6
- {{ site.description}}
7
- </h1>
8
-
9
- <!-- Fixed blog post loop structure for proper column display -->
10
- {% assign posts_by_year = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
11
- {% for year in posts_by_year %}
12
- <div class="animate__animated animate__fadeIn">
13
- <div class="year-divider" id="{{ year.name }}-ref">
14
- <span class="icon" style="margin-right: 0.5rem;"><i class="fas fa-calendar-alt"></i></span>{{ year.name }}
15
- </div>
16
- </div>
17
-
18
- <div class="columns is-multiline">
19
- {% for post in year.items %}
20
- <div class="column is-4">
21
- <div class="post-card animate__animated animate__fadeIn">
22
- <div class="post-card-header">
23
- <h4><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h4>
24
- <span class="category-tag">{{ post.categories | first }}</span>
25
- </div>
26
- <div class="post-card-content">
27
- <p class="post-date"><i class="far fa-calendar"></i> {{ post.date | date: "%b %-d, %Y" }}</p>
28
- <p class="mt-3">{{ post.content | strip_html | truncatewords: 20 }}</p>
29
- <a href="{{ post.url | prepend: site.baseurl }}" class="button is-small is-outlined mt-4" style="color: var(--primary-color); border-color: var(--primary-color);">
30
- Read more <span class="icon"><i class="fas fa-arrow-right"></i></span>
31
- </a>
32
- </div>
33
- </div>
34
- </div>
35
- {% endfor %}
36
- </div>
37
- {% endfor %}
4
+ <h1 class="title has-text-centered animate__animated animate__fadeIn" style="color: var(--primary-color); font-size: 2.5rem; margin-bottom: 2rem;">
5
+ <span class="icon" style="margin-right: 0.5rem;"><i class="fas fa-feather-alt"></i></span>
6
+ {{ site.description }}
7
+ </h1>
8
+
9
+ {% assign posts_by_year = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
10
+ {% for year in posts_by_year %}
11
+ <div class="animate__animated animate__fadeIn">
12
+ <div class="year-divider" id="{{ year.name }}-ref">
13
+ <span class="icon" style="margin-right: 0.5rem;"><i class="fas fa-calendar-alt"></i></span>{{ year.name }}
14
+ </div>
15
+ </div>
16
+
17
+ <div class="columns is-multiline">
18
+ {% for post in year.items %}
19
+ <div class="column is-4">
20
+ <div class="post-card animate__animated animate__fadeIn">
21
+ <div class="post-card-header">
22
+ <h4><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h4>
23
+ <span class="category-tag">{{ post.categories | first }}</span>
24
+ </div>
25
+ <div class="post-card-content">
26
+ <p class="post-date"><i class="far fa-calendar"></i> {{ post.date | date: "%b %-d, %Y" }}</p>
27
+ <p class="mt-3">{{ post.content | strip_html | truncatewords: 20 }}</p>
28
+ <a href="{{ post.url | prepend: site.baseurl }}" class="button is-small is-outlined mt-4" style="color: var(--primary-color); border-color: var(--primary-color);">
29
+ Read more <span class="icon"><i class="fas fa-arrow-right"></i></span>
30
+ </a>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ {% endfor %}
35
+ </div>
36
+ {% endfor %}
data/_layouts/post.html CHANGED
@@ -5,9 +5,13 @@ layout: default
5
5
  </h1>
6
6
  <p>{{ page.date | date: "%Y-%m-%d" }}</p>
7
7
  <div class="year-divider" id=""></div>
8
+ <div class="content">
8
9
  {{ content }}
10
+ </div>
9
11
  <br>
10
12
  <br>
13
+ {% if page.comments %}
14
+
11
15
  <div id="disqus_thread"></div>
12
16
  <script>
13
17
  var disqus_config = function () {
@@ -22,3 +26,5 @@ var disqus_config = function () {
22
26
  (d.head || d.body).appendChild(s);
23
27
  })();
24
28
  </script>
29
+
30
+ {% endif %}
@@ -5,4 +5,6 @@ layout: default
5
5
  </h1>
6
6
  <div class="year-divider" id=""></div>
7
7
 
8
- {{ content }}
8
+ <div class="content">
9
+ {{ content }}
10
+ </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niri
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.0'
4
+ version: '3.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - rokhimin Wahid