Last active
January 3, 2016 21:48
-
-
Save taclab/8523774 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <BOUCLE_article_head(ARTICLES) {id_article}> | |
| <title>[(#TITRE|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title> | |
| <link rel="canonical" href="[(#URL_ARTICLE|url_absolue)]" /> | |
| <!-- Integration Search --> | |
| <meta name="description" content="[(#INTRODUCTION|textebrut|couper{200})]" /> | |
| <B_keywords> | |
| <meta name="keywords" content="<BOUCLE_keywords(MOTS){id_article}{id_groupe_racine=14}{","}>[(#TITRE)]</BOUCLE_keywords>" /> | |
| </B_keywords> | |
| <!-- END Integration Search --> | |
| <!-- Integration Twitter --> | |
| <meta name="twitter:card" content="summary"> | |
| <meta name="twitter:title" content="[(#TITRE|textebrut)]"> | |
| <meta name="twitter:description" content="[(#INTRODUCTION|textebrut|couper{200})]"> | |
| <meta name="twitter:image" content="[(#LOGO_ARTICLE{200,200}|extraire_attribut{src}|url_absolue)]"> | |
| <!-- END Integration Twitter --> | |
| <!-- Integration FB --> | |
| <meta property="og:title" content="[(#TITRE|textebrut)]" /> | |
| <meta property="og:type" content="article" /> | |
| [(#REM) SI le logo est trop petit, force le redimensionnement] | |
| [(#LOGO_ARTICLE|largeur|>{200}|non|ou{#LOGO_ARTICLE|hauteur|>{200}|non}) #SET{logo_fb_petit, oui} ] | |
| [(#GET{logo_fb_petit}|oui) | |
| <meta property="og:image" content="[(#LOGO_ARTICLE|image_passe_partout{300,300}|image_recadre{300,300,center}|extraire_attribut{src}|url_absolue)]" /> | |
| ] | |
| [(#GET{logo_fb_petit}|non) | |
| <meta property="og:image" content="[(#LOGO_ARTICLE|extraire_attribut{src}|url_absolue)]" /> | |
| ] | |
| <meta property="og:url" content="[(#URL_ARTICLE|url_absolue)]" /> | |
| <meta property="og:description" content="[(#INTRODUCTION|textebrut|couper{200})]" /> | |
| <!-- END Integration FB --> | |
| </BOUCLE_article_head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment