vector的个人博客

Hugo使用总结

快速开始

https://gohugo.io/getting-started/quick-start/

hugo new site blog
cd blog
git init
git submodule add https://github.com/nanxiaobei/hugo-paper.git themes/hugo-paper
echo "theme = 'hugo-paper'" >> hugo.toml
hugo server

主题列表

https://themes.gohugo.io/

添加内容

hugo new content posts/my-first-post.md
---
title: "My First Post"
date: 2022-11-20T09:03:20-08:00
draft: true
---

## Introduction

This is **bold** text, and this is *emphasized* text.

Visit the [Hugo](https://gohugo.io) website!

发布

hugo

配置

菜单

https://gohugo.io/content-management/menus/