Creating This Website

AI gen garbo:

I recently decided to create a personal website to showcase my art, writing, and technical projects. Here’s how I built it using Hugo and deployed it to Cloudflare Pages.

Why Hugo? #

I chose Hugo as my static site generator because:

  • It’s fast and simple
  • No JavaScript framework required
  • Markdown-based content
  • Great theme ecosystem

Site Setup #

  1. Created a new Hugo site:
hugo new site testhugo
  1. Found and customized the ’typo’ theme for its clean, minimalist design
  2. Organized content into sections: blog, art, and writing
  3. Customized the theme’s color palette and layout

Deployment with Cloudflare Pages #

Deploying to Cloudflare Pages was straightforward:

  1. Connected my GitHub repository to Cloudflare Pages
  2. Set build command: hugo --gc --minify
  3. Set build directory: public
  4. Added environment variable: HUGO_VERSION=0.121.1

The site now automatically deploys whenever I push changes to the main branch.

What’s Next? #

Future improvements I’m planning:

  • Add image galleries for artwork
  • Implement tags and categories
  • Add a comments system using giscus
  • Optimize images and loading performance

If you’re interested in creating your own Hugo site, the official Hugo documentation is an excellent place to start.