niri 3.0 → 3.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 +4 -4
- data/README.md +22 -4
- data/_config.yml +1 -1
- data/_includes/footer.html +0 -4
- data/_layouts/about.html +3 -2
- data/_layouts/default.html +1 -2
- data/_layouts/home.html +33 -34
- data/_layouts/post.html +6 -0
- data/_layouts/projects.html +3 -1
- data/assets/css/main.css +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b03aca48b546d789e775d1c867379f813cc7a19dfff33025439876768a9d0fb1
|
4
|
+
data.tar.gz: 88c98735174f3c68f8d6df933fd153271a54cf73808860be3c3b37b68aee510a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dde6ada3315bc89b16bc36ff8a836e9c3f62c70ed60262e5d63f91518af485a73e717cf56e50d7051457f88b191b44eef74dcfd2d6cec9f67ac50a76adf44d0a
|
7
|
+
data.tar.gz: 0ba6c8f745acfe9d82107b03621c3085a5099a023b13920e430d4f70a9c262d4f022c37a032bc5cfd21355cd4b2ca4715b84a158999ce9babc46d81b13b7514a
|
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
|
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:
|
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
data/_includes/footer.html
CHANGED
data/_layouts/about.html
CHANGED
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -1,37 +1,36 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
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 %}
|
data/_layouts/projects.html
CHANGED
data/assets/css/main.css
CHANGED