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 }}
|
2024-05-13 08:47:26 +00:00
|
|
|
{{- if len .Post.AllTags }}
|
2024-05-12 09:46:31 +00:00
|
|
|
tags:
|
2024-05-13 08:47:26 +00:00
|
|
|
{{- range .Post.AllTags }}
|
2024-05-12 09:46:31 +00:00
|
|
|
- {{ .Name }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2024-05-13 08:47:26 +00:00
|
|
|
{{- if len .Post.Descendants }}
|
2024-05-12 09:46:31 +00:00
|
|
|
descendants:
|
2024-05-13 08:47:26 +00:00
|
|
|
{{- range .Post.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-05-19 13:24:49 +00:00
|
|
|
{{ .Post.Content | toMarkdown }}
|
2024-04-21 16:43:55 +00:00
|
|
|
|
2024-05-13 08:47:26 +00:00
|
|
|
{{ range .Post.MediaAttachments }}
|
|
|
|
{{- if eq .Type "image" }}
|
2024-05-19 17:05:39 +00:00
|
|
|
{{- if .Path }}
|
|
|
|
![{{ .Description }}]({{ osBase .Path }})
|
|
|
|
{{- else }}
|
|
|
|
![{{ .Description }}]({{ .URL }})
|
|
|
|
{{- end }}
|
2024-05-12 09:46:31 +00:00
|
|
|
{{ end }}
|
2024-04-21 16:43:55 +00:00
|
|
|
{{- end -}}
|
|
|
|
|
2024-05-13 08:47:26 +00:00
|
|
|
{{ range .Post.Descendants }}
|
2024-05-19 13:24:49 +00:00
|
|
|
{{ .Content | toMarkdown }}
|
2024-05-13 08:47:26 +00:00
|
|
|
{{ range .MediaAttachments }}
|
|
|
|
{{- if eq .Type "image" }}
|
2024-05-19 17:05:39 +00:00
|
|
|
{{- if .Path }}
|
|
|
|
![{{ .Description }}]({{ osBase .Path }})
|
|
|
|
{{- else }}
|
|
|
|
![{{ .Description }}]({{ .URL }})
|
|
|
|
{{- end }}
|
2024-05-13 08:47:26 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|