Basic Hugo Commands
- published
- reading time
- 1 minute
This is my log for basic hugo commands: ``
-
Create a new Hugo site:
hugo new site <name of site> -
Create a new post:
hugo new posts/<name of post.md> -
Run the server with drafts:
hugo server -D -
Name of config file:
hugo.toml -
Get a theme for your hugo site:
git init # If you haven’t alreaday git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke -
Edit your
hugo.tomlfile:themes = "anake"