layouts/partials/footer.html
{{ if eq .Hugo.Environment "production" }} <script async src="https://www.googletagmanager.com/gtag/js?id=UA-165619342-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-165619342-1'); </script> {{ end }} <footer> <p> © {{ now.Format "2006"}} Prithu Goswami • <a href="mailto:prithugoswami524@gmail.com">Email me</a> • <a href="https://github.com/prithugoswami/personal-website"> View source </a> </p> </footer>