-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rearrange function order * Add Google Analytics and rearrange pug templates
- Loading branch information
Showing
11 changed files
with
75 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
doctype html | ||
html(lang='en') | ||
head | ||
title=sitename | ||
meta(charset='utf-8') | ||
if production | ||
meta(name='author', content='Brendon Body - https://github.com/bbody/CMD-Resume') | ||
meta(name='Description', content='CMD Resume using JQuery Terminal') | ||
|
||
include partials/favicons.pug | ||
|
||
script(src=jquery_script_location, type="text/javascript") | ||
script(src=cmd_resume_script_location, type="text/javascript") | ||
script(src=keyboard_polyfill, type="text/javascript") | ||
script(src=jquery_terminal_script_location, type="text/javascript") | ||
if init_script_location | ||
script(src=init_script_location, type="text/javascript") | ||
link(href=jquery_terminal_stylesheet_location, rel='stylesheet') | ||
|
||
if production | ||
include partials/analytics.pug | ||
body | ||
if production | ||
include partials/github_banner.pug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'UA-130419778-1'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Global site tag (gtag.js) - Google Analytics | ||
script | ||
include analytics.js | ||
script(async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-130419778-1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
link(rel="apple-touch-icon", sizes="180x180", href=favicon_directory+"/apple-touch-icon.png") | ||
link(rel="icon", type="image/png", sizes="32x32", href=favicon_directory+"/favicon-32x32.png") | ||
link(rel="icon", type="image/png", sizes="16x16", href=favicon_directory+"/favicon-16x16.png") | ||
link(rel="manifest", href=favicon_directory+"/site.webmanifest") | ||
link(rel="mask-icon", href=favicon_directory+"/safari-pinned-tab.svg", color="#000000") | ||
meta(name="msapplication-TileColor", content="#ffffff") | ||
meta(name="theme-color", content="#ffffff") | ||
|
||
meta(property="og:image:width", content="550") | ||
meta(property="og:image:height", content="288") | ||
meta(property="og:title", content=sitename) | ||
meta(property="og:description", content="Web-based Command Line Resume") | ||
meta(property="og:url", content="https://cmd-resume.bbody.io/") | ||
meta(property="og:image", content="https://s3-ap-southeast-2.amazonaws.com/bbody-images/github/cmd-resume/og-image.jpg") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
a(href='https://github.com/bbody/CMD-Resume') | ||
img(style='position: absolute; top: 0; right: 0; border: 0; z-index: 100;' src='https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67' alt='Fork me on GitHub' data-canonical-src='https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png') |