Skip to content
View MattKotsenas's full-sized avatar

Organizations

@microsoft @dotnet @MicrosoftEdge @MicrosoftWHATWGContributors

Block or report MattKotsenas

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MattKotsenas/README.md

MattKotsenas

Personal website for matt.kotsenas.com. The site is generated using Hugo with the Blowfish theme.

Building locally

# Build the Hugo Docker image
docker build -t mattkotsenas/blog -f build/Dockerfile .

# Generate the site
docker run --rm -v ${PWD}:/src mattkotsenas/blog hugo --minify

# Output is in the public/ directory

Development server

dotnet tool restore
dotnet aspire start

# Open http://localhost:1313

Creating a new post

# Create a new post (replace 'my-post-slug' with your post's URL slug)
docker run --rm -v ${PWD}:/src mattkotsenas/blog hugo new posts/my-post-slug/index.md

This creates a new post with the correct frontmatter. To add a hero image:

  1. Add an image named feature.jpg or feature.png to the post folder
  2. The showHero: true frontmatter is already set by the archetype

Credits

Cover photo credit Taylor Bennett.

Pinned Loading

  1. MattKotsenas MattKotsenas Public

    My personal site

    CSS 2

  2. dotfiles dotfiles Public

    C# 7 2

  3. SquiggleCop SquiggleCop Public

    Prevent unintended changes to .NET analyzers

    C# 9

  4. Verify.Nupkg Verify.Nupkg Public

    C# 8 1