Skip to content

nitpum/nitpum.com

Repository files navigation

nitpum.com

Netlify Status

My personal website

Features

  • No external dependencies (font, css, js, etc.)
  • Light/Dark mode
  • Javascript not required

Requirement

  • Hugo v0.118.2+
  • Go 1.20+ (optional)
  • Node.js (optional for prettier)

Setup

  1. Install prettier-plugin-go-template in same scope as prettier
npm install --global prettier-plugin-go-template

Use prettier for js formatter

Create new post

hugo new --kind post post/<post-name>

Development

hugo server

Render draft content

hugo server -D

Build

hugo