jekyll-theme-modernist 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/_layouts/default.html +10 -12
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccedc0dd296905fc4a2a0ebd7ca5ecd391806a03
4
- data.tar.gz: 82f7d7cb4c68e570857571fee328dbe1f8c167eb
3
+ metadata.gz: bba0c31cf2c6be930602ef30215a4374bdf7913e
4
+ data.tar.gz: 50a339f0e5089f4a3caaaef843667e6684c8741e
5
5
  SHA512:
6
- metadata.gz: 6d7874441672ca20a3931e9cc4476228810f6dd1533219b6e3c5d177469615ecc6f99e9960a033cdb4a8d3318b29fb9570f53daa085d2162893a1bb56603af96
7
- data.tar.gz: 74d278827508fa957900d9410911709b236e179cf0c78270807c841fb0ba247d8bf34b086d590605a4b18dc7ddc2fd4ce021f87a907cf401d06731b88d3a227c
6
+ metadata.gz: 320f76dd4b1d244829416021d2e7bad73138871b3e5acdc37ba17325f313c1c15804fd84c58918b20dce9caba7f94dda7de5a394929d252825de0c3eb5e489c9
7
+ data.tar.gz: 6a39b07fd0ee5b03996d6d5a90d2e1916fa3b17a61d7e290d46a7ce166b8907a062b5e39479a14abd894e13c130d946aff14796f28b85daf2e817666c1526be3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # The Modernist theme
2
2
 
3
- [![Build Status](https://travis-ci.org/pages-themes/jekyll-theme-modernist.svg?branch=master)](https://travis-ci.org/pages-themes/jekyll-theme-modernist) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-modernist.svg)](https://badge.fury.io/rb/jekyll-theme-modernist)
3
+ [![Build Status](https://travis-ci.org/pages-themes/modernist.svg?branch=master)](https://travis-ci.org/pages-themes/modernist) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-modernist.svg)](https://badge.fury.io/rb/jekyll-theme-modernist)
4
4
 
5
5
  *Modernist is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/modernist), or even [use it today](#usage).*
6
6
 
@@ -46,7 +46,7 @@ google_analytics: [Your Google Analytics tracking ID]
46
46
 
47
47
  If you'd like to add your own custom styles:
48
48
 
49
- 1. Create a file called `/assets/css/style.css` in your site
49
+ 1. Create a file called `/assets/css/style.scss` in your site
50
50
  2. Add the following content to the top of the file, exactly as shown:
51
51
  ```scss
52
52
  ---
@@ -67,7 +67,7 @@ If you'd like to change the theme's HTML layout:
67
67
 
68
68
  ## Roadmap
69
69
 
70
- See the [open issues](https://github.com/pagse-themes/modernist/issues) for a list of proposed features (and known issues).
70
+ See the [open issues](https://github.com/pages-themes/modernist/issues) for a list of proposed features (and known issues).
71
71
 
72
72
  ## Project philosophy
73
73
 
@@ -44,17 +44,15 @@
44
44
  </footer>
45
45
  <!--[if !IE]><script>fixScale(document);</script><![endif]-->
46
46
 
47
- {% if site.google_analytics %}
48
- <script type="text/javascript">
49
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
50
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
51
- </script>
52
- <script type="text/javascript">
53
- try {
54
- var pageTracker = _gat._getTracker("{{ site.google_analytics }}");
55
- pageTracker._trackPageview();
56
- } catch(err) {}
57
- </script>
58
- {% endif %}
47
+ {% if site.google_analytics %}
48
+ <script type="text/javascript">
49
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
50
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
51
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
52
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
53
+ ga('create', '{{ site.google_analytics }}', 'auto');
54
+ ga('send', 'pageview');
55
+ </script>
56
+ {% endif %}
59
57
  </body>
60
58
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-modernist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Smith
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-12-14 00:00:00.000000000 Z
12
+ date: 2017-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 2.5.2
63
+ rubygems_version: 2.6.11
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: Modernist is a Jekyll theme for GitHub Pages