Skip to content
Snippets Groups Projects
Commit 0c54eb19 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] website_event: add share meta

parent 69321569
No related branches found
No related tags found
No related merge requests found
...@@ -386,6 +386,20 @@ ...@@ -386,6 +386,20 @@
</div> </div>
</div> </div>
</div> </div>
<t t-set="head">
<t t-raw='head'/>
<!-- Facebook and linkedin sharing data -->
<meta property="og:type" content="website" />
<meta property="og:url" t-att-content="request.httprequest.url" />
<meta property="og:description" t-attf-content="#{event.date_begin}" />
<meta property="og:image" t-attf-content="#{request.httprequest.url_root}logo.png" />
<!-- Twitter sharing data -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" t-attf-content="@#{res_company.name}" />
<meta name="twitter:title" t-att-content="event.name" />
<meta name="twitter:description" t-att-content="event.date_begin" />
</t>
</div> </div>
</t> </t>
</template> </template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment