jekyll-material-theme 0.4.1 → 0.4.2

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
  SHA1:
3
- metadata.gz: 6c369070e6406d1a78643dd159c6e0feed9a1b3d
4
- data.tar.gz: 81d891ec7af3cba6156ee334bf0f700eed8c7cd5
3
+ metadata.gz: ab91d073f2b6ad2b68e2d3ad26ac8598c2606991
4
+ data.tar.gz: 52fc3e1717201d27a582fb50b66f8b2daeb9fd15
5
5
  SHA512:
6
- metadata.gz: d9a65355976122cb725ab5931c99a9d6f56df0a2885afead7a6287b757eada391526552d3e443227cd097bbefcb03c729a6f51153c5c94209bca2affaf39d212
7
- data.tar.gz: 0b0d1b02252cf09d0e28addfd2314092254766c1a0b574df0fd2e24937d6c1338ce84a260e128922c7eaea77ddaee47cdcabfc9afb090b85693849db0bc6340a
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.1
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-30 00:00:00.000000000 Z
11
+ date: 2018-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll