Below you will find pages that utilize the taxonomy term “hugo”
March 25, 2022
Google Analytics Hugo Theme
Google Analytics in my Hugo website I initially was using the following code to track my google analytics however it wasn’t working: <script type="application/javascript"> var doNotTrack = false; if (!doNotTrack) { window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'G-3VXD2H9YHW', 'auto'); ga('send', 'pageview'); } </script> <script async="" src="https://www.google-analytics.com/analytics.js"></script>
I’m using a Hugo theme which happens to be using a Hugo internal template. I basically entered my tag manager measurement id into the yml config file and it constructed the javascript above.
January 23, 2022
US Web Design System Hugo Basic Template
The U.S. Web Design System (USWDS) is a design system for the federal government to build accessible, mobile friendly government websites. But that doesn’t mean it can’t be used outside of government. I’m going to create a very basic hugo theme that utilizes this design system. Eventually when I build it up enough, I’d like to replace the theme initially used on the BogdanWorks website, gohugo-theme-ananke theme, with the USWDS theme I’m creating.
November 9, 2021
Adding Formspree Contact Form to Hugo website
Formspree is a form backend, API and email service for HTML & Javascript forms. It’s a simple way to embed custom “contact us” forms on a static website, like Hugo. I’d like to add a reCAPTCHA to the form so I don’t recieve too much spam mail. It’s a simple process, but I’ll go through the steps in how I set it up for this Hugo website. And you can see my contact form in action right on this site.
October 18, 2021
Hugo Early Release Installation
Installing Early Release of Hugo Working on a new project that uses Hugo static site generator, I initially installed hugo via homebrew with the following command
brew install hugo Attempting to launch a website built with Hugo 0.79.0 after the installing the current version (at the time of this post Hugo version 0.88.1) on the my machine resulted in the following:
Terminal Hugo Server command warning 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 bworks@BWorkss-iMac % hugo server WARN 2021/10/19 14:19:31 markup.