nano-theme 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/analytics.html +10 -4
- data/_includes/{analytics-csp.html → csp.html} +11 -1
- data/_includes/newsroom.html +12 -2
- data/_layouts/default.html +9 -4
- data/_sass/_theme.scss +11 -41
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ffb55efc62bf67c8d3c2f16ee2c7546c76a100f696f97f0c884351b495b11ed
|
4
|
+
data.tar.gz: 77a9d8a7813ae78350cc5d9f86bd4fa799e0d4d8d9708419c02b7af15699a66f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2fce2bf5e0d348cf7231dd721a76d8b2d5bf9b600b2b11ef0adae4e09213c47b4171fc414f0cf3f321451ef31f83ad52a1efd1be6ea306ff5f9ade62011bedf
|
7
|
+
data.tar.gz: 63c185c8aa9b0c8330b2c41d6ee6a14528dfdca4509264651abec9cf350ce770645292d280a96166e40675be780250c3e8d49e6eaac359b571b7129885894f6d
|
data/_includes/analytics.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Analytics Start -->
|
2
2
|
{% if site.simpleanalytics == true %}
|
3
|
-
<script
|
3
|
+
<script src="https://scripts.simpleanalyticscdn.com/latest.js" async defer></script>
|
4
4
|
<noscript>
|
5
|
-
<img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""
|
5
|
+
<img class="pxl" src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="">
|
6
6
|
</noscript>
|
7
7
|
{% elsif site.matomoanalytics == true %}
|
8
8
|
<!-- Matomo -->
|
9
|
-
<script
|
9
|
+
<script>
|
10
10
|
var _paq = window._paq || [];
|
11
11
|
_paq.push(["setDoNotTrack", true]);
|
12
12
|
_paq.push(["disableCookies"]);
|
@@ -22,7 +22,7 @@
|
|
22
22
|
</script>
|
23
23
|
<noscript>
|
24
24
|
<p>
|
25
|
-
<img src="https://{{site.matomourl}}/matomo.php?idsite=1&rec=1" style="border:0;" alt=""
|
25
|
+
<img class="pxl" src="https://{{site.matomourl}}/matomo.php?idsite=1&rec=1" style="border:0;" alt="">
|
26
26
|
</p>
|
27
27
|
</noscript>
|
28
28
|
{% elsif site.fathomanalytics == true %}
|
@@ -31,5 +31,11 @@
|
|
31
31
|
{% else %}
|
32
32
|
<script src="https://cdn.usefathom.com/script.js" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
33
33
|
{% endif %}
|
34
|
+
{% elsif site.plausibleanalytics == true %}
|
35
|
+
{% if site.customplausibleurl != "" %}
|
36
|
+
<script data-domain="{{site.github.url}}" src="https://{{site.customplausibleurl}}/js/index.js" async defer></script>
|
37
|
+
{% else %}
|
38
|
+
<script data-domain="{{site.github.url}}" src="https://plausible.io/js/plausible.js" async defer></script>
|
39
|
+
{% endif %}
|
34
40
|
{% endif %}
|
35
41
|
<!-- Analytics End -->
|
@@ -8,6 +8,16 @@
|
|
8
8
|
{% endif %}
|
9
9
|
{% elsif site.matomoanalytics %}
|
10
10
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-qj/jwzjem2sfrDp/CEX8ODDzwfezTtpX43MRAcQTuUQ=' https://cdn.matomo.cloud/{{site.matomourl}}/matomo.js">
|
11
|
+
{% elsif site.plausibleanalytics %}
|
12
|
+
{% if site.customplausibleurl == "" %}
|
13
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://plausible.io/js/plausible.js">
|
14
|
+
{% else %}
|
15
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://{{site.customplausibleurl}}/js/index.js">
|
16
|
+
{% endif %}
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if site.unsafecontent == false %}
|
20
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'self' https://*">
|
11
21
|
{% else %}
|
12
22
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self'">
|
13
|
-
{% endif %}
|
23
|
+
{% endif %}
|
data/_includes/newsroom.html
CHANGED
@@ -1,10 +1,20 @@
|
|
1
|
+
<h2><a href="{{ '/atom.xml' | | relative_url }}">Subscribe to the Feed.</a></h2>
|
1
2
|
<ul>
|
2
3
|
{% for post in site.posts %}
|
3
4
|
<li>
|
5
|
+
{% if site.classicnews == true %}
|
4
6
|
<p>
|
5
|
-
<a
|
6
|
-
|
7
|
+
<a href="{{ post.url }}">
|
8
|
+
<b>{{ post.title }} ({{ post.dateS }}). </b>
|
9
|
+
</a>
|
10
|
+
{{ post.excerpt | strip_html }}
|
7
11
|
</p>
|
12
|
+
{% else %}
|
13
|
+
<a href="{{ post.url }}">
|
14
|
+
<b>{{ post.title }} ({{ post.dateS }}). </b>
|
15
|
+
</a>
|
16
|
+
{{ post.excerpt }}
|
17
|
+
{% endif %}
|
8
18
|
</li>
|
9
19
|
{% endfor %}
|
10
20
|
</ul>
|
data/_layouts/default.html
CHANGED
@@ -6,20 +6,25 @@
|
|
6
6
|
<meta charset="UTF-8">
|
7
7
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
9
|
-
{% include
|
9
|
+
{% include csp.html %}
|
10
10
|
<meta name="referrer" content="no-referrer, same-origin">
|
11
11
|
<title>{{ page.title }} - {{ site.title }}</title>
|
12
|
+
<meta name="twitter:title" content="{{page.title}} - {{site.title}}">
|
12
13
|
<meta property="og:title" content="{{page.title}} - {{site.title}}">{% if site.lang != "" %}
|
13
14
|
<meta property="og:locale" content="{{site.lang}}">
|
14
|
-
|
15
|
+
<meta http-equiv="language" content="{{site.lang}}">
|
16
|
+
{% endif %}{% if page.description != nil %}
|
15
17
|
<meta name="description" content="{{page.description}}">
|
16
18
|
<meta property="og:description" content="{{page.description}}">
|
17
|
-
<meta name="twitter:description" content="{{page.description}}">{% elsif site.description !=
|
19
|
+
<meta name="twitter:description" content="{{page.description}}">{% elsif site.description != nil %}<meta name="description" content="{{site.description}}">
|
18
20
|
<meta property="og:description" content="{{site.description}}">
|
19
21
|
<meta name="twitter:description" content="{{site.description}}">{% endif %}{% for item in site.font-import %}
|
20
22
|
<link rel="stylesheet" href="{{item}}">{% endfor %}
|
23
|
+
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html',''}}">
|
21
24
|
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
|
22
|
-
{% if site.favicon != "" %}<link rel="shortcut icon" href="{{ site.favicon }}">
|
25
|
+
{% if site.favicon != "" %}<link rel="shortcut icon" href="{{ site.favicon }}">
|
26
|
+
<link rel="icon" href="{{site.favicon}}">
|
27
|
+
<link rel="apple-touch-icon" href="{{site.favicon}}">{% endif %}
|
23
28
|
{% include verifications.html %}
|
24
29
|
</head>
|
25
30
|
<body>
|
data/_sass/_theme.scss
CHANGED
@@ -40,51 +40,28 @@ body {
|
|
40
40
|
|
41
41
|
// Typography
|
42
42
|
@media only screen and (max-device-width: 480px) {
|
43
|
-
h1 {
|
44
|
-
|
45
|
-
}
|
46
|
-
|
47
|
-
h2 {
|
48
|
-
font-size: 21px !important;
|
49
|
-
}
|
50
|
-
|
51
|
-
h3 {
|
52
|
-
font-size: 19px !important;
|
53
|
-
}
|
54
|
-
|
55
|
-
.post {
|
56
|
-
h3 {
|
57
|
-
font-size: 14px !important;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
43
|
+
h1 { font-size: 28px !important; }
|
44
|
+
h2 { font-size: 21px !important; }
|
45
|
+
h3 { font-size: 19px !important; }
|
46
|
+
.post { h3 { font-size: 14px !important; } }
|
61
47
|
h4, h5, h6 { font-size: 16px !important; }
|
62
|
-
.tagline { font-size: 40px !important; }
|
48
|
+
.tagline, .tagline * { font-size: 40px !important; }
|
49
|
+
b { font-weight: $font-bold !important; } // Keeps bold bold, no matter the scenario
|
63
50
|
}
|
64
51
|
|
65
|
-
.bold { font-weight: $font-bold !important; } // Jekyll will process bold text to have the "bold" class
|
66
|
-
|
67
52
|
p { margin: 1em 0; }
|
68
|
-
|
69
53
|
h1 {
|
70
54
|
font-size: 48px;
|
71
55
|
letter-spacing: -.05em;
|
72
56
|
font-weight: $font-bold;
|
73
57
|
line-height: 1.1;
|
74
58
|
}
|
75
|
-
|
76
59
|
h2 {
|
77
60
|
font-size: 24px;
|
78
61
|
line-height: 1.35;
|
79
62
|
}
|
80
|
-
|
81
|
-
|
82
|
-
font-size: 16px;
|
83
|
-
}
|
84
|
-
|
85
|
-
ol, ul {
|
86
|
-
margin: 2em 1em;
|
87
|
-
}
|
63
|
+
h3 { font-size: 16px; }
|
64
|
+
ol, ul { margin: 2em 1em; }
|
88
65
|
|
89
66
|
a, ul a, ol a, p a {
|
90
67
|
color: $LIGHTlinkColour;
|
@@ -134,7 +111,6 @@ header {
|
|
134
111
|
img {
|
135
112
|
display: block;
|
136
113
|
border: none !important;
|
137
|
-
vertical-align: bottom;
|
138
114
|
}
|
139
115
|
}
|
140
116
|
a {
|
@@ -188,7 +164,7 @@ nav {
|
|
188
164
|
padding: 1.5em 32px;
|
189
165
|
max-height: 30vh;
|
190
166
|
|
191
|
-
p,
|
167
|
+
p, b {
|
192
168
|
flex: 0 0 auto;
|
193
169
|
margin: auto 16px;
|
194
170
|
display: flex;
|
@@ -252,17 +228,11 @@ img {
|
|
252
228
|
}
|
253
229
|
|
254
230
|
// Blog Posts
|
255
|
-
.post {
|
256
|
-
h3 {
|
257
|
-
font-size: 14px !important;
|
258
|
-
}
|
259
|
-
}
|
231
|
+
.post { h3 { font-size: 14px !important; } }
|
260
232
|
|
261
233
|
// Auto Dark Theme as Declared by Browser/OS
|
262
234
|
@media (prefers-color-scheme: dark) {
|
263
|
-
a, ul a, ol a, p a {
|
264
|
-
color: $DARKlinkColour;
|
265
|
-
}
|
235
|
+
a, ul a, ol a, p a { color: $DARKlinkColour;}
|
266
236
|
a:hover, ul a:hover, ol a:hover, p a:hover {
|
267
237
|
color: $DARKlinkHoverColour;
|
268
238
|
transition: color 250ms ease-in-out;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- doamatto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.1'
|
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: '4.
|
26
|
+
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-sitemap
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-feed
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.13'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.13'
|
41
55
|
description:
|
42
56
|
email:
|
43
57
|
- hello@doamatto.xyz
|
@@ -47,8 +61,8 @@ extra_rdoc_files: []
|
|
47
61
|
files:
|
48
62
|
- LICENSE
|
49
63
|
- README.md
|
50
|
-
- _includes/analytics-csp.html
|
51
64
|
- _includes/analytics.html
|
65
|
+
- _includes/csp.html
|
52
66
|
- _includes/newsroom.html
|
53
67
|
- _includes/site-footer.html
|
54
68
|
- _includes/site-header.html
|