How do I output the breadcrumbs using pdoTools?

Hi all. Trying to get bread crumbs through pdoTools.
But I duplicated one of the categories.
The structure is the following:
Home-Directory - Section - Item.

Deduce this:
<h2><a href="[[~[[+parent]]]]">Home</a> — <a href="[[~5]]">[[pdoField?id=`[[*parent]]`&field=`pagetitle`&top=`1`]]</a> — <a href="[[~[[*parent]]]]">[[pdoField?id=`[[*parent]]`&field=`pagetitle`&top=`0`]]</a> — [[*pagetitle]]</h2>


If you go to the product page, you get "Home-Directory - Section - Item.
If you go to the Catalog page, you get the Main - Catalog - Catalog - Catalog

Tell me how to bring them in the aforementioned structure?
April 3rd 20 at 18:39
1 answer
April 3rd 20 at 18:41
Brought through the
<h2>[[pdoCrumbs?&showHome=`1`&tpl=`@INLINE <li><a href="[[+link]]">[[+menutitle]]</a></li>`&tplCurrent=`@INLINE <li class="active"><span>[[+menutitle]]</span></li>`]]</h2>

Removed the Bootstrap styles.

Find more questions by tags MODXHTML