krad 3.4.1 → 3.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a45f8f098658044e0b80044ccbaef4293aac584e
4
- data.tar.gz: af9737db0b3a80242781f295d4ca0d103abd1358
3
+ metadata.gz: 1422133972d1fb92a9ffe8fc1fd586b012513f35
4
+ data.tar.gz: 75dbe316ada7c3fc45c2b152db192088add1b38c
5
5
  SHA512:
6
- metadata.gz: 4663af762d1ef62bb16377aae163291adaa93ec97bec84e3797521a1f0af9bcd450ec94f465ece9d3ce971553409e45f9381a401f79624540c58b333d7ed52f1
7
- data.tar.gz: 4f35ca18be32c437c98b000c5bccdb440f410c14b0c6e384a397211e9d427a59c82ed840a93a4bee40ada7a7ddaaf534c68fe8925754cf71bf293f86304a1d06
6
+ metadata.gz: 2b029fde520d061c653a6977e045eb5eab38eafe38f4f198a6babbd7a9ff952377f47470b7fad8885df91306a43f8011713b3cbe2d737a3142405c64af055549
7
+ data.tar.gz: 5962a6850a6de0d101b4c235eef3e47f8920ca41c935448f16366a40a03b6fbc69fe935dba0288f755aa303dae099f0a86553d5d9c38b8afffecd5a9f7074396
@@ -2,7 +2,7 @@
2
2
  <div class="wrapper pure-u-1 pure-u-md-1">
3
3
  <p class="colophon text-center">
4
4
  <small>
5
- &copy; <time datetime="{{ site.time | date_to_xmlschema }}">{{ site.time | date: '%Y' }}</time>. All rights reserved.
5
+ &copy; <time datetime="{{ site.time | date_to_xmlschema }}">{{ site.time | date: '%Y' }}</time> Krad. All rights reserved.
6
6
  </small>
7
7
  </p>
8
8
  </div>
@@ -2,9 +2,9 @@
2
2
  <div class="wrapper pure-u-1 pure-u-md-1">
3
3
  <div class="navbar pure-menu pure-menu-horizontal rm-can-transform">
4
4
  <ul class="navigation pure-menu-list">
5
- <li class="pure-menu-item"><a href="{{ "/archive" | relative_url }}" title="Back to Archive">@Krad</a></li>
5
+ <li class="pure-menu-item"><a href="{{ site.url }}" title="Home Page">@Krad</a></li>
6
6
  <li class="pure-menu-item"><a href="{{ "/about" | relative_url }}">About</a></li>
7
- <!--<li class="pure-menu-item"><a href="{{ "/archive" | relative_url }}">Archive</a></li>-->
7
+ <li class="pure-menu-item"><a href="{{ "/archive" | relative_url }}">Archive</a></li>
8
8
  <li class="pure-menu-item"><a href="http://photo.tunglt.com">Photo</a></li>
9
9
  <!--<li class="pure-menu-item"><a href="{{ "/portfolio" | relative_url }}">Portfolio</a></li>-->
10
10
  <li class="pure-menu-item"><a href="{{ "/contact" | relative_url }}">Contact</a></li>
data/_layouts/home.html CHANGED
@@ -11,23 +11,14 @@
11
11
 
12
12
  <main class="main-wrapper">
13
13
  <div class="page wrapper">
14
- <h1 class="page-title">{{ page.title }}</h1>
15
- <ul class="posts-list">
16
- {% for post in site.posts %}
17
-
18
- {% unless post.next %}
19
- <h2>{{ post.date | date: '%Y' }}</h2>
20
- {% else %}
21
- {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
22
- {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
23
- {% if year != nyear %}
24
- <h2>{{ post.date | date: '%Y' }}</h2>
25
- {% endif %}
26
- {% endunless %}
27
-
28
- <li><span class="archive-month">{{ post.date | date:"%b" }}</span> » <a class="archive-title" href="{{ post.url }}">{{ post.title }}</a></li>
29
- {% endfor %}
30
- </ul>
14
+ <h1 class="home-title">
15
+ <center><img src="{{ "/assets/images/avatar.png" | relative_url }}" alt="Logo" /></center>
16
+ </h1>
17
+ <!-- Search box -->
18
+ <div class="pure-form" id="search-container">
19
+ <input type="text" class="pure-input-1 pure-input-rounded" id="search-input" placeholder="What are you looking for?...">
20
+ <ul id="results-container"></ul>
21
+ </div>
31
22
  </div>
32
23
  </main>
33
24
 
@@ -6,6 +6,32 @@
6
6
  right: 0;
7
7
  background: url(/public/img/mongo.png) center center no-repeat transparent;
8
8
  }
9
- .posts-list>li {
10
- margin-bottom: 0.25rem;
9
+
10
+ .home-title {
11
+ height: 6em;
12
+
13
+ img {
14
+ border-radius: 50%;
15
+ margin-top: 1.2em;
16
+ }
17
+ }
18
+
19
+ #results-container {
20
+ padding: 1em 0.5em 0;
21
+ list-style: none;
22
+
23
+ li {
24
+ margin-bottom: 0.25rem;
25
+
26
+ &:before {
27
+ content: "»";
28
+ margin-right: 0.5em;
29
+ }
30
+ &:hover {
31
+ text-decoration: underline;
32
+ }
33
+ a {
34
+ @include set-font($font-family-serif, 1rem, $color-gray-darker);
35
+ }
36
+ }
11
37
  }
@@ -9,4 +9,9 @@
9
9
  }
10
10
  .archive-title {
11
11
  @include set-font($font-family-serif, 1rem, $color-gray-darker);
12
+ }
13
+ #posts-list {
14
+ li {
15
+ margin-bottom: 0.25rem;
16
+ }
12
17
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krad
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.1
4
+ version: 3.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lê Thanh Tùng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-04 00:00:00.000000000 Z
11
+ date: 2017-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll