jekyll-material-theme 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_layouts/post.html +1 -1
- data/assets/js/init.js +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab91d073f2b6ad2b68e2d3ad26ac8598c2606991
|
4
|
+
data.tar.gz: 52fc3e1717201d27a582fb50b66f8b2daeb9fd15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5761847f4707bb7c673444ac56b36185f4c4035a037997371aa7d37b2240d95bde4bf497bac84252c41f539b5b41eb7e074e4234f00b9bbcaae384a6be0f5ff1
|
7
|
+
data.tar.gz: 6701ca66d4c38b3dfe94931ff43818836a90cb3364fa949ec1c4970133e502908f7e6215f1277fa31fe46e006d02e7de256c6736bc283a606502aa5452a3145c
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ A Jekyll Theme based on [Material Design](https://material.io/) using [Materiali
|
|
4
4
|
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/jekyll-material-theme.svg)](https://badge.fury.io/rb/jekyll-material-theme)
|
6
6
|
|
7
|
-
[![CircleCI](https://circleci.com/gh/jameshamann/jekyll-material-theme.svg?style=svg)](https://circleci.com/gh/jameshamann/jekyll-material-theme)
|
7
|
+
CircleCI Build Status: [![CircleCI](https://circleci.com/gh/jameshamann/jekyll-material-theme.svg?style=svg)](https://circleci.com/gh/jameshamann/jekyll-material-theme)
|
8
8
|
|
9
9
|
<a href="https://imgur.com/D9DSyuk"><img src="https://i.imgur.com/D9DSyuk.gif" title="source: imgur.com" /></a>
|
10
10
|
|
@@ -229,7 +229,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/jamesh
|
|
229
229
|
|
230
230
|
## Development
|
231
231
|
|
232
|
-
To set up your environment to develop and further customise this theme, fork the repo and explore the ```_assets``` directory, which includes all the ```css, js``` and ```font``` folders.
|
232
|
+
To set up your environment to develop and further customise this theme, fork the repo and explore the ```_assets``` directory, which includes all the ```css, js``` and ```font``` folders. If you're adding a feature, please add some tests in the ```spec``` directory to ensure everyhting works as intended.
|
233
233
|
|
234
234
|
## Contributors
|
235
235
|
|
data/_layouts/post.html
CHANGED
@@ -4,7 +4,7 @@ layout: default
|
|
4
4
|
<div class="container">
|
5
5
|
<div class="col s10">
|
6
6
|
<div class="row" style="padding:10px;">
|
7
|
-
<a class="waves-effect waves-light btn white-text darken-2 grey z-depth-4" href="/#blog"><i class="material-icons">arrow_back</i></a>
|
7
|
+
<a id="home" class="waves-effect waves-light btn white-text darken-2 grey z-depth-4" href="/#blog"><i class="material-icons">arrow_back</i></a>
|
8
8
|
</div>
|
9
9
|
<h3 class="post-title" itemprop="name headline" style="text-align:center">{{ page.title | escape }}</h3>
|
10
10
|
|
data/assets/js/init.js
CHANGED
@@ -9,7 +9,12 @@
|
|
9
9
|
$('.scrollspy').scrollSpy();
|
10
10
|
$('.tap-target').tapTarget('open');
|
11
11
|
|
12
|
+
if (localStorage.getItem('cookieconsent') === 'true') {
|
13
|
+
$('#cookies').hide()
|
14
|
+
}
|
15
|
+
|
12
16
|
jQuery('#cookies').on('click', function(event) {
|
17
|
+
localStorage.setItem('cookieconsent', 'true')
|
13
18
|
jQuery('#cookies').toggle('hide');
|
14
19
|
});
|
15
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-material-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Hamann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|