1
Fork 0

Add blog link to profile

This commit is contained in:
Jan-Lukas Else 2020-04-26 12:27:58 +02:00
parent 4bed2db371
commit 06c3bcf4b0
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,13 @@
"type": "Person",
"name": {{ .Site.Title | jsonify }},
"summary": {{ .Site.Params.description | jsonify }},
"attachment": [
{
"type": "PropertyValue",
"name": "Blog",
"value": "<a rel=\"me\" target=\"_blank\" href=\"{{ "" | absLangURL }}\">{{ strings.TrimSuffix "/" (strings.TrimPrefix "https://" (strings.TrimPrefix "http://" ("" | absLangURL))) }}</a>"
}
],
"preferredUsername": "{{ .Site.Language.Lang }}"
{{ with .Site.Author.avatar -}}
,"icon": {