mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-02-08 17:54:44 +00:00
Add canonical link to the original event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
87eec90337
commit
39017b63a9
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ defimpl Mobilizon.Service.Metadata, for: Mobilizon.Events.Event do
|
|||
Tag.tag(:meta, property: "og:title", content: event.title),
|
||||
Tag.tag(:meta, property: "og:url", content: event.url),
|
||||
Tag.tag(:meta, property: "og:description", content: event.description),
|
||||
Tag.tag(:meta, property: "og:type", content: "website")
|
||||
Tag.tag(:meta, property: "og:type", content: "website"),
|
||||
# Tell Search Engines what's the origin
|
||||
Tag.tag(:link, rel: "canonical", href: event.url)
|
||||
]
|
||||
|
||||
tags =
|
||||
|
|
Loading…
Reference in a new issue