26 lines
720 B
Plaintext
26 lines
720 B
Plaintext
|
{
|
||
|
"@context": [
|
||
|
"https://www.w3.org/ns/activitystreams"
|
||
|
],
|
||
|
"id": "{{ "" | absLangURL }}",
|
||
|
"type": "Person",
|
||
|
"name": {{ .Site.Title | jsonify }},
|
||
|
"summary": {{ .Site.Params.description | jsonify }},
|
||
|
"preferredUsername": "{{ .Site.Language.Lang }}"
|
||
|
{{ with .Site.Author.avatar -}}
|
||
|
,"icon": {
|
||
|
"type": "Image",
|
||
|
"url": "{{ . | absURL }}"
|
||
|
}
|
||
|
{{- end }}
|
||
|
{{ with .Site.Params.activitypub.inbox -}}
|
||
|
,"inbox": "{{ . }}"
|
||
|
{{- end }}
|
||
|
{{ with .Site.Params.activitypub.publickeypem -}}
|
||
|
,"publicKey": {
|
||
|
"id": "{{ "" | absLangURL }}#main-key",
|
||
|
"owner": "{{ "" | absLangURL }}",
|
||
|
"publicKeyPem": "{{ . }}"
|
||
|
}
|
||
|
{{- end }}
|
||
|
}
|