Following content cited from official doc.
Recap
In the following posts, I will share how I create a personal blog-website in three components: Create website, Create post, Deployment on github pages respectively. Each part have different details
- Create website
- Create Post
- Markdown language and style
- Mange Image assets
- Embed Youtube, Instagram, Tweets
- Deployment on gitbub
- github aciton
- update
Quickstart
Create the directory structure for your project in the quickstart directory. Replace blog-website name to your own folder name.
| |
Change the current directory to the root of your project.
| |
Initialize an empty Git repository in the current directory.
| |
Start Hugo’s development server to view the site.
| |
Press Ctrl + C to stop Hugo’s development server.
Configure the site
With your editor, open the site configuration file (config.toml) in the root of your project.
Theme application(Optional)
Clone the PaperMod theme into the themes directory, adding it to your project as a Git submodule.
Append a line to the site configuration file, indicating the current theme.
| |
Add content
Add a new page to your site.
| |
Markdown language
Instead of replace current font sylte