mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 09:46:11 +01:00
11 lines
326 B
Text
11 lines
326 B
Text
{{- $notePages := where site.RegularPages "Section" "eq" "notes" -}}
|
|
{{- $notePage := index $notePages 0 -}}
|
|
{{- if $notePage.Params.inReplyTo -}}
|
|
{{- range $notePages -}}
|
|
{{- if not .Params.inReplyTo -}}
|
|
{{- $notePage = . -}}
|
|
{{- break -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
{{- return $notePage -}}
|