2019-11-18 13:40:27 -08:00
|
|
|
<footer class="footer">
|
|
|
|
|
{% include footer-links.html %}
|
|
|
|
|
</footer>
|
|
|
|
|
|
2020-04-27 22:24:58 -07:00
|
|
|
{% if site.analytics %}
|
2020-07-17 18:26:08 -07:00
|
|
|
<script>
|
2020-04-27 22:24:58 -07:00
|
|
|
var doNotTrack = false;
|
|
|
|
|
if (!doNotTrack) {
|
|
|
|
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
|
|
|
ga('create', '{{ site.analytics }}', 'auto');
|
|
|
|
|
ga('send', 'pageview');
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2019-11-18 13:40:27 -08:00
|
|
|
<script>
|
|
|
|
|
var shiftWindow = function() {
|
|
|
|
|
if (location.hash.length !== 0) {
|
|
|
|
|
window.scrollBy(0, -50);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
window.addEventListener("hashchange", shiftWindow);
|
|
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
// Scroll to anchor of location hash, adjusted for fixed navbar.
|
|
|
|
|
window.setTimeout(function() {
|
|
|
|
|
shiftWindow();
|
|
|
|
|
}, 1);
|
|
|
|
|
|
|
|
|
|
// Flip the caret when submenu toggles are clicked.
|
|
|
|
|
$(".sidebar-submenu").on("show.bs.collapse", function() {
|
|
|
|
|
var toggle = $('[href$="#' + $(this).attr('id') + '"]');
|
|
|
|
|
if (toggle) {
|
|
|
|
|
toggle.addClass("dropup");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$(".sidebar-submenu").on("hide.bs.collapse", function() {
|
|
|
|
|
var toggle = $('[href$="#' + $(this).attr('id') + '"]');
|
|
|
|
|
if (toggle) {
|
|
|
|
|
toggle.removeClass("dropup");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
</script>
|