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
$('link[href*="HubSpot_Default.css"]').remove() |
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
{% set moduleClass = "module-boilerplate" %} | |
<!-- | |
{{ moduleClass }} | |
2020 created by Jacob Lett | |
docs: | |
https://www.dropbox.com/sh/d6ds1bptov4ou1x/AADRGt1-8UecJbff9BAj2EJta/Developers/CustomModulesV2%20_CMS.pdf?dl=0 | |
https://designers.hubspot.com/blog/developer-day-2018-videos | |
https://designers.hubspot.com/docs/hubl/if-statements | |
https://designers.hubspot.com/docs/hubl/tags |
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
######## Add to HEAD | |
<!-- Global site tag (gtag.js) - Google Ads: 802890537 --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-802890537"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', 'AW-ID'); |
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
<!--[if (gte mso 9)|(IE)]> | |
<table cellspacing="0" cellpadding="0" width="100%"> | |
<tbody> | |
<tr> | |
<td valign="top" width="260"> | |
<![endif]--> | |
<p><a href="#"><span style="color: #666666;"> <img src="#" alt="#" style="width: 100%; max-width: 600px; display: block; border: 0px; margin-bottom: 5px;" border="0"> </span></a></p> | |
<!--[if (gte mso 9)|(IE)]> | |
</td> | |
</tr> |
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
<script> | |
$( document ).ready(function() { | |
$('.button').click(function() { | |
var URL = window.location.href; | |
gtag('event', URL, { | |
'event_category': 'button click', | |
'event_label': $(this).attr('href') | |
}); |
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
(function ensightenInit() { | |
var ensightenOptions = { | |
client: "altair", | |
clientId: 2538, | |
publishPath: "prod", | |
isPublic: 1, | |
serverComponentLocation: "nexus.ensighten.com/altair/prod/serverComponent.php", | |
staticJavascriptPath: "nexus.ensighten.com/altair/prod/code/", | |
ns: 'Bootstrapper', | |
nexus: "nexus.ensighten.com", |
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
<?php | |
if($_POST["submit"]) { | |
$toEmail=$_POST["toEmail"]; | |
$fromEmail=$_POST["fromEmail"]; | |
$subject=$_POST["subject"]; | |
$message=$_POST["message"]; | |
$mailBody="From: $fromEmail\nTo: $toEmail\n\n$message"; | |
mail($toEmail, $subject, $mailBody, "From: $fromEmail <$fromEmail>"); |
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
// https://developers.hubspot.com/docs/cms/building-blocks/modules/export-to-template-context | |
<!-- drag and drop module - start hide boolean hide condition --> | |
{% boolean "show_sharing_buttons" label='Show Sharing Buttons?', value=True, export_to_template_context=True %} | |
{% if widget_data.show_sharing_buttons.value %} | |
<div class="footer__sharing-buttons"></div> | |
{% module "sharing_buttons" path="/industrial-theme-pro/modules/blog-svg-sharing-buttons", label="Sharing Buttons" %} | |
</div> | |
{% endif %} |
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
.active | |
.affix | |
.alert | |
.alert-danger | |
.alert-dismissable | |
.alert-dismissible | |
.alert-info | |
.alert-link | |
.alert-success | |
.alert-warning |
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
(function anon(){ var histArr = (!!window.gateway && !!window.gateway.history)?gateway.history.complete:(!!Bootstrapper.gateway && !!Bootstrapper.gateway.history)?Bootstrapper.gateway.history.complete:[]; if(histArr.length<1){console.log("Could not locate history array");return;} console.log('Privacy History Not Loaded Content:'); for(var x in histArr){ if(histArr[x].request.status !== "load") console.log(histArr[x].request.destination+"|status:"+histArr[x].request.status); } })() |