yennanliu / hugo-blog

My Blog V3 - Built with Hugo, deploy to Netlify

Home Page:https://main--frabjous-buttercream-835594.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hugo-blog

Setup

brew install hugo

Run

# hugo new site quickstart
# cd quickstart
# git init
# git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
# echo "theme = 'ananke'" >> hugo.toml
# hugo server


# create post
cd quickstart

hugo new content posts/my-first-post.md
hugo new content posts/my-second-post.md

# rebuild
hugo

# run app
cd quickstart

# run app show publish posts
hugo server

# run app show drafts
hugo server --buildDrafts
# or
hugo server -D

# http://localhost:1313
# http://localhost:1313/posts/my-first-post/

Development

Deployment

Ref

About

My Blog V3 - Built with Hugo, deploy to Netlify

https://main--frabjous-buttercream-835594.netlify.app/


Languages

Language:HTML 99.7%Language:CSS 0.3%