Adding existing content to theme

This commit is contained in:
Jason Williams committed 2026-10-29 09:49:10 -06:00
1 parent 4ec5e05ae2
commit 0665ab292b
26 files changed
+1247 -3

No files matched your search

@@ -0,0 +1,26 @@
$(() => {
// Enable any tooltips on the page
$('[data-toggle="tooltip"]').tooltip()
// Enable masonry layout
$('.masonry').each(function() {
var opts = { itemSelector: '.masonry-item' }
if ($(this).hasClass('masonry-horizontal')) opts.horizontalOrder = true
$(this).masonry(opts)
})
// Resize textareas to fit their content
$('textarea').each(function() {
$(this).height($(this)[0].scrollHeight)
})
// Use google analytics in production
if (!window.location.hostname.includes('dev')) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-167178542-1');
}
});