init
This commit is contained in:
8
content/posts/my-first-post.md
Normal file
8
content/posts/my-first-post.md
Normal file
@ -0,0 +1,8 @@
|
||||
+++
|
||||
title = 'My First Post'
|
||||
date = 2024-11-20T03:48:45+08:00
|
||||
draft = true
|
||||
+++
|
||||
|
||||
|
||||
test
|
34
content/posts/test.md
Normal file
34
content/posts/test.md
Normal file
@ -0,0 +1,34 @@
|
||||
+++
|
||||
title = 'Test'
|
||||
date = 2024-11-20T02:40:33+08:00
|
||||
draft = true
|
||||
+++
|
||||
|
||||
install
|
||||
|
||||
```sh
|
||||
snap install hugo
|
||||
```
|
||||
|
||||
version check
|
||||
|
||||
```sh
|
||||
hugo version
|
||||
```
|
||||
|
||||
new site
|
||||
|
||||
```sh
|
||||
hugo new site qefee
|
||||
cd qefee
|
||||
git init
|
||||
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
|
||||
echo "theme = 'ananke'" >> hugo.toml
|
||||
hugo server
|
||||
```
|
||||
|
||||
add content
|
||||
|
||||
```sh
|
||||
hugo new content content/posts/test.md
|
||||
```
|
Reference in New Issue
Block a user