diff --git a/inclure/entravaux.html b/inclure/entravaux.html index 7a1e4da5f296701f14b31bd201be2d88202b5d0b..e3bc0a31ca0ba16a5597aad591c3126b35b75c65 100644 --- a/inclure/entravaux.html +++ b/inclure/entravaux.html @@ -7,13 +7,17 @@ <title><:entravaux:en_travaux:> - [(#NOM_SITE_SPIP|textebrut)]</title> -<meta property="og:title" content="[(#ENV{title}|sinon{<:soyezcreateurs:sommaire:>})]" /> -<meta property="og:type" content="article" /> -<meta property="og:url" content="[(#SELF|url_absolue)]" /> -<BOUCLE_LogoArticle(ARTICLES){id_article}{logo}>[<meta property="og:image" content="(#LOGO_ARTICLE_NORMAL|extraire_attribut{src}|url_absolue)" />]</BOUCLE_LogoArticle><BOUCLE_LogoRubrique(RUBRIQUES){id_rubrique}{logo}>[<meta property="og:image" content="(#LOGO_RUBRIQUE_NORMAL|extraire_attribut{src}|url_absolue)" />]</BOUCLE_LogoRubrique>[<meta property="og:image" content="(#LOGO_SITE_SPIP_NORMAL|extraire_attribut{src}|url_absolue)" />]<//B_LogoRubrique><//B_LogoArticle> +[(#SET{logoreseauxsociaux,[(#LOGO_RUBRIQUE_NORMAL|sinon{#CHEMIN{images/nature-2683474_1920.jpg}}|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})] +[<meta property="og:image" content="(#GET{logoreseauxsociaux,#CHEMIN{images/1.gif}})" />] <meta property="og:site_name" content="[(#NOM_SITE_SPIP|textebrut)]" /> -[<meta property="og:description" content="(#DESCRIPTIF_SITE_SPIP|supprimer_tags|attribut_html)" />] +[<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="description" content="(#DESCRIPTIF_SITE_SPIP|supprimer_tags|attribut_html)" />] <meta name="generator" content="SPIP [(#SPIP_VERSION|attribut_html)]" /> diff --git a/noisettes/header/header.html b/noisettes/header/header.html index 061a307d63610aa6785fd9153e0416533c39b06d..e3c178004293772a16b59e60fc9226541f160bad 100644 --- a/noisettes/header/header.html +++ b/noisettes/header/header.html @@ -6,9 +6,13 @@ <meta property="og:title" content="[(#ENV{title}|sinon{[(#NOM_SITE_SPIP|textebrut|attribut_html)]})]" /> <meta property="og:type" content="[(#ENV{template}|=={'Sommaire'}|?{website,article})]" /> <meta property="og:url" content="[(#SELF|url_absolue)]" /> -#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})" />] +#SET{logoreseauxsociaux,''} +[(#SET{logoreseauxsociaux,[(#ENV{id_article}|oui)[(#LOGO_ARTICLE_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]})] +[(#GET{logoreseauxsociaux}|non)[(#ENV{id_syndic}|oui)[(#SET{logoreseauxsociaux,[(#LOGO_SITE_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]]] +[(#GET{logoreseauxsociaux}|non)[(#ENV{id_mot}|oui)[(#SET{logoreseauxsociaux,[(#LOGO_MOT_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]]] +[(#GET{logoreseauxsociaux}|non)[(#ENV{id_groupe}|oui)[(#SET{logoreseauxsociaux,[(#LOGO_GROUPE_NORMAL|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]]] +[(#GET{logoreseauxsociaux}|non)[(#SET{logoreseauxsociaux,[(#LOGO_RUBRIQUE_NORMAL|sinon{#CHEMIN{images/nature-2683474_1920.jpg}}|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})]] +[<meta property="og:image" content="(#GET{logoreseauxsociaux,#CHEMIN{images/1.gif}})" />] <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)]" />