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
- the filter |textebrut