jekyll-theme-perry 0.1.14 → 0.1.16

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
- SHA1:
3
- metadata.gz: 8018f782b1ba204ef903d52e5f06590b1bc8f5b3
4
- data.tar.gz: 9ad70b7d859834d8b7d463863dcf0c49c18a89d7
2
+ SHA256:
3
+ metadata.gz: fe04856782d69536cb425a108d80ab19fcc382ce15158168faebc0c97dd31312
4
+ data.tar.gz: 758cc5f2b2d554bc7672421a4c2b883f0e70496d2e380ef74186d54efa1063b6
5
5
  SHA512:
6
- metadata.gz: df67d4ec2cecc1a7efe18f47ea0e9278093261324f1d2c32347e63c85392ff79fb64a1c4058854cdc0f87f2761bbe3b9ef3a6c6bea87449d4fed38209060167e
7
- data.tar.gz: 7348764816eeb42a7e71e3ebf049a86d69e17aeab4bcf075c3d27e20a9a69862a5594c0d6eeff283b77260eb0e1fcb3952461caedaa4dff4c102529e0a497616
6
+ metadata.gz: 2f0289f76e0348edf9bcdf64b7158febdd437acc53dd05a34661a7e00b414a231bdc36bdea1120b258edd619b09c7d7ae556c3e18806be595dcefbd5479e854c
7
+ data.tar.gz: a9b5a71149dc99a163644307f2e7edf7969520076562ae318a584c0c42b965338fe59ab0e96a0841fd7a377d347d0bef626bcbd8fa3b7f0dd88f440b659bd04c
data/README.md CHANGED
@@ -170,11 +170,13 @@ then be included at the bottom of the page displayed with the oldest post first.
170
170
 
171
171
  ### Google Analytics
172
172
 
173
- You can now make use of Google Analytics by including the following in your `_config.yml` file:
173
+ You can now make use of Google Analytics and/or Google Analytics 4 by including the following in your
174
+ `_config.yml` file:
174
175
 
175
176
  ```yaml
176
177
  google:
177
178
  analytics: UA-XXXXXXXX-X
179
+ analytics4: G-XXXXXXXXXX
178
180
  ```
179
181
 
180
182
  This will only be included in the site if you define the `JEKYLL_ENV` as `production` before
@@ -1,89 +1,91 @@
1
1
  <!DOCTYPE html>{% capture title %}{% if page.title == 'Home' %} {{ site.title }} | {{ site.description }}{% else %}{{ page.title }} | {{ site.title }}{% endif %}{% endcapture %}{% if page.author %}{% assign auth = site.data.authors[page.author] %}{% else %}{% assign auth = site.data.authors[site.author] %}{% endif %}{% assign copyname = site.data.authors[site.author].name %}{% capture year %}{{ site.time | date: '%Y' }}{% endcapture %}{% capture copyright %}Copyright &copy; {% unless site.meta.copyright.year and year == site.meta.copyright.year %}{{ site.meta.copyright.year }} - {% endunless %}{{ year }} {{ copyname }}{% endcapture %}
2
2
  <html xmlns='http://www.w3.org/1999/xhtml' prefix='og: http://ogp.me/ns# fb: http://www.facebook.com/2008/fbml# article: http://ogp.me/ns/article#' lang='en-GB'>
3
- <head prefix='og: http://ogp.me/ns#'>
4
- <title>{{title}}</title>
3
+ <head prefix='og: http://ogp.me/ns#'>
4
+ <title>{{title}}</title>
5
5
 
6
- <meta charset='utf-8'>
7
- <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
8
- <meta http-equiv='X-Clacks-Overhead' content='GNU Terry Pratchett'>
9
- <meta name='author' content='{{auth.name}}'>
10
- <meta name='viewport' content='width=device-width, initial-scale=1'>
6
+ <meta charset='utf-8'>
7
+ <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
8
+ <meta http-equiv='X-Clacks-Overhead' content='GNU Terry Pratchett'>
9
+ <meta name='author' content='{{auth.name}}'>
10
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
11
11
 
12
- <link href='https://fonts.googleapis.com/css?family=Indie+Flower|Lato:400,400i,900,900i&subset=latin-ext' rel='stylesheet'>
13
- <link rel='stylesheet' href='/assets/css/style.css'>
14
- <link rel='alternate' href='{{site.url}}/feed.xml' type='application/rss+xml' title='{{ site.title }}'>
15
- <link rel='author' href='https://plus.google.com/{{auth.google}}'>
12
+ <link href='https://fonts.googleapis.com/css?family=Indie+Flower|Lato:400,400i,900,900i&subset=latin-ext' rel='stylesheet'>
13
+ <link rel='stylesheet' href='/assets/css/style.css'>
14
+ <link rel='alternate' href='{{site.url}}/feed.xml' type='application/rss+xml' title='{{ site.title }}'>
15
+ <link rel='author' href='https://plus.google.com/{{auth.google}}'>
16
16
 
17
- <script defer src='/assets/scripts/vendor/modernizr-2.6.2-respond-1.1.0.min.js'></script>
18
- {% if jekyll.environment == 'production' and site.google.analytics %}<script>
19
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
20
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
21
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
22
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
17
+ <script defer src='/assets/scripts/vendor/modernizr-2.6.2-respond-1.1.0.min.js'></script>
18
+ {% if jekyll.environment == 'production' and site.google.analytics4 and site.google.analytics %}
19
+ <!-- Google tag (gtag.js) -->
20
+ <script async src='https://www.googletagmanager.com/gtag/js?id={{site.google.analytics}}'></script>
21
+ <script>
22
+ window.dataLayer = window.dataLayer || [];
23
+ function gtag(){dataLayer.push(arguments);}
24
+ gtag('js', new Date());
23
25
 
24
- ga('create', '{{site.google.analytics}}', 'auto');
25
- ga('send', 'pageview');
26
- </script>{% endif %}
26
+ gtag('config', '{{site.google.analytics}}');
27
+ gtag('config', '{{site.google.analytics4}}');
28
+ </script>{% endif %}
27
29
 
28
- {% seo title=false %}
29
- </head>
30
+ {% seo title=false %}
31
+ </head>
30
32
 
31
- <body>
32
- <header role='banner' itemscope itemtype='//schema.org/WPHeader'>
33
- <h1 class='site-title'>{% if site.logo %}{% if site.logo contains 'svg' %}<object type='image/svg+xml' data='{{ site.logo }}' title='{{ site.title }}' name='{{ site.title }} Logo'>{{ site.title }}</object>{% else %}<img src='{{ site.logo }}' title='{{ site.title }}' alt='{{ site.title }} Logo' />{% endif %}{% else %}{{ site.title }}{% endif %}</h1>
34
- {% if site.description %}<p class='site-description'>{{ site.description }}</p>{% endif %}
35
- </header>
33
+ <body>
34
+ <header role='banner' itemscope itemtype='//schema.org/WPHeader'>
35
+ <h1 class='site-title'>{% if site.logo %}{% if site.logo contains 'svg' %}<object type='image/svg+xml' data='{{ site.logo }}' title='{{ site.title }}' name='{{ site.title }} Logo'>{{ site.title }}</object>{% else %}<img src='{{ site.logo }}' title='{{ site.title }}' alt='{{ site.title }} Logo' />{% endif %}{% else %}{{ site.title }}{% endif %}</h1>
36
+ {% if site.description %}<p class='site-description'>{{ site.description }}</p>{% endif %}
37
+ </header>
36
38
 
37
- <nav itemscope itemtype='//schema.org/SiteNavigationElement'>
38
- {% include nav.html links=site.data.links class='main-menu' %}
39
- </nav><!-- #primary-navigation -->
39
+ <nav itemscope itemtype='//schema.org/SiteNavigationElement'>
40
+ {% include nav.html links=site.data.links class='main-menu' %}
41
+ </nav><!-- #primary-navigation -->
40
42
 
41
- <main itemscope itemtype='//schema.org/Blog'>
43
+ <main itemscope itemtype='//schema.org/Blog'>
42
44
 
43
- {{ content }}
45
+ {{ content }}
44
46
 
45
- </main><!-- #main-content -->
47
+ </main><!-- #main-content -->
46
48
 
47
- <footer role='contentinfo' itemscope itemtype='//schema.org/WPFooter'>{% assign author = site.data.authors[site.author] %}
48
- <div class='social'>
49
- {% if author.facebook %}<span class='fa-stack fa-2x'>
50
- <a href='//www.facebook.com/{{author.facebook}}' title='Facebook'>
51
- <i class='fa fa-circle fa-stack-2x'></i>
52
- <i class='fa fa-facebook fa-stack-1x fa-inverse'></i>
53
- </a>
54
- </span>{% endif %}
55
- {% if author.twitter %}<span class='fa-stack fa-2x'>
56
- <a href='//twitter.com/{{author.twitter}}' title='Twitter'>
57
- <i class='fa fa-circle fa-stack-2x'></i>
58
- <i class='fa fa-twitter fa-stack-1x fa-inverse'></i>
59
- </a>
60
- </span>{% endif %}
61
- {% if author.github %}<span class='fa-stack fa-2x'>
62
- <a href='//github.com/{{author.github}}' title='GitHub'>
63
- <i class='fa fa-circle fa-stack-2x'></i>
64
- <i class='fa fa-github-alt fa-stack-1x fa-inverse'></i>
65
- </a>
66
- </span>{% endif %}
67
- {% if author.email %}<span class='fa-stack fa-2x'>
68
- <a href='mai&#108;to&#58;{{author.email}}' title='Email'>
69
- <i class='fa fa-circle fa-stack-2x'></i>
70
- <i class='fa fa-envelope fa-stack-1x fa-inverse'></i>
71
- </a>
72
- </span>{% endif %}
73
- <span class='fa-stack fa-2x'>
74
- <a href='/feed.xml' title='RSS Feed'>
75
- <i class='fa fa-circle fa-stack-2x feed'></i>
76
- <i class='fa fa-rss fa-stack-1x fa-inverse'></i>
77
- </a>
78
- </span>
79
- </div>{% if site.meta %}
80
- <span class='site-meta'>
81
- {% if site.meta.copyright %}<small class='copyright'>{{ copyright }}</small>{% endif %}
82
- {% if site.meta.powered-by %}<small>Powered by <a href='//jekyllrb.com/' title='Jekyll &bull; Simple, blog-aware, static sites'>Jekyll</a></small> {% endif %}
83
- {% if site.meta.hosting %}<small>Hosted at <a href='{{ site.meta.hosting.link }}' title='{{ site.meta.hosting.name }}'>{{ site.meta.hosting.name }}</a></small>{% endif %}
84
- </span>{% endif %}
85
- </footer><!-- #page-footer -->
49
+ <footer role='contentinfo' itemscope itemtype='//schema.org/WPFooter'>{% assign author = site.data.authors[site.author] %}
50
+ <div class='social'>
51
+ {% if author.facebook %}<span class='fa-stack fa-2x'>
52
+ <a href='//www.facebook.com/{{author.facebook}}' title='Facebook'>
53
+ <i class='fa fa-circle fa-stack-2x'></i>
54
+ <i class='fa fa-facebook fa-stack-1x fa-inverse'></i>
55
+ </a>
56
+ </span>{% endif %}
57
+ {% if author.twitter %}<span class='fa-stack fa-2x'>
58
+ <a href='//twitter.com/{{author.twitter}}' title='Twitter'>
59
+ <i class='fa fa-circle fa-stack-2x'></i>
60
+ <i class='fa fa-twitter fa-stack-1x fa-inverse'></i>
61
+ </a>
62
+ </span>{% endif %}
63
+ {% if author.github %}<span class='fa-stack fa-2x'>
64
+ <a href='//github.com/{{author.github}}' title='GitHub'>
65
+ <i class='fa fa-circle fa-stack-2x'></i>
66
+ <i class='fa fa-github-alt fa-stack-1x fa-inverse'></i>
67
+ </a>
68
+ </span>{% endif %}
69
+ {% if author.email %}<span class='fa-stack fa-2x'>
70
+ <a href='mai&#108;to&#58;{{author.email}}' title='Email'>
71
+ <i class='fa fa-circle fa-stack-2x'></i>
72
+ <i class='fa fa-envelope fa-stack-1x fa-inverse'></i>
73
+ </a>
74
+ </span>{% endif %}
75
+ <span class='fa-stack fa-2x'>
76
+ <a href='/feed.xml' title='RSS Feed'>
77
+ <i class='fa fa-circle fa-stack-2x feed'></i>
78
+ <i class='fa fa-rss fa-stack-1x fa-inverse'></i>
79
+ </a>
80
+ </span>
81
+ </div>{% if site.meta %}
82
+ <span class='site-meta'>
83
+ {% if site.meta.copyright %}<small class='copyright'>{{ copyright }}</small>{% endif %}
84
+ {% if site.meta.powered-by %}<small>Powered by <a href='//jekyllrb.com/' title='Jekyll &bull; Simple, blog-aware, static sites'>Jekyll</a></small> {% endif %}
85
+ {% if site.meta.hosting %}<small>Hosted at <a href='{{ site.meta.hosting.link }}' title='{{ site.meta.hosting.name }}'>{{ site.meta.hosting.name }}</a></small>{% endif %}
86
+ </span>{% endif %}
87
+ </footer><!-- #page-footer -->
86
88
 
87
- {% include foot-scripts.html %}
88
- </body>
89
+ {% include foot-scripts.html %}
90
+ </body>
89
91
  </html>
@@ -4,6 +4,7 @@
4
4
  nav {
5
5
  position: fixed;
6
6
  width: 30%;
7
+ max-width: 250px;
7
8
  }
8
9
  header[role='banner'] {
9
10
  @include box-shadow( 0, 0, 0.75em, 0.4em, rgba( 17, 17, 17, 0.65 ) );
@@ -68,6 +69,7 @@
68
69
  header[role='banner'],
69
70
  nav {
70
71
  width: 25%;
72
+ max-width: 250px;
71
73
  }
72
74
 
73
75
  main,
@@ -83,6 +85,7 @@
83
85
  header[role='banner'],
84
86
  nav {
85
87
  width: 20%;
88
+ max-width: 250px;
86
89
  }
87
90
 
88
91
  main,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-perry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Perry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-17 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.4'
19
+ version: 3.9.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.4'
26
+ version: 3.9.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-sass-converter
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.5.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.5.2
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: jekyll-archives
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +58,14 @@ dependencies:
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '0.12'
61
+ version: '0.16'
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '0.12'
68
+ version: '0.16'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: jekyll-seo-tag
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +86,14 @@ dependencies:
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '1.13'
89
+ version: 2.2.33
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '1.13'
96
+ version: 2.2.33
83
97
  description:
84
98
  email:
85
99
  - gems@perrymail.me.uk
@@ -176,8 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
190
  - !ruby/object:Gem::Version
177
191
  version: '0'
178
192
  requirements: []
179
- rubyforge_project:
180
- rubygems_version: 2.5.2
193
+ rubygems_version: 3.3.5
181
194
  signing_key:
182
195
  specification_version: 4
183
196
  summary: Custom Jekyll theme for my personal homepage