Skip to content
Extraits de code Groupes Projets
Valider f31aa0db rédigé par RealET's avatar RealET :kissing_cat:
Parcourir les fichiers

Ajout des info Twitter Card

parent ed206f3f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -2,14 +2,22 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="#LANG" xml:lang="#LANG" dir="#LANG_DIR" prefix="og: http://ogp.me/ns#">
<head><meta charset="#CHARSET" />
<title>[(#ENV{title}) - ][(#NOM_SITE_SPIP|textebrut)]</title>
[(#REM) FaceBook Open Graph : https://developers.facebook.com/docs/opengraphprotocol/ & https://developers.facebook.com/tools/lint pour vrifier ]
[(#REM) FaceBook Open Graph : https://developers.facebook.com/docs/opengraphprotocol/ & https://developers.facebook.com/tools/lint pour vérifier ]
<meta property="og:title" content="[(#ENV{title}|sinon{[(#NOM_SITE_SPIP|textebrut|attribut_html)]})]" />
<meta property="og:type" content="article" />
<meta property="og:type" content="[(#ENV{template}|=={'Sommaire'}|?{website,article})]" />
<meta property="og:url" content="[(#SELF|url_absolue)]" />
<BOUCLE_LogoArticle(ARTICLES){id_article}{logo}>[<meta property="og:image" content="(#LOGO_ARTICLE_NORMAL|image_focus{200,200}|extraire_attribut{src}|url_absolue)" />]</BOUCLE_LogoArticle><BOUCLE_LogoSite(SITES){id_syndic}{logo}>[<meta property="og:image" content="(#LOGO_SITE_NORMAL|image_focus{200,200}|extraire_attribut{src}|url_absolue)" />]</BOUCLE_LogoSite><BOUCLE_LogoRubrique(RUBRIQUES){id_rubrique}{logo}>[<meta property="og:image" content="(#LOGO_RUBRIQUE_NORMAL|image_focus{200,200}|extraire_attribut{src}|url_absolue)" />]</BOUCLE_LogoRubrique>[<meta property="og:image" content="(#LOGO_SITE_SPIP_NORMAL|image_focus{200,200}|extraire_attribut{src}|url_absolue)" />]<//B_LogoRubrique><//B_LogoSite><//B_LogoArticle>
#SET{logoreseauxsociaux,#CHEMIN{images/1.gif}}
<BOUCLE_LogoArticle(ARTICLES){id_article}{logo}>[(#SET{logoreseauxsociaux,[(#LOGO_ARTICLE_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]</BOUCLE_LogoArticle><BOUCLE_LogoSite(SITES){id_syndic}{logo}>[(#SET{logoreseauxsociaux,[(#LOGO_SITE_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]</BOUCLE_LogoSite><BOUCLE_LogoRubrique(RUBRIQUES){id_rubrique}{logo}>[(#SET{logoreseauxsociaux,[(#LOGO_RUBRIQUE_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]</BOUCLE_LogoRubrique>[(#SET{logoreseauxsociaux,[(#LOGO_SITE_SPIP_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]<//B_LogoRubrique><//B_LogoSite><//B_LogoArticle>
[<meta property="og:image" content="(#GET{logoreseauxsociaux})" />]
<meta property="og:site_name" content="[(#NOM_SITE_SPIP|textebrut)]" />
[<meta property="og:description" content="(#ENV{metadescription,[(#DESCRIPTIF_SITE_SPIP|supprimer_tags|attribut_html)]}|couper{150})" />]
<meta property="og:locale" content="[(#LANG|strtolower)]_[(#LANG|strtoupper)]" />
[(#REM) Twitter card]
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="[(#SELF|url_absolue)]" />
<meta property="twitter:title" content="[(#ENV{title}|sinon{[(#NOM_SITE_SPIP|textebrut|attribut_html)]})]" />
[<meta property="twitter:description" content="(#ENV{metadescription,[(#DESCRIPTIF_SITE_SPIP|supprimer_tags|attribut_html)]}|couper{150})" />]
[<meta property="twitter:image" content="(#GET{logoreseauxsociaux})" />]
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<BOUCLE_http-equiv(MOTS){type=_HTTP-EQUIV}{par titre}>[<meta[ http-equiv="(#TITRE|attribut_html)"] content="(#TEXTE|attribut_html)" />]</BOUCLE_http-equiv>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter