#DESCRIPTIF_SITE_SPIP returns the description of the site as defined on the configuration page in the private area (back office).


In the <head> section of the HTML code, this makes it possible to define the value for the HTML "description" meta tag using this SPIP tag, which is particularly useful on the site’s home page (the sommaire.html file).

[<meta name="description" content="(#DESCRIPTIF_SITE_SPIP|couper{150}|textebrut)" />]

In this example, the couper{150} filter trims the contents to the first 150 characters (whilst still avoiding cutting any given word in half); and then the textebrut filter removes any HTML mark-up.

Author Mark Baber Published : Updated : 12/03/23

Translations : English, français, Nederlands