Update list and single layouts for Hugo 0.63.1

The changes to the base template lookup in Hugo 0.63.1 mean that the
single/list templates must start with a `define` block. The comment
block that had been in use breaks this requirement and resulted in pages
not rendering properly at all.

See https://gohugo.io/news/0.63.0-relnotes/ particularly:

* Note: In a base template (e.g. baseof.html), the first template block
must be a define.
master
Kevin C. Coram 2020-01-23 23:13:43 -05:00
父節點 509262ad4a
當前提交 a7cc18e837
簽署人: kevin
GPG 金鑰 ID: 0342351B3D61AD35
共有 2 個檔案被更改,包括 0 行新增2 行删除

查看文件

@ -1,4 +1,3 @@
{{/* This will override the default value set in baseof.html; i.e., "{{.Site.Title}}" in the original example */}}
{{ define "title" }}
{{ .Title }} – {{ .Site.Title }}
{{ end }}

查看文件

@ -1,4 +1,3 @@
{{/* This will override the default value set in baseof.html; i.e., "{{.Site.Title}}" in the original example */}}
{{ define "title" }}
{{ .Title }} – {{ .Site.Title }}
{{ end }}