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 +5 -5
- data/README.md +3 -1
- data/_layouts/default.html +76 -74
- data/_sass/theme/_media-queries.scss +3 -0
- metadata +23 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fe04856782d69536cb425a108d80ab19fcc382ce15158168faebc0c97dd31312
|
4
|
+
data.tar.gz: 758cc5f2b2d554bc7672421a4c2b883f0e70496d2e380ef74186d54efa1063b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/_layouts/default.html
CHANGED
@@ -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 © {% 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
|
-
|
4
|
-
|
3
|
+
<head prefix='og: http://ogp.me/ns#'>
|
4
|
+
<title>{{title}}</title>
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
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
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
|
25
|
-
|
26
|
-
|
26
|
+
gtag('config', '{{site.google.analytics}}');
|
27
|
+
gtag('config', '{{site.google.analytics4}}');
|
28
|
+
</script>{% endif %}
|
27
29
|
|
28
|
-
|
29
|
-
|
30
|
+
{% seo title=false %}
|
31
|
+
</head>
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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
|
-
|
38
|
-
|
39
|
-
|
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
|
-
|
43
|
+
<main itemscope itemtype='//schema.org/Blog'>
|
42
44
|
|
43
|
-
|
45
|
+
{{ content }}
|
44
46
|
|
45
|
-
|
47
|
+
</main><!-- #main-content -->
|
46
48
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
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='mailto:{{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 • 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
|
-
|
88
|
-
|
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.
|
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:
|
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:
|
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:
|
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.
|
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.
|
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:
|
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:
|
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
|
-
|
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
|