austingebauer / devise

A fast, minimal, responsive Hugo theme for blogs.
https://themes.gohugo.io/devise
MIT License
103 stars 56 forks source link

Website title not being updated #6

Closed aravindthokala closed 4 years ago

aravindthokala commented 4 years ago

In the config file, even though the website title field is updated with my name, it shows my website link instead of my name.

austingebauer commented 4 years ago

Hi, @aravindthokala!

Can you confirm that your config includes title = "" at the top level? The title field should be set appropriately (see https://github.com/austingebauer/devise/blob/master/layouts/partials/head.html#L2). I'm also populating title = "Austin Gebauer" for austingebauer.com, for which you can see it has the correct title.

aravindthokala commented 4 years ago

Yes, the config.toml has title = "Aravind Thokala" below the baseURL = "my website link"

austingebauer commented 4 years ago

Hmm, interesting! I'm not able to reproduce where the title is not what's specified in the title = "" setting in the config.

For example, my config looks like:

baseURL = "http://austingebauer.com/"
languageCode = "en-us"
title = "Austin Gebauer"
theme = "devise"
relativeURLs = true
enableEmoji = true
enableRobotsTXT = true
copyright = "© Copyright 2020, Austin Gebauer"

Any additional details you can provide as to why this might be happening?

aravindthokala commented 4 years ago

Mine is this:

baseURL = "https://aravindthokala.me/"
title = "Aravind Thokala"
languageCode = "en-us"
theme = "devise"
relativeURLs = true
enableEmoji = true
googleAnalytics = ""
enableRobotsTXT = true
copyright = "© 2020, Aravind Thokala"

Above the themes directory, I have content/ and static/ which are copies from the exampleSite/. Maybe I have to manually edit in the HTML file?

austingebauer commented 4 years ago

That config looks like it should work correctly. Can you confirm that your version of the devise theme has the file https://github.com/austingebauer/devise/blob/master/layouts/partials/head.html#L2 that includes <title>{{ .Title }}</title>?

aravindthokala commented 4 years ago

Yes, it has.

I had to do this in that HTML file to make it work:

Aravind Thokala
austingebauer commented 4 years ago

I'm still not able to reproduce this one, @aravindthokala. Let me know if it's still an issue.

austingebauer commented 4 years ago

Closing this one. Feel free to reopen!