Skip to content

Commit 3f56d60

Browse files
committed
Update the layout with the new nav (no gear, more, and all that). Focused on Now, Consulting, and Newsletter. Added LinkedIn to the top icons. Removed uncopyrighted (thinking about if I still want this). Add tracking for Google Analytics and Meta Pixel.
1 parent f2765b4 commit 3f56d60

File tree

1 file changed

+30
-14
lines changed

1 file changed

+30
-14
lines changed

_includes/layout.pug

+30-14
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ body
5656
i(class="fa-brands fa-youtube")
5757
a(href="/instagram" title="Instagram Profile — External Link" target="_blank")
5858
i(class="fa-brands fa-instagram")
59+
a(href="/linkedin" title="LinkedIn Profile — External Link" target="_blank")
60+
i(class="fa-brands fa-linkedin")
5961
a(href="/twitter" title="Twitter Profile — External Link" target="_blank")
6062
i(class="fa-brands fa-twitter")
6163

@@ -66,14 +68,13 @@ body
6668
li
6769
a(href="/now") Now
6870
li
69-
a(href="/support") Support
70-
li
71-
a(href="/gear") Gear
71+
a(href="/consulting") Consulting
7272
li
7373
a(href="/newsletter") Newsletter
74-
7574
//- li
76-
//- a(href="/consulting") Consulting
75+
//- a(href="/support") Support
76+
//- li
77+
//- a(href="/gear") Gear
7778
//- li
7879
//- a(href="/courses" title="Skillshare Profile — External Link" target="_blank") Courses
7980
//- li
@@ -86,9 +87,8 @@ body
8687
//- a(href="/newsletter/archive" title="Creation Overview" target="_blank") Creations
8788
//- li
8889
//- a(href="/podcast") Podcast
89-
90-
li
91-
a(href="/more") More
90+
//- li
91+
//- a(href="/more") More
9292
9393
section#content
9494
block content
@@ -98,13 +98,13 @@ body
9898
section#search()
9999
form(action="https://duckduckgo.com/" method="get")
100100
input(type="hidden" name="ia" value="web")
101-
input(type="hidden" name="sites" value="chrisspiegl.com")
101+
input(type="hidden" name="sites" value="ChrisSpiegl.com")
102102
input.text-center(type="text" name="q" value="" placeholder="Search for anything on ChrisSpiegl.com" required)
103103
input.btn.btn-block(type="submit" value="Search")
104104

105105
nav.navFooter
106106
ul
107-
li: a(href="/uncopyright") Uncopyrighted
107+
//- li: a(href="/uncopyright") Uncopyrighted
108108
li: a(href="/privacy-policy") Privacy Policy
109109
li: a(href="/legal-disclosure") Legal Disclosure
110110
ul
@@ -129,13 +129,29 @@ body
129129
130130
//- Analytics
131131
if meta.build.env === 'production'
132-
<!-- Global site tag (gtag.js) - Google Analytics -->
133-
script(async src="https://www.googletagmanager.com/gtag/js?id=UA-1173222-28")
134-
script().
132+
<!-- Google tag (gtag.js) -->
133+
script(async src="https://www.googletagmanager.com/gtag/js?id=G-BFZSC5QQYT")
134+
script(type="application/javascript").
135135
window.dataLayer = window.dataLayer || [];
136136
function gtag(){dataLayer.push(arguments);}
137137
gtag('js', new Date());
138-
gtag('config', 'UA-1173222-28');
138+
gtag('config', 'G-BFZSC5QQYT');
139+
140+
<!-- Meta Pixel Code -->
141+
script(type="application/javascript").
142+
!function(f,b,e,v,n,t,s)
143+
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
144+
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
145+
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
146+
n.queue=[];t=b.createElement(e);t.async=!0;
147+
t.src=v;s=b.getElementsByTagName(e)[0];
148+
s.parentNode.insertBefore(t,s)}(window, document,'script',
149+
'https://connect.facebook.net/en_US/fbevents.js');
150+
fbq('init', '907086356044933');
151+
fbq('track', 'PageView');
152+
noscript.
153+
<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=907086356044933&ev=PageView&noscript=1" />
154+
139155
<!-- MailerLite Universal -->
140156
script(type="application/javascript").
141157
(function(w,d,e,u,f,l,n){w[f]=w[f]||function(){(w[f].q=w[f].q||[])

0 commit comments

Comments
 (0)