Hugo

Hugo releated notes. Current take some notes when reading official docuemts

Tips

Footnotes

This is a footnote.[^1]

[^1]: the footnote text.

Not only number, words work too.1

Github task list

- [ ] a task list item
- [ ] list syntax required
- [ ] incomplete
- [x] completed

Reading documents

目录结构

.
├── archetypes
├── config.toml
├── content
├── data
├── layouts
├── static
└── themes

archetypes: 用于hugo new,Lookup Order for Archetypes:

  • archetypes/posts.md
  • archetypes/default.md
  • themes//archetypes/posts.md
  • themes//archetypes/default.md (Auto-generated with hugo new site)