hugo-theme-zzo icon indicating copy to clipboard operation
hugo-theme-zzo copied to clipboard

Breadcrumb root

Open danraymond opened this issue 3 years ago • 2 comments

How to change the root breadcrumb from" Hugo zzo Theme". I have followed the instructions for a fresh site. Everything works okay, but the breadcrumb shown when clicking the "posts" menu item begins with "Hugo zzo Theme" how can change this?

danraymond avatar Apr 20 '21 11:04 danraymond

Same problem. And title bar also shows "Hugo zzo Theme".

dushaoshuai avatar Apr 24 '21 08:04 dushaoshuai

  • You can change it in: languages.toml, but it changes title for everything.
[es]
  title = "my title"
  • You can change it in themes/zzo/layouts/partials/body/breadcrumb.html
{{ if eq (len .p1.Title) 0 }}
    <!--<a href="{{ .p1.Permalink }}" class="capitalize">{{ .p1.Site.Title }}</a>-->
    <a href="{{ .p1.Permalink }}" class="capitalize">{{ printf "Title for breadcrumb" }}</a>
{{ else if eq .p1 .p2 }}

image

sckull avatar May 20 '21 01:05 sckull