{{/* section is AKA list */}} {{- define "main" }}

{{ .Title }}

{{ with .Param "subtitle" }}
{{ . }}
{{ end }}
{{ .Description | markdownify }}
{{- partial "newsletter_sub_form.html"}}
{{ $pages := where .Pages "Params.hidden" "!=" true }} {{ if $pages }}

最新通讯

{{- range first 5 $pages }}
{{- if not .Date.IsZero -}} {{ .Date | time.Format (default "January 2, 2006" site.Params.DateFormat) }} {{- end }}
{{ with .Param "issueno" }}#{{ . }}{{ end }}
{{- end }}
{{ end }}

相关链接

{{ end }}