Skip to main content

Hand-coded, minimal, and finished

★ Welcome to my homepage! ★ Sign the guestbook! ★ Best viewed at 800x600 ★

Deployment

Author: Demo Demarcus Published: Reading time: 1 min read Categories:Setup

Set your domain, build, and put it online.

Contents

Set your domain first

baseURL = "https://yourdomain.com/"

This is the one setting that genuinely matters. It feeds canonical URLs, the sitemap, Open Graph tags and the RSS feed. Leave a placeholder there and you are telling search engines your site is a duplicate of a domain you do not own.

Keep the trailing slash.

Build

hugo

Output lands in public/. There is no build step beyond this — no npm, no asset pipeline, no post-processing. The folder is a plain static site.

To check it locally the way a host will serve it:

hugo && cd public && python3 -m http.server 8000

Hosting

Anywhere that serves files. Netlify, Cloudflare Pages, GitHub Pages, S3, or a directory on a web server you already have.

The usual settings:

Build commandhugo
Publish directorypublic

Written by

Demo Demarcus

Demo Demarcus

I'm a demo writer. I do no actual work but pretend that its done by me yet people showcase me happily on their blogs.