mirror of
https://github.com/adulau/mastodon-markdown-archive.git
synced 2024-10-09 15:51:44 +00:00
26 lines
498 B
Cheetah
26 lines
498 B
Cheetah
---
|
|
date: {{ .Post.CreatedAt }}
|
|
post_url: {{ .Post.URI }}
|
|
post_ids:
|
|
- {{ .Post.Id }}
|
|
{{- range .Descendants }}
|
|
- {{ .Id }}
|
|
{{- end }}
|
|
---
|
|
|
|
{{ .Post.Content | tomd }}
|
|
|
|
{{ range .Post.MediaAttachments }}
|
|
{{- if eq .Type "image" -}}
|
|
![{{ .Description }}]({{ .Path }})
|
|
{{ end }}
|
|
{{- end -}}
|
|
|
|
{{- range .Descendants }}
|
|
{{ .Content | tomd -}}
|
|
{{ range .MediaAttachments }}
|
|
{{- if eq .Type "image" -}}
|
|
![{{ .Description }}]({{ .Path }})
|
|
{{ end }}
|
|
{{- end -}}
|
|
{{- end -}}
|