35 lines
406 B
Markdown
35 lines
406 B
Markdown
|
+++
|
||
|
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
|
||
|
```
|