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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5e18bee495443271ccc8e2a5ba83d02b236a500be5ee0613a1923f916334ced
4
- data.tar.gz: 5cdc42a7de3610cb57e828a707f4178675829367b81795f423a7f4b5169aae59
3
+ metadata.gz: 4201b14fe46549fa7f2edfd1a9cfc85efe6819b5cbe4cc8ffe21866e2a55b279
4
+ data.tar.gz: 36c9487899ab0d3b631b147244d4bfbe2e1f9cb21cb8b3a8b1849959129edaea
5
5
  SHA512:
6
- metadata.gz: 284d264cb4a29b9d7ffb32376fcae8739e594295baf751b98400e5f13fd14e3888aea70706d07197e474d4cd229191dc8be419a070bd31e632a19cb33dfb041a
7
- data.tar.gz: ae0d3a36e2d29dc42b43bf47de58d33bf92fee0827c13b0d528242f0e55fa908f867399656f2b95a3afa2592774e53c7e7ead05ab4367dab7580a836584c5b1e
6
+ metadata.gz: c372cf6996e68c2d969bf3c57a718b4cee33232ce86b9b9139e9ef8a6f3fb3bbd584c9f1b5565a466e164d9137e8d2d316e39d002b761f9ee1939ff96393c251
7
+ data.tar.gz: 9b96736bcd46654617246eea16318fd6df874a247a76da9e690278f7d8c67fdc2e45d291f420556c325daa72698ac7678ec63c4992dc5d8c60195dcce1bf1831
@@ -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> &copy; {{ site.time | date: '%Y' }}
6
6
  </p>
7
7
  <p>
8
- {% if site.twitterUsername %}<a href="https://twitter.com/{{ site.twitterUsername }}"><font color="#fff">Twitter</font></a>{% endif %}
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.githubUsername %}<a href="https://github.com/{{ site.githubUsername }}"><font color="#fff">Github</font></a>{% endif %}
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
@@ -12,7 +12,10 @@
12
12
  <div action="" class="box">
13
13
 
14
14
  <div class="field">
15
- <div class="content {{ content }}</div>
15
+ <div class="content">
16
+ {{ content }}
17
+ </div>
18
+
16
19
  </div>
17
20
 
18
21
  </div>
@@ -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
- 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>
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
- <div class="c-article__main">
12
- {{ content }}
13
- </div>
14
- </article>
28
+ {% include footer.html %}
29
+ </body>
30
+ </html>
data/_layouts/post.html CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- layout: page
2
+ layout: default
3
3
  ---
4
- {{ content }}
4
+ {{ content }}
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.1'
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