2024-04-21 16:12:13 +00:00
|
|
|
---
|
|
|
|
date: {{ .Post.CreatedAt }}
|
2024-05-12 09:46:31 +00:00
|
|
|
{{- if .Post.InReplyToId }}
|
|
|
|
in_reply_to: {{ .Post.InReplyToId }}
|
|
|
|
{{- end }}
|
|
|
|
post_uri: {{ .Post.URI }}
|
|
|
|
post_id: {{ .Post.Id }}
|
|
|
|
{{- if len .Tags }}
|
|
|
|
tags:
|
|
|
|
{{- range .Tags }}
|
|
|
|
- {{ .Name }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if len .Descendants }}
|
|
|
|
descendants:
|
2024-04-21 16:43:55 +00:00
|
|
|
{{- range .Descendants }}
|
2024-04-21 16:12:13 +00:00
|
|
|
- {{ .Id }}
|
|
|
|
{{- end }}
|
2024-05-12 09:46:31 +00:00
|
|
|
{{- end }}
|
2024-04-21 16:12:13 +00:00
|
|
|
---
|
2024-04-21 16:43:55 +00:00
|
|
|
{{ .Post.Content | tomd }}
|
|
|
|
|
2024-05-12 09:46:31 +00:00
|
|
|
{{- range .Post.MediaAttachments }}
|
|
|
|
{{ if eq .Type "image" }}
|
2024-05-08 23:13:10 +00:00
|
|
|
![{{ .Description }}]({{ .Path }})
|
2024-05-12 09:46:31 +00:00
|
|
|
{{ end }}
|
2024-04-21 16:43:55 +00:00
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- range .Descendants }}
|
|
|
|
{{ .Content | tomd -}}
|
2024-05-12 09:46:31 +00:00
|
|
|
{{- range .MediaAttachments }}
|
|
|
|
{{ if eq .Type "image" }}
|
2024-05-08 23:13:10 +00:00
|
|
|
![{{ .Description }}]({{ .Path }})
|
2024-05-12 09:46:31 +00:00
|
|
|
{{ end }}
|
|
|
|
{{- end -}}
|
2024-04-21 16:43:55 +00:00
|
|
|
{{- end -}}
|