hugo会按顺序寻找: config.yaml, config.json, config.toml content目录中不同的文件夹用于区分不同的网页内容. front matter就是提供给content的meta data, 并被包含在content里面. front matter里面的变量一部分是hugo预定义的. 可以自定义任何变量, 将会被放到 '.Params'里面, 用来被template使用. 必备的front matter: title, description, date, indexes(tags 和 catrgories) 可选的front matter: redirect, draft, type(如果不指定那么使用目录名字作为类型, 即同一类型的文章放在同一个目录下面), markup(实验中, 用于区分rst和md), slug/url(如果都没有指定那么使用文件名作为slug)
默认content是按照weight来排序的, 然后按照时间倒序排序.
优先级 filename < slug < filepath < section < path < url
section 就是文章所属于的根类型的意思.
好复杂, 我用url.
aliases groups与type groups_weight shortcodes Keywords 与 Tags Topics? redirect? section: top level? canonifyurls??? why name chome? browser?