- Clone the repo.
- Install Hugo and Pagefind through npm (even though you don't need node for this project).
- Run the file
start_dev_server.shto launch a local development server. Unfortunately it doesn't hot-reload yet :/ Pagefind and Hugo clash when you run on the Hugo dev server, will look into in the future. - Pick a color from
/static/css/colorswhich refers to Pico's site, and replace the originalpico.min.csswith the one you want, then delete the rest. - Customize from there. Customize the styles in
/static/styles.css. - Add content using
hugo new content/posts/my-new-post.mdorhugo new content/posts/my-new-post/index.mdto organize by folder. - Host using Cloudflare Pages, Vercel, or something similar
Make sure the build command is
hugo --gc --minify && npm_config_yes=true npx pagefind.
daqnal/blog-template
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|