Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

head Error #508

Open
StefanFahl opened this issue Jul 27, 2024 · 1 comment
Open

head Error #508

StefanFahl opened this issue Jul 27, 2024 · 1 comment

Comments

@StefanFahl
Copy link

Hello everyone,

thanks for the great topic!
I have installed it and checked my site with https://validator.w3.org for errors.
I get this message, among others:

Error: Element [head](https://html.spec.whatwg.org/multipage/#the-head-element) is missing a required instance of child element title.

From line 70, column 3; to line 70, column 9

↩↩↩  ↩↩↩  </head>↩  <bo

I also get problems with the layout when I use

[Params]
  selfHosted = true

although the CSS is there locally.

Can anyone tell me how I can solve these problems?

@hydr0nium
Copy link
Contributor

@StefanFahl Can explain in more detail what you are doing. I just checked my website running caddy+hugo+beautifulhugo theme with https://validator.w3.org/and I don't get that error. I got some other errors which I will look into when I have time but not the specific error you have.

Does the head error specifically cause a problem?

For the CSS issue:
When you compiled your hugo did you add the -b flag? See here for -b. If not try it with that. If you still have problems please describe them in more detail so I can figure out how to fix that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants