Skip to content

Commit e1a820b

Browse files
chore: update article ld+json
1 parent 7392e2a commit e1a820b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

templates/blog/article.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,19 @@
3434
"name": "{{ article.author.name }}"
3535
},
3636
"datePublished": "{{ article.date_gmt }}",
37+
"dateModified": "{{ article.modified_gmt }}",
3738
{% if article.image and article.image.source_url %}
3839
"image": "{{ article.image.source_url }}",
3940
{% endif %}
4041
"url": "{{ self.canonical_url() }}",
4142
"publisher": {
4243
"@type": "Organization",
43-
"name": "{% if is_canonical_announcement %}Canonical{% else %}Ubuntu{% endif %}"
44+
"@id": "{% if is_canonical_announcement %}https://canonical.com{% else %}https://ubuntu.com{% endif %}",
45+
"name": "{% if is_canonical_announcement %}Canonical{% else %}Ubuntu{% endif %}",
46+
"logo": {
47+
"@type": "ImageObject",
48+
"url": "https://assets.ubuntu.com/v1/c55060fd-COF%20android-chrome-512x512.png"
49+
}
4450
}
4551
}
4652
</script>

0 commit comments

Comments
 (0)