#NOM_SITE_SPIP

#NOM_SITE_SPIP displays the name of the site.

Use}

This is a tag which is usually used out of the loop, as in /squelettes-dist/inclure/header.html, or in a loop. In both cases, it returns the name of the site.

Example in a loop
In /squelettes-dist/article.html, it is called this:

<BOUCLE_principale(ARTICLES){id_article}>
…
<head>
…
	<title>[(#TITRE|couper{80}|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title>
…
</head>
…
</BOUCLE_principale>
  • #TITRE will return the title of the article;
  • #NOM_SITE_SPIP will return the name of the site.

Define Site Name

The site name [1] is defined in Configuration -> Site name.

See also Modifying the name of "My SPIP site"

See also

Footnotes

[1When installing a new SPIP, the default site name is "My SPIP site".
To change it, you must click on "Configuration" and change the text in the "Site Name" field

Author Mark Published : Updated : 20/04/23

Translations : عربي, català, English, Español, français, Nederlands