nano-theme 0.3.2 → 0.3.3
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 +4 -4
- data/README.md +1 -1
- data/_includes/analytics-csp.html +13 -0
- data/_includes/analytics.html +35 -0
- data/_includes/newsroom.html +10 -0
- data/_includes/verifications.html +30 -0
- data/_layouts/default.html +7 -25
- data/_layouts/newsroom.html +1 -10
- data/_layouts/page.html +2 -11
- data/_layouts/post.html +1 -11
- data/_sass/_theme.scss +5 -5
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39a80b55cdad19eafc6975f4834594b326733167bb0fee17ebadff7b8e72dd3d
|
4
|
+
data.tar.gz: 791e7da01b154e52d4c954a7b18bd998ed0cfdda7b7effae92516d724762e4ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733cc8c2231048f80c69577b59e26cb444d200e9d5006a16275a1c787d62ba265493c85f51f39f4d951c258dacef4b1ebb954b5172b6ff90320d3e1510a87402
|
7
|
+
data.tar.gz: 99fa3dbfed13a95c7d767093dca2ff5f23e814a8aa834917c99cbac4e35b4ebddd12672b13d376932b27f1343894afa84c3595e9eb2f6a43c41ace4d7d1972d1
|
data/README.md
CHANGED
@@ -14,4 +14,4 @@ Many thanks to the Jekyll and RubyGems community for great documentation, allowi
|
|
14
14
|
|
15
15
|
Big thanks to the StackOverflow community; they helped me find some nice CSS workarounds for some things (like missing images). I quoted the posts I used when I used them.
|
16
16
|
|
17
|
-
Special thanks to [Rishi](https://github.com/rveerepalli) for staying up late on the day before the launch of v0.3.
|
17
|
+
Special thanks to [Rishi](https://github.com/rveerepalli) for staying up late on the day before the launch of v0.3 to help fix some issues.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{% if site.simpleanalytics == true %}
|
2
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://scripts.simpleanalyticscdn.com/latest.js">
|
3
|
+
{% elsif site.fathomanalytics == true %}
|
4
|
+
{% if site.customfathomurl == "" %}
|
5
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://cdn.usefathom.com/script.js">
|
6
|
+
{% else %}
|
7
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://{{site.customfathomurl}}">
|
8
|
+
{% endif %}
|
9
|
+
{% elsif site.matomoanalytics %}
|
10
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-qj/jwzjem2sfrDp/CEX8ODDzwfezTtpX43MRAcQTuUQ=' https://cdn.matomo.cloud/{{site.matomourl}}/matomo.js">
|
11
|
+
{% else %}
|
12
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self'">
|
13
|
+
{% endif %}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<!-- Analytics Start -->
|
2
|
+
{% if site.simpleanalytics == true %}
|
3
|
+
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
|
4
|
+
<noscript>
|
5
|
+
<img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" class="pxl">
|
6
|
+
</noscript>
|
7
|
+
{% elsif site.matomoanalytics == true %}
|
8
|
+
<!-- Matomo -->
|
9
|
+
<script type="text/javascript">
|
10
|
+
var _paq = window._paq || [];
|
11
|
+
_paq.push(["setDoNotTrack", true]);
|
12
|
+
_paq.push(["disableCookies"]);
|
13
|
+
_paq.push(['trackPageView']);
|
14
|
+
_paq.push(['enableLinkTracking']);
|
15
|
+
(function() {
|
16
|
+
var u="https://{{site.matomourl}}/";
|
17
|
+
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
18
|
+
_paq.push(['setSiteId', '{{site.matomositeid}}']);
|
19
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
20
|
+
g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/{{site.matomourl}}/matomo.js'; s.parentNode.insertBefore(g,s);
|
21
|
+
})();
|
22
|
+
</script>
|
23
|
+
<noscript>
|
24
|
+
<p>
|
25
|
+
<img src="https://{{site.matomourl}}/matomo.php?idsite=1&rec=1" style="border:0;" alt="" class="pxl">
|
26
|
+
</p>
|
27
|
+
</noscript>
|
28
|
+
{% elsif site.fathomanalytics == true %}
|
29
|
+
{% if site.customfathomurl != "" %}
|
30
|
+
<script src="https://{{site.customfathomurl}}" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
31
|
+
{% else %}
|
32
|
+
<script src="https://cdn.usefathom.com/script.js" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
33
|
+
{% endif %}
|
34
|
+
{% endif %}
|
35
|
+
<!-- Analytics End -->
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{% if site.plingverify != "" %}
|
2
|
+
<meta name="ocs-site-verification" content="{{ site.plingverify }}">
|
3
|
+
{% endif %}
|
4
|
+
{% if site.googleverify != "" %}
|
5
|
+
<meta name="google-site-verification" content="{{ site.googleverify }}">
|
6
|
+
{% endif %}
|
7
|
+
{% if site.bingverify != "" %}
|
8
|
+
<meta name="msvalidate.01" content="{{ site.bingverify }}">
|
9
|
+
{% endif %}
|
10
|
+
{% if site.pinverify != "" %}
|
11
|
+
<meta name="p:domain_verify" content="{{ site.pinverify }}">
|
12
|
+
{% endif %}
|
13
|
+
{% if site.dailyverify != "" %}
|
14
|
+
<meta name="dailymotion-domain-verification" content="{{ site.dailyverify }}">
|
15
|
+
{% endif %}
|
16
|
+
{% if site.yandexverify != "" %}
|
17
|
+
<meta name="yandex-verification" content="{{ site.yandexverify }}">
|
18
|
+
{% endif %}
|
19
|
+
{% if site.nortonverify != "" %}
|
20
|
+
<meta name="norton-safeweb-site-verification" content="{{ site.nortonverify }}">
|
21
|
+
{% endif %}
|
22
|
+
{% if site.alexaverify != "" %}
|
23
|
+
<meta name="alexaVerifyID" content="{{ site.alexaverify }}">
|
24
|
+
{% endif %}
|
25
|
+
{% if site.wotverify != "" %}
|
26
|
+
<meta name="wot-verification" content="{{ site.wotverify }}">
|
27
|
+
{% endif %}
|
28
|
+
{% if site.specificverify != "" %}
|
29
|
+
<meta name="specificfeeds-verification-code" content="{{ site.specificverify }}">
|
30
|
+
{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<!doctype html>{% if site.lang %}
|
1
|
+
<!doctype html>{% if site.lang != "" %}
|
2
2
|
<html lang="{{site.lang}}">
|
3
3
|
{% else %}
|
4
4
|
<html>
|
@@ -6,39 +6,21 @@
|
|
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
|
-
|
9
|
+
{% include analytics-csp.html %}
|
10
10
|
<meta name="referrer" content="no-referrer, same-origin">
|
11
11
|
<title>{{ page.title }} - {{ site.title }}</title>
|
12
|
-
<meta property="og:title" content="{{page.title}} - {{site.title}}">{% if site.lang %}
|
12
|
+
<meta property="og:title" content="{{page.title}} - {{site.title}}">{% if site.lang != "" %}
|
13
13
|
<meta property="og:locale" content="{{site.lang}}">
|
14
|
-
{% endif %}{% if page.description %}
|
14
|
+
{% endif %}{% if page.description != "" %}
|
15
15
|
<meta name="description" content="{{page.description}}">
|
16
16
|
<meta property="og:description" content="{{page.description}}">
|
17
|
-
<meta name="twitter:description" content="{{page.description}}">{% elsif site.description %}<meta name="description" content="{{site.description}}">
|
17
|
+
<meta name="twitter:description" content="{{page.description}}">{% elsif site.description != "" %}<meta name="description" content="{{site.description}}">
|
18
18
|
<meta property="og:description" content="{{site.description}}">
|
19
19
|
<meta name="twitter:description" content="{{site.description}}">{% endif %}{% for item in site.font-import %}
|
20
20
|
<link rel="stylesheet" href="{{item}}">{% endfor %}
|
21
21
|
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
|
22
|
-
{% if site.favicon %}<link rel="shortcut icon" href="{{ site.favicon }}">{% endif %}
|
23
|
-
|
24
|
-
{% endif %}{% if site.googleverify != "" %}
|
25
|
-
<meta name="google-site-verification" content="{{ site.googleverify }}">
|
26
|
-
{% endif %}{% if site.bingverify != "" %}
|
27
|
-
<meta name="msvalidate.01" content="{{ site.bingverify }}">
|
28
|
-
{% endif %}{% if site.pinverify != "" %}
|
29
|
-
<meta name="p:domain_verify" content="{{ site.pinverify }}">
|
30
|
-
{% endif %}{% if site.dailyverify != "" %}
|
31
|
-
<meta name="dailymotion-domain-verification" content="{{ site.dailyverify }}">
|
32
|
-
{% endif %}{% if site.yandexverify != "" %}
|
33
|
-
<meta name="yandex-verification" content="{{ site.yandexverify }}">
|
34
|
-
{% endif %}{% if site.nortonverify != "" %}
|
35
|
-
<meta name="norton-safeweb-site-verification" content="{{ site.nortonverify }}">
|
36
|
-
{% endif %}{% if site.alexaverify != "" %}
|
37
|
-
<meta name="alexaVerifyID" content="{{ site.alexaverify }}">
|
38
|
-
{% endif %}{% if site.wotverify != "" %}
|
39
|
-
<meta name="wot-verification" content="{{ site.wotverify }}">
|
40
|
-
{% endif %}{% if site.specificverify != "" %}
|
41
|
-
<meta name="specificfeeds-verification-code" content="{{ site.specificverify }}">{% endif %}
|
22
|
+
{% if site.favicon != "" %}<link rel="shortcut icon" href="{{ site.favicon }}">{% endif %}
|
23
|
+
{% include verifications.html %}
|
42
24
|
</head>
|
43
25
|
<body>
|
44
26
|
{{ content }}
|
data/_layouts/newsroom.html
CHANGED
@@ -6,16 +6,7 @@ layout: default
|
|
6
6
|
|
7
7
|
<div class="container">
|
8
8
|
{{ content }}
|
9
|
-
|
10
|
-
{% for post in site.posts %}
|
11
|
-
<li>
|
12
|
-
<p>
|
13
|
-
<a class="news-text" href="{{ post.url }}"><b>{{ post.title }} ({{ post.dateS }}).</b></a>
|
14
|
-
{{ post.excerpt }}
|
15
|
-
</p>
|
16
|
-
</li>
|
17
|
-
{% endfor %}
|
18
|
-
</ul>
|
9
|
+
{% include newsroom.html %}
|
19
10
|
</div>
|
20
11
|
|
21
12
|
{% include site-footer.html %}
|
data/_layouts/page.html
CHANGED
@@ -7,16 +7,7 @@ layout: default
|
|
7
7
|
<div class="container">
|
8
8
|
{{ content }}
|
9
9
|
</div>
|
10
|
-
|
11
|
-
|
12
|
-
<img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" class="pxl">
|
13
|
-
</p>
|
14
|
-
{% elsif site.matomoanalytics == true %}
|
15
|
-
<p>
|
16
|
-
<img src="https://{{site.matomourl}}/matomo.php?idsite=1&rec=1" style="border:0;" alt="" class="pxl">
|
17
|
-
</p>
|
18
|
-
{% elsif site.fathomanalytics == true %}
|
19
|
-
<script src="https://cdn.usefathom.com/script.js" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
20
|
-
{% endif %}
|
10
|
+
|
11
|
+
{% include analytics.html %}
|
21
12
|
|
22
13
|
{% include site-footer.html %}
|
data/_layouts/post.html
CHANGED
@@ -12,16 +12,6 @@ layout: default
|
|
12
12
|
</div>
|
13
13
|
</div>
|
14
14
|
|
15
|
-
{%
|
16
|
-
<p>
|
17
|
-
<img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" class="pxl">
|
18
|
-
</p>
|
19
|
-
{% elsif site.matomoanalytics == true %}
|
20
|
-
<p>
|
21
|
-
<img src="https://{{site.matomourl}}/matomo.php?idsite=1&rec=1" style="border:0;" alt="" class="pxl">
|
22
|
-
</p>
|
23
|
-
{% elsif site.fathomanalytics == true %}
|
24
|
-
<script src="https://cdn.usefathom.com/script.js" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
25
|
-
{% endif %}
|
15
|
+
{% include analytics.html %}
|
26
16
|
|
27
17
|
{% include site-footer.html %}
|
data/_sass/_theme.scss
CHANGED
@@ -62,7 +62,7 @@ body {
|
|
62
62
|
.tagline { font-size: 40px !important; }
|
63
63
|
}
|
64
64
|
|
65
|
-
.bold { font-weight: $font-bold; } // Jekyll will process bold text to have the "bold" class
|
65
|
+
.bold { font-weight: $font-bold !important; } // Jekyll will process bold text to have the "bold" class
|
66
66
|
|
67
67
|
p { margin: 1em 0; }
|
68
68
|
|
@@ -188,11 +188,10 @@ nav {
|
|
188
188
|
padding: 1.5em 32px;
|
189
189
|
max-height: 30vh;
|
190
190
|
|
191
|
-
p {
|
191
|
+
p, .bold {
|
192
192
|
flex: 0 0 auto;
|
193
|
-
margin:
|
193
|
+
margin: auto 16px;
|
194
194
|
display: flex;
|
195
|
-
flex-direction: column;
|
196
195
|
justify-content: center;
|
197
196
|
|
198
197
|
font-size: 80px;
|
@@ -225,7 +224,7 @@ footer {
|
|
225
224
|
|
226
225
|
// Main Content
|
227
226
|
.container {
|
228
|
-
|
227
|
+
width: 75vw;
|
229
228
|
margin: 1em auto;
|
230
229
|
ul, ol {
|
231
230
|
margin-left: 2em !important;
|
@@ -238,6 +237,7 @@ footer {
|
|
238
237
|
@media only screen and (max-device-width: 480px) {
|
239
238
|
max-width: 100% !important;
|
240
239
|
margin: 1em 1em 1em 1em;
|
240
|
+
width: auto !important;
|
241
241
|
}
|
242
242
|
hr { margin-bottom: 1em; }
|
243
243
|
}
|
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.3
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -47,8 +47,12 @@ extra_rdoc_files: []
|
|
47
47
|
files:
|
48
48
|
- LICENSE
|
49
49
|
- README.md
|
50
|
+
- _includes/analytics-csp.html
|
51
|
+
- _includes/analytics.html
|
52
|
+
- _includes/newsroom.html
|
50
53
|
- _includes/site-footer.html
|
51
54
|
- _includes/site-header.html
|
55
|
+
- _includes/verifications.html
|
52
56
|
- _layouts/default.html
|
53
57
|
- _layouts/newsroom.html
|
54
58
|
- _layouts/page.html
|