Toml config title not in url

Hi,
my website title is only on the homepage and not other pages. Now, I have only “logos” and
what I want is “examplesite - logos”.

Here is my repo.. :face_savoring_food:

edit:

hugo toml:

title = 'example'

content:

title = "Logos"

I don’t think you want to duplicate the title on your Homepages, so in your baseof.html change the <title> tag to something like that:

<title>
   {{- if .IsHome -}}
      {{- site.Title -}}
   {{- else -}}
      {{- site.Title }} - {{ .Title -}}
   {{- end -}}
</title>

cool.. thanks :smiling_face_with_sunglasses:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.