/images/BNG-Headshot-Black-Edited.png

Brendan Sluke

Solution: You Haven't Configured Ublogger Version param correctly yet

UBlogger Error Message in Hugo When I first started out using Hugo, I was attempting to use the UBlogger theme. When I tried to perform the hugo serve command, I was prompted with this error: 1 You haven't configured the uBlogger version param correctly yet. See #basic-configuration uBlogger #basic-configuration Solution Update your config file at the root of your Hugo project to have the correct version parameters.

Solution: Failed to Unmarshal Yaml Did Not Find Expected Key

TL;DR Make sure to escape any double quotes that you have in a field in the front matter of your hugo content files. You can escape double quotes with a backslash. Backstory I was trying to add a new “description” field to the front matter of one of my blog posts in Hugo and I was met with this error: failed to unmarshal YAML: yaml: line 1: did not find expected key

How to Add a Static sitemap.xml to Angular App with Firebase Hosting

In this blog post we will go over how to add a simple sitemap.xml to your Angular App. For this tutorial I will be using Angular v11.0.4. Create a sitemap.xml File The first step to adding a sitemap.xml to your angular app is to create a sitemap.xml file. If you already have a sitemap file created, move onto the next step. To create a sitemap, open up your favorite text editor and create an XML file using this format:

How to Include robots.txt in Angular App using Firebase Hosting

It can be a little bit tricky to figure out how to get your robots.txt file to be included in the deployment of your Angular app to Firebase hosting, but it is actually quite simple in the end. I originally added my robots.txt file to my src folder, but it still wasn’t being deployed. If you are running into this issue the steps listed below will help you out. Add your robots.

Shutting Down PriceMedal.com and the PriceMedal Reddit Bot

Shutting Down PriceMedal I’ve decided to shut down my website, PriceMedal, a website that tracked Playstation 4 game prices from the Playstation Store, Walmart, and Amazon. I really enjoyed creating and maintaining the website, it was sad to shut the project down, but the work involved to keep the website up and running has become too much. I will use the newly available time to work on other projects including this blog.

The token '&&' is not a valid statement separator in this version

I was trying to run a command that would allow me to both build my Angular project and deploy it to firebase hosting in a one line command in VS Code’s terminal using the Angular CLI. Original Command After running this command ng build --prod && firebase deploy I was met with this error message: 1 2 3 4 5 + ng build --prod && firebase deploy + ~~ The token '&&' is not a valid statement separator in this version.