> For the complete documentation index, see [llms.txt](https://support.morozovpimnev.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.morozovpimnev.ru/multiregion/khlebnye-kroshki.md).

# Хлебные крошки

Если в Вашем XSL шаблоне нет проверки узла на **link/url**, то в хлебных крошка можно наблюдать название региона, для этого добавьте в Вашем XSL шаблоне следующее

{% code lineNumbers="true" fullWidth="true" %}

```html
<!-- заменить -->
<!--<xsl:template match="/site">
	<xsl:if test="count(*[@id]) &gt; 0">
		<a href="/">Главная</a>
		<xsl:apply-templates select="*[@id]" />
	</xsl:if>
</xsl:template>-->
<!-- на -->
<xsl:template match="/site">
	<xsl:if test="count(*[@id][link/node() or url/node()]) &gt; 0">
		<a href="/">Главная</a>
		<xsl:apply-templates select="*[@id][link/node() or url/node()]" />
	</xsl:if>
</xsl:template>
```

{% endcode %}
