niri 0.1 → 1.0
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/_includes/footer.html +2 -2
- data/_includes/listing.html +0 -0
- data/_layouts/default.html +4 -1
- data/_layouts/home.html +25 -0
- data/_layouts/page.html +28 -12
- data/_layouts/post.html +2 -2
- metadata +3 -2
- data/_config.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4201b14fe46549fa7f2edfd1a9cfc85efe6819b5cbe4cc8ffe21866e2a55b279
|
4
|
+
data.tar.gz: 36c9487899ab0d3b631b147244d4bfbe2e1f9cb21cb8b3a8b1849959129edaea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c372cf6996e68c2d969bf3c57a718b4cee33232ce86b9b9139e9ef8a6f3fb3bbd584c9f1b5565a466e164d9137e8d2d316e39d002b761f9ee1939ff96393c251
|
7
|
+
data.tar.gz: 9b96736bcd46654617246eea16318fd6df874a247a76da9e690278f7d8c67fdc2e45d291f420556c325daa72698ac7678ec63c4992dc5d8c60195dcce1bf1831
|
data/_includes/footer.html
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
<p>Using Theme Niri [/code] by <a href="https://github.com/rokhimin"><font color="#fff"> {{ site.title }} </font></a> © {{ site.time | date: '%Y' }}
|
6
6
|
</p>
|
7
7
|
<p>
|
8
|
-
{% if site.
|
8
|
+
{% if site.twitter_username %}<a href="https://twitter.com/{{ site.twitter_username }}"><font color="#fff">Twitter</font></a>{% endif %}
|
9
9
|
|
|
10
|
-
{% if site.
|
10
|
+
{% if site.github_username %}<a href="https://github.com/{{ site.github_username }}"><font color="#fff">Github</font></a>{% endif %}
|
11
11
|
</p>
|
12
12
|
</div>
|
13
13
|
</footer>
|
File without changes
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
ADDED
@@ -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="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 %}
|
25
|
+
{% endfor %}
|
data/_layouts/page.html
CHANGED
@@ -1,14 +1,30 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
|
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>
|
8
26
|
</div>
|
9
|
-
</header>
|
10
27
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
</article>
|
28
|
+
{% include footer.html %}
|
29
|
+
</body>
|
30
|
+
</html>
|
data/_layouts/post.html
CHANGED
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: '0
|
4
|
+
version: '1.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rokhimin Wahid
|
@@ -31,11 +31,12 @@ extra_rdoc_files: []
|
|
31
31
|
files:
|
32
32
|
- LICENSE.txt
|
33
33
|
- README.md
|
34
|
-
- _config.yml
|
35
34
|
- _includes/footer.html
|
36
35
|
- _includes/head.html
|
36
|
+
- _includes/listing.html
|
37
37
|
- _includes/navigation.html
|
38
38
|
- _layouts/default.html
|
39
|
+
- _layouts/home.html
|
39
40
|
- _layouts/page.html
|
40
41
|
- _layouts/post.html
|
41
42
|
homepage: https://github.com/rokhimin/Niri
|
data/_config.yml
DELETED
@@ -1,22 +0,0 @@
|
|
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
|