Basic Hugo Commands

This is my log for basic hugo commands: ``

  1. Create a new Hugo site: hugo new site <name of site>

  2. Create a new post: hugo new posts/<name of post.md>

  3. Run the server with drafts: hugo server -D

  4. Name of config file: hugo.toml

  5. 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
    
  6. Edit your hugo.toml file:

    themes = "anake"