jekyll-theme-ink 0.1.3 → 0.1.4

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: faf081a35c579b4d9d222bd043e029a153fb92019747ae3357ba908605d13dce
4
- data.tar.gz: 100a58fb4d076c71e8a52e6f4d1c783f3a97dd4f8f71d3e03ef6a3749d75560f
3
+ metadata.gz: 4aac86463c7596c91240938143d87c08c2ce9a47414bae39c1e86bb1274ed56a
4
+ data.tar.gz: 30424b0d99557626119cbc906452db41c994b590ac6cac4322e18cab87196983
5
5
  SHA512:
6
- metadata.gz: 518dbcc8160cc26cd5ee75d88b5d258ca8e0bbc22dd7430b1c1729d1a0c2b249efff5f58cfaeba777d0cc817c1429ab861195f8158e9ea83621221873820f67b
7
- data.tar.gz: 0b744aa6b2c6462d3a3f813faebfac297147299dadfaa60d06d23f98d76b863d2633e667030ea95c8c8cdffd2ed8a8d4fee5f3d8e776552b5d1628120e0bce13
6
+ metadata.gz: 79cfa7fcbcad7a93789327976ad9fd6e3697b0c83dcc3bf2cbb27e9259241139e0fb4eec4fba69aa1421390b58a76761b45c52172f9eb07cd50dc2d3a2a93df1
7
+ data.tar.gz: 813d213c09c3777e3fecbbe81cc423d74172e9498f9ed2dfb914da300dfbf345da216bf46f1b887cff2061cd08a03587dce65949b21c365abcc890940855e244
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # jekyll-theme-ink
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/jekyll-theme-ink.svg)](https://badge.fury.io/rb/jekyll-theme-ink)
4
+
3
5
  This is a simple jekyll theme based on [minima](https://github.com/jekyll/minima).
4
6
 
5
7
  Preview [demo](https://kemingy.github.io/jekyll-theme-ink/)
@@ -1,30 +1,10 @@
1
1
  <div class="">
2
- <a href="#" id="back-to-top">
2
+ <a href="" id="back-to-top">
3
3
  &#10148;
4
4
  </a>
5
5
  </div>
6
6
 
7
7
  <script type="text/javascript">
8
- function scrollToTop() {
9
- let cosParameter = window.scrollY / 2,
10
- scrollCount = 0,
11
- scrollDuration = 500,
12
- oldTimestamp = performance.now();
13
- function step(newTimestamp) {
14
- scrollCount += Math.PI / (scrollDuration / newTimestamp - oldTimestamp);
15
- if (scrollCount >= Math.PI) window.scrollTo(0, 0);
16
- if (window.scrollY === 0) return;
17
- window.scrollTo(0, Math.round(cosParameter + cosParameter * Math.cos(scrollCount)));
18
- oldTimestamp = newTimestamp;
19
- window.requestAnimationFrame(step);
20
- console.log('step...');
21
- }
22
- window.requestAnimationFrame(step);
23
- document.getElementById('back-to-top').style.display = 'none';
24
- }
25
-
26
- document.getElementById('back-to-top').click(scrollToTop);
27
-
28
8
  document.onscroll = function() {
29
9
  if (window.scrollY >= 500) {
30
10
  document.getElementById('back-to-top').style.display = 'block';
@@ -32,6 +12,4 @@
32
12
  document.getElementById('back-to-top').style.display = 'none';
33
13
  }
34
14
  }
35
-
36
-
37
15
  </script>
@@ -16,7 +16,7 @@
16
16
  <span class="menu-icon">
17
17
  <svg viewBox="0 0 18 15" width="18px" height="15px">
18
18
  <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
19
- </svg>
19
+ </svg>
20
20
  </span>
21
21
  </label>
22
22
 
data/_layouts/home.html CHANGED
@@ -18,7 +18,6 @@ layout: default
18
18
  {% for post in site.posts %}
19
19
  <div class="timeline">
20
20
  <div class="timeline-date">
21
- <!-- <span class="post-meta">{{ post.date | date: date_format }}</span> -->
22
21
  {{ post.date | date: date_format }}
23
22
  </div>
24
23
  <div class="timeline-container">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-ink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - keming
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-07 00:00:00.000000000 Z
11
+ date: 2019-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll