Learn theme: template function

In the learn template, in layouts/partials/header.html I see

 {{ template "breadcrumb" dict "page" . "value" .Title }}

but I don’t see template in the list of hugo functions. and I can’t find a shortcode in the learn template by that name. What does {{ template … }} mean here?

there it is

That’s interesting – that says “Now it’s useful only for calling internal templates” but the learn template is calling breadcrumb which isn’t in that list of internal templates.

yes, hugo is under development, things are changing.
Don’t if hugo ever had breadcrumbs

ask google for breadcrumb gohugo site:github.com to find more

It’s defined inline:


OK, it’s define in this theme and not in Hugo :wink: