Below you will find pages that utilize the taxonomy term “Hugo”
Hugo - Add taxonomy to sort blog posts
The need to sort blog posts
As I have been adding more blog posts, I realized that I needed to start sorting them by category, to make finding relevant articles in the future easier. Fortunately, with a little research, the answer to this was pretty straightforward.
Add a taxonomy section to hugo.toml
Within the hugo.toml file, I added the following section after [“params”]:
[taxonomies]
category = "categories"
tag = "tags"
This gives me the option to do both categorization and add tags in the future. For now I just added categories, since I don’t have a search functionality on my side. If I add search later though, having the option to implement tags will be helpful.
Hugo - Creating the Profile page
Customizing a profile page within the hugo site.
It’s been a couple of weeks since I’ve worked on the Hugo site. However, I came back to it today to work on building out the Portfolio page that I created as a placeholder in the past, to get this site closer to something I’d be more comfortable sharing with the world. I started by filling out details within the placeholder markdown file I created before. Here were my goals:
Hugo - Fix home page indentation
The issue
As part of the Ananke theme for Hugo, the home page by default displays the most current blog posts. This is what I was looking for, and the main reason I chose this theme for the ss. As with the main page for any section, the home page uses a _index.md page in the root of the content folder, which is empty by default other than the headers. This is because the main purpose for this theme is to be used as a blog.
Hugo - Fixing broken image links
My Hugo images were broken!
Quick update for today, with another Hugo tip. As I have worked with markdown before, specifically while managing Wikis in Azure DevOps and GitHub, I simply created a subdirectory within my repository in the same area as the markdown files for my articles, and then pointed to my image files using the typical syntax of . When building my site within Hugo, it even properly ported these image files into the public site files, however no matter what I did, my links were broken.
Hugo - Customize the Ananke Theme
Continuing the Hugo Journey
As discussed in the previous Blog post, I’ve started to host my own tech blog site using the Hugo platform and hosting through GitHub pages. Today I decided to play with the platform a little more and see if I could extend my site to multiple pages and make it more of a personal homepage along with the blog. With this goal in mind, I worked on the following items:
First Blog Post - Creating this Blog
Why I created this blog
My name is Marcus, and I am an IT professional focused in Azure Cloud Deployments, and working to improve my skills in the Security and AI spaces. This blog is meant to be a space for me to focus on the following subjects:
- Discussions on personal projects I am working on
- Details on deployments with screenshots and code snippets, to help others as they come across the content
- Posts relating to learning activities I am working on, including certifications.
This blog is posted using the Hugo framework within GitHub pages. I chose this method since it is a free way to host content and it allows me to still have the control around content publishing and site theming. For more details on using Hugo, please visit https://gohugo.io/.