mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-17 07:48:21 +01:00
Added invisible tags
This commit is contained in:
parent
ded14ae11d
commit
fc8f4c1da9
2 changed files with 13 additions and 0 deletions
|
@ -28,3 +28,4 @@ secondaryApUser="FLEAR"
|
|||
repoUrl="https://git.qoto.org/flear"
|
||||
siteRepoUrl="https://git.qoto.org/flear/flear-site"
|
||||
siteEmail="flear@flear.org"
|
||||
postHashtags=["HamRadio", "AmateurRadio", "Ham", "RF", "ElectricalEngineering", "EE"]
|
||||
|
|
|
@ -32,6 +32,18 @@
|
|||
"url": "{{.Permalink}}",
|
||||
"attributedTo": "{{ .Site.BaseURL }}{{ site.Params.apUser | lower}}",
|
||||
"to": "https://www.w3.org/ns/activitystreams#Public",
|
||||
{{ if .Site.Params.postHashtags }}
|
||||
"tag": [
|
||||
{{ range $indexTags, $elementTag := .Site.Params.postHashtags }}
|
||||
{{ if ne $indexTags 0 }}, {{ end }}
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://qoto.org/tags/{{ $elementTag }}",
|
||||
"name": "#{{ $elementTag }}"
|
||||
}
|
||||
{{ end }}
|
||||
],
|
||||
{{ end }}
|
||||
"published": {{ dateFormat "2006-01-02T15:04:05-07:00" .Date | jsonify }}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue