Hugo 使用 baseof.html 作为基础模板,子模板通过 block 定义可覆盖区域,从而复用公共布局并在需要时替换局部内容。掌握 define 和 template 指令能够构建层次分明的模板结构,提升站点维护性。