jekyll-theme-zer0 1.18.1 → 1.19.1

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.
@@ -0,0 +1,110 @@
1
+ # =============================================================================
2
+ # GENERATED FILE — do not edit by hand.
3
+ # Regenerate with: ./scripts/sync-hub-metadata.sh
4
+ # Source registry: _data/hub.yml
5
+ # =============================================================================
6
+ - title: Hub Dashboard
7
+ icon: bi-grid-1x2
8
+ url: "/hub/"
9
+ - title: '1776'
10
+ icon: bi-journal-richtext
11
+ url: https://year-of-ai.github.io/1776/
12
+ children:
13
+ - title: Site Home
14
+ url: https://year-of-ai.github.io/1776/
15
+ - title: Timeline
16
+ url: https://year-of-ai.github.io/1776/TIMELINE/
17
+ - title: Arts & Culture
18
+ url: https://year-of-ai.github.io/1776/arts/
19
+ - title: Economics & Trade
20
+ url: https://year-of-ai.github.io/1776/economics/
21
+ - title: Military Events
22
+ url: https://year-of-ai.github.io/1776/military/
23
+ - title: Key Figures
24
+ url: https://year-of-ai.github.io/1776/people/
25
+ - title: Political Events
26
+ url: https://year-of-ai.github.io/1776/politics/
27
+ - title: Science & Discovery
28
+ url: https://year-of-ai.github.io/1776/science/
29
+ - title: '1777'
30
+ icon: bi-journal-richtext
31
+ url: https://year-of-ai.github.io/1777/
32
+ children:
33
+ - title: Site Home
34
+ url: https://year-of-ai.github.io/1777/
35
+ - title: Timeline
36
+ url: https://year-of-ai.github.io/1777/TIMELINE/
37
+ - title: Arts & Culture — 1777
38
+ url: https://year-of-ai.github.io/1777/arts/
39
+ - title: Economics & Trade — 1777
40
+ url: https://year-of-ai.github.io/1777/economics/
41
+ - title: Military Events — 1777
42
+ url: https://year-of-ai.github.io/1777/military/
43
+ - title: Key Figures — 1777
44
+ url: https://year-of-ai.github.io/1777/people/
45
+ - title: Political Events — 1777
46
+ url: https://year-of-ai.github.io/1777/politics/
47
+ - title: Science & Discovery — 1777
48
+ url: https://year-of-ai.github.io/1777/science/
49
+ - title: '1778'
50
+ icon: bi-journal-richtext
51
+ url: https://year-of-ai.github.io/1778/
52
+ children:
53
+ - title: Site Home
54
+ url: https://year-of-ai.github.io/1778/
55
+ - title: 2005-2011
56
+ icon: bi-journal-richtext
57
+ url: https://year-of-ai.github.io/2005-2011/
58
+ children:
59
+ - title: Site Home
60
+ url: https://year-of-ai.github.io/2005-2011/
61
+ - title: Timeline
62
+ url: https://year-of-ai.github.io/2005-2011/TIMELINE/
63
+ - title: '2005'
64
+ url: https://year-of-ai.github.io/2005-2011/2005/
65
+ - title: '2006'
66
+ url: https://year-of-ai.github.io/2005-2011/2006/
67
+ - title: '2007'
68
+ url: https://year-of-ai.github.io/2005-2011/2007/
69
+ - title: '2008'
70
+ url: https://year-of-ai.github.io/2005-2011/2008/
71
+ - title: '2009'
72
+ url: https://year-of-ai.github.io/2005-2011/2009/
73
+ - title: '2010'
74
+ url: https://year-of-ai.github.io/2005-2011/2010/
75
+ - title: '2011'
76
+ url: https://year-of-ai.github.io/2005-2011/2011/
77
+ - title: year-of-ai.github.io
78
+ icon: bi-journal-richtext
79
+ url: https://year-of-ai.github.io/
80
+ children:
81
+ - title: Site Home
82
+ url: https://year-of-ai.github.io/
83
+ - title: Changelog
84
+ url: https://year-of-ai.github.io/CHANGELOG/
85
+ - title: Code Of Conduct
86
+ url: https://year-of-ai.github.io/CODE_OF_CONDUCT/
87
+ - title: Contributing
88
+ url: https://year-of-ai.github.io/CONTRIBUTING/
89
+ - title: Security
90
+ url: https://year-of-ai.github.io/SECURITY/
91
+ - title: Data
92
+ url: https://year-of-ai.github.io/_data/
93
+ - title: Includes
94
+ url: https://year-of-ai.github.io/_includes/
95
+ - title: Layouts
96
+ url: https://year-of-ai.github.io/_layouts/
97
+ - title: Docker
98
+ url: https://year-of-ai.github.io/docker/
99
+ - title: Docs
100
+ url: https://year-of-ai.github.io/docs/
101
+ - title: Features
102
+ url: https://year-of-ai.github.io/features/
103
+ - title: Pages
104
+ url: https://year-of-ai.github.io/pages/
105
+ - title: Scripts
106
+ url: https://year-of-ai.github.io/scripts/
107
+ - title: Templates
108
+ url: https://year-of-ai.github.io/templates/
109
+ - title: Test
110
+ url: https://year-of-ai.github.io/test/
@@ -51,6 +51,13 @@
51
51
  - title: Test Notebook
52
52
  url: /notebooks/test-notebook/
53
53
 
54
+ - title: Hub
55
+ icon: bi-collection
56
+ url: /hub/
57
+ # Per-repo links live in the generated sidebar (_data/navigation/hub.yml);
58
+ # the navbar only needs the dashboard entry so new org repos appear without
59
+ # touching this file.
60
+
54
61
  - title: Docs
55
62
  icon: bi-journal-bookmark
56
63
  url: /docs/
@@ -1,9 +1,17 @@
1
1
  <!-- Global site tag (gtag.js) - Google Analytics -->
2
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
3
2
  <script>
4
- window.dataLayer = window.dataLayer || [];
5
- function gtag(){dataLayer.push(arguments);}
6
- gtag('js', new Date());
7
-
8
- gtag('config', '{{ site.google_analytics }}');
3
+ (function () {
4
+ // Skip tracking on local/dev hostnames even if a prod build is served locally (Docker/CI preview).
5
+ var h = location.hostname;
6
+ if (h === 'localhost' || h === '127.0.0.1' || h === '0.0.0.0' || h === '[::1]' ||
7
+ h === 'host.docker.internal' || h.endsWith('.local') || h.endsWith('.test')) return;
8
+ var s = document.createElement('script');
9
+ s.async = true;
10
+ s.src = 'https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}';
11
+ document.head.appendChild(s);
12
+ window.dataLayer = window.dataLayer || [];
13
+ function gtag(){dataLayer.push(arguments);}
14
+ gtag('js', new Date());
15
+ gtag('config', '{{ site.google_analytics }}');
16
+ })();
9
17
  </script>
@@ -2,9 +2,17 @@
2
2
  title: Google Tag Manager
3
3
  file:
4
4
  -->
5
- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
6
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
7
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8
- 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
9
- })(window,document,'script','dataLayer','GTM-NN8P7RZ');</script>
5
+ <script>
6
+ // Skip GTM on local/dev hostnames even if a prod build is served locally (Docker/CI preview).
7
+ (function () {
8
+ var h = location.hostname;
9
+ if (h === 'localhost' || h === '127.0.0.1' || h === '0.0.0.0' || h === '[::1]' ||
10
+ h === 'host.docker.internal' || h.endsWith('.local') || h.endsWith('.test')) return;
11
+ (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
12
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
13
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
14
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
15
+ })(window,document,'script','dataLayer','GTM-NN8P7RZ');
16
+ })();
17
+ </script>
10
18
  <!-- End Google Tag Manager -->