install relax ++ metaog

This commit is contained in:
Tessier
2020-09-21 18:41:23 +02:00
parent e20e0c5e9a
commit 1d46fd062c
28 changed files with 1083 additions and 86 deletions
@@ -12,7 +12,21 @@
<link rel="author" href="{{ site.theme.link }}/humans.txt" />
<link rel="pingback" href="{{ site.pingback_url }}" />
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
{% if post.post_type == "post" %}
{% set thumb = Image(post.image_event).src %}
{% set type = "article" %}
{% else %}
{% set thumb = post.thumbnail %}
{% set type = "website" %}
{% endif %}
<meta property="og:title" content="{{post.title}}">
<meta property="og:image" content="{{thumb}}">
<meta property="og:url" content="{{post.link}}">
<meta property="og:type:" content="">
<meta name="twitter:title" content="{{post.title}}">
<meta name="twitter:image" content="{{thumb}}">
<meta name="twitter:card" content="summary_large_image">
{{function('wp_head')}}