{{ $cutoffDate := time.AsTime "2026-01-30" }} {{ if .Params.Date.Before $cutoffDate }} {{ $giscusData := hugo.Data.giscus }} {{ $pageTitle := .Title }} {{ range $giscusData }} {{ if eq .title $pageTitle }} {{ $url := .url }} {{ with .comments.nodes }}
博客的评论区已经被禁用,旧的数据已经导出,可以点击这行字查看。
{{ range . }}
{{ .author.login }} {{ .createdAt | time.Format "2006/01/02" }}
{{ .body | markdownify }}
{{ end }}
{{ with $url }}

Full GitHub Discussion →

{{ end }}
{{ end }} {{ end }} {{ end }} {{ end }}