Skip to content

Repository files navigation

Personal site local setup

This repository uses Hugo, not Jekyll. The theme is PaperMod.

First-time setup

Run this from the repository root:

.\scripts\setup-hugo.ps1

That downloads a local copy of Hugo Extended into .tools/hugo/, so you do not need a global install.

Start the site locally

.\scripts\serve.ps1

The site will be available at http://127.0.0.1:1313/.

Draft posts are shown locally because the script runs hugo server --buildDrafts.

Create a new post

.\scripts\new-post.ps1 "My New Post"

That creates a new draft in content/posts/ using today's date in the filename.

When you are ready to publish the post, change this line in the post front matter:

draft: false

Build the site

.\.tools\hugo\hugo.exe

That regenerates the static output in public/.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages