jekyll-theme-doodle 4.4.1 → 4.5.0

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
2
  SHA256:
3
- metadata.gz: f1f3c87041d297cd5fc097bbc180effd6e18ad139793e7677f0174e99e2fa3f6
4
- data.tar.gz: b1918e700541cdb3b1db47b5fa9193a36c9b1c7a39a846a67b9ccf302e45a73f
3
+ metadata.gz: 904b21bc9b6033bed52eb7549f06e2c9903bc4f946e8db1927984fe8b279501c
4
+ data.tar.gz: 48dbb16a8b04626f4b78ce018f7586539f77143eca6ab9848f8c7ed9816298d1
5
5
  SHA512:
6
- metadata.gz: fabe0db10ffdf3f7315ba4c273ca367ad847398a29c61dd04083dbc328ddefd15032d69980bfd00fd017f422c5c8075fa57961ae461ce6b1418102e9ab43af03
7
- data.tar.gz: 3e519ed98ddcdb9b7110893ca9e35b2d436fc1a5ce4a6ddb924a2acbdc692d9b394b3b4de1cfabe3fc418e56ec6dc6d6663f75d4372e65e049b54353966cc847
6
+ metadata.gz: 953dcd52bc902f90fd6b3769686a0d4ee6af1e2378d4518d44731435c4ab0f61452087bfe5b89c9808bc952e7333c14ac7cf58f9d48f7aea5bb95ca22c5fd824
7
+ data.tar.gz: 5c68706399d708755e31a171a7d48c07e72151ec7295ef9ee81565b1441b15546b23d7a13581344e4928c3bbbbeb3d925f17294df57cbc26139ba2de297219cc
data/_config.yml CHANGED
@@ -29,7 +29,6 @@ baseurl: "" # the subpath of your site, e.g. /blog
29
29
  url: "" # the base hostname & protocol for your site, e.g. http://example.com
30
30
  twitter_username: jekyllrb
31
31
  github_username: jekyll
32
- home_icon: /assets/theme-assets/theme-icons/home2.svg
33
32
  # Build settings
34
33
  plugins:
35
34
  - jekyll-feed
@@ -1,12 +1,14 @@
1
+ <!-- Google tag (gtag.js) -->
2
+ <script
3
+ async
4
+ src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"
5
+ ></script>
1
6
  <script>
2
- if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
3
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
7
+ window.dataLayer = window.dataLayer || [];
8
+ function gtag() {
9
+ dataLayer.push(arguments);
10
+ }
11
+ gtag("js", new Date());
7
12
 
8
- ga('create', '{{ site.google_analytics }}', 'auto');
9
- ga('send', 'pageview');
10
- }
13
+ gtag("config", "{{ site.google_analytics }}");
11
14
  </script>
12
-
data/_includes/head.html CHANGED
@@ -1,44 +1,51 @@
1
1
  <head>
2
- <meta charset="utf-8" />
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
4
- <meta name="viewport" content="width=device-width, initial-scale=1" />
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
  <link
6
6
  rel="preload"
7
7
  href="/assets/theme-assets/theme-fonts/Excalifont-Regular.woff2"
8
8
  as="font"
9
9
  type="font/ttf"
10
10
  crossorigin
11
- />
11
+ >
12
12
  <link
13
13
  rel="preload"
14
14
  href="/assets/theme-assets/theme-fonts/comic shanns.otf"
15
15
  as="font"
16
16
  type="font/otf"
17
17
  crossorigin
18
- />
19
- {%- seo -%} <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url
20
- }}">
18
+ >
19
+ {%- seo -%}
20
+ <link
21
+ rel="stylesheet"
22
+ href="
23
+ {{ "/assets/main.css" | relative_url
24
+ }}
25
+ "
26
+ >
21
27
  <script>
22
28
  const colors = {
23
- "dark-pink": "#f0b3e7",
24
- "dark-green": "#b1d18a",
25
- "dark-yellow": "#dbc66e",
26
- "dark-blue": "#aac7ff",
27
- "dark-cyan": "#81d5cd",
29
+ 'dark-pink': '#f0b3e7',
30
+ 'dark-green': '#b1d18a',
31
+ 'dark-yellow': '#dbc66e',
32
+ 'dark-blue': '#aac7ff',
33
+ 'dark-cyan': '#81d5cd',
28
34
  };
29
- const root = document.querySelector("html");
30
- const theme = window.localStorage.getItem("theme");
35
+ const root = document.querySelector('html');
36
+ const theme = window.localStorage.getItem('theme');
31
37
  if (theme === null) {
32
- window.localStorage.setItem("theme", "dark-pink");
33
- root.className = "dark-pink";
34
- root.style.setProperty("--current-color", colors["dark-pink"]);
38
+ window.localStorage.setItem('theme', 'dark-pink');
39
+ root.className = 'dark-pink';
40
+ root.style.setProperty('--current-color', colors['dark-pink']);
35
41
  } else {
36
42
  root.className = theme;
37
- root.style.setProperty("--current-color", colors[theme]);
43
+ root.style.setProperty('--current-color', colors[theme]);
38
44
  }
39
45
  </script>
40
46
  <script src="/assets/theme-assets/js/theme.js" defer></script>
41
- {% comment %} {%- feed_meta -%} {% endcomment %} {%- if jekyll.environment ==
42
- 'production' and site.google_analytics -%} {%- include google-analytics.html
43
- -%} {%- endif -%}
47
+ {%- feed_meta -%}
48
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
49
+ {%- include google-analytics.html -%}
50
+ {%- endif -%}
44
51
  </head>
@@ -10,11 +10,11 @@
10
10
  font-family: "Lexend";
11
11
  src: url("/assets/theme-assets/theme-fonts/Lexend-Regular.ttf");
12
12
  }
13
- @font-face {
14
- font-family: "Gluten Light";
15
- src: url("/assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Regular.ttf");
16
- }
17
- @font-face {
18
- font-family: "Architect";
19
- src: url("/assets/theme-assets/theme-fonts/ArchitectsDaughter-Regular.ttf");
20
- }
13
+ // @font-face {
14
+ // font-family: "Gluten Light";
15
+ // src: url("/assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Regular.ttf");
16
+ // }
17
+ // @font-face {
18
+ // font-family: "Architect";
19
+ // src: url("/assets/theme-assets/theme-fonts/ArchitectsDaughter-Regular.ttf");
20
+ // }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-doodle
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.1
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gul Noor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -85,26 +85,8 @@ files:
85
85
  - assets/main.scss
86
86
  - assets/minima-social-icons.svg
87
87
  - assets/theme-assets/js/theme.js
88
- - assets/theme-assets/theme-fonts/ArchitectsDaughter-Regular.ttf
89
- - assets/theme-assets/theme-fonts/CascadiaCode-Regular.woff2
90
- - assets/theme-assets/theme-fonts/ComicShanns-Regular.woff2
91
88
  - assets/theme-assets/theme-fonts/Excalifont-Regular.woff2
92
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Black.ttf
93
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Bold.ttf
94
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-ExtraBold.ttf
95
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-ExtraLight.ttf
96
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Light.ttf
97
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Medium.ttf
98
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Regular.ttf
99
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-SemiBold.ttf
100
- - assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Thin.ttf
101
- - assets/theme-assets/theme-fonts/Gluten-VariableFont_slnt,wght.ttf
102
89
  - assets/theme-assets/theme-fonts/Lexend-Regular.ttf
103
- - assets/theme-assets/theme-fonts/LilitaOne-Regular.ttf
104
- - assets/theme-assets/theme-fonts/PermanentMarker-Regular.ttf
105
- - assets/theme-assets/theme-fonts/ShadowsIntoLight-Regular.ttf
106
- - assets/theme-assets/theme-fonts/Virgil-Regular.woff2
107
- - assets/theme-assets/theme-fonts/Virgil.woff2
108
90
  - assets/theme-assets/theme-fonts/comic shanns.otf
109
91
  - assets/theme-assets/theme-icons/aboutme-small.svg
110
92
  - assets/theme-assets/theme-icons/aboutme.svg