Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Broken website: "This line is from ..." #1360

@danielesalvatore

Description

@danielesalvatore

Description

Image

If I start the local dev server or try to build the website, it is rendered as in the above picture. This seems to be related to the home page and every website page.
I implemented layout override as follows, untouched for months:
Image

If I replace my custom home page with the one contained in the @thulite/doks-core lib the override seems to work.
Override of other partials seems to work, for instance, you can see a chatbot icon embedded via head override.
The website has been working correctly for about a month. The libs are all up to date; additional info on the specific versions is below.

Environment

hugo: stable 0.147.2 (bottled)
npm 10.8.2
node v20.18.0

package.json
...
 "scripts": {
    "create": "hugo new",
    "dev": "hugo server --disableFastRender --noHTTPCache",
    "format": "prettier **/** -w -c",
    "build": "hugo --minify --gc",
    "preview": "vite preview --outDir public"
  },
  "dependencies": {
    "@thulite/doks-core": "^1.8.1",
    "@thulite/images": "^3.3.1",
    "@thulite/inline-svg": "^1.2.0",
    "@thulite/seo": "^2.4.1",
    "@tabler/icons": "^3.31.0",
    "thulite": "^2.5.0"
  },
  "devDependencies": {
    "prettier": "^3.5.3",
    "vite": "^6.3.5"
  },
  "engines": {
    "node": ">=20.11.0"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions