{{/* 后台页面外壳:
+ 共享样式/脚本 + 页面内容插槽。 页面模板只需提供三个 define: {{define "title"}} 浏览器标题 {{define "content"}} 正文(含自己的 .bar / .main 容器) 需要顶部导航时,在 content 里写 {{template "bar" .}}(登录页不需要,故不引用)。 样式与脚本走 /admin/assets/(同样是 embed 进二进制,零外部依赖、零构建): CSS 独立成文件后浏览器可跨页缓存,也才有真正的 CSS 语法高亮与补全。 */}} {{define "layout"}}