Personal website for matt.kotsenas.com. The site is generated using Hugo with the Blowfish theme.
# Generate the site with the production Docker build
docker build --target export --output type=local,dest=public -f build/Dockerfile .dotnet tool restore
dotnet aspire start
# Open http://localhost:1313After signing in with the Azure and GitHub CLIs, start the AppHost and run Configure Container App deployment on
the blog resource. The command configures GitHub-to-Azure OIDC deployment. It can also be run from the terminal:
dotnet aspire start
dotnet aspire resource blog configure-container-app-deployment
dotnet aspire stopRun dotnet aspire stop even if configuration fails. If the application already exists, verify its application ID and
pass it with --applicationId. If the deployment service principal is replaced, rerun this command and commit the
regenerated deployment artifacts.
Run the Build and Deploy workflow manually to deploy the preview Container App to the blog resource group in
West US 3.
The publish model owns website records within the Azure DNS zones in resource group dns. Until the registrar
nameservers change, those records are non-authoritative and point to the legacy Web App.
# Create a new post (replace 'my-post-slug' with your post's URL slug)
docker run --rm -v "${PWD}:/src" "$(docker build --quiet --target dev -f build/Dockerfile .)" new posts/my-post-slug/index.mdThis creates a new post with the correct frontmatter. To add a hero image:
- Add an image named
feature.jpgorfeature.pngto the post folder - The
showHero: truefrontmatter is already set by the archetype
Cover photo credit Taylor Bennett.





