- run this command to regenerate the files
hugo
- go to github and create a repository whit this name
<user_name>.github.io/ for me codepediair.github.io/mysite
- and push all codes
and deploy this on github pages
winget install --id Git.Git -e --source winget
scoop install hugo-extended
hugo new site mySite
cd mySite
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke
hugo new posts/my-first-post.md
code .
** open config.toml ** and add this line to buttom
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'ananke'
---
title: "My First Post"
date: 2023-02-21T10:59:28+03:30
draft: true
---
## Introduction
This is **bold** text, and this is *emphasized* text.
Visit the [Hugo](https://gohugo.io) website!
hugo server --buildDrafts
hugo server -D