Skip to content

Link cards are not correctly formatted on home page #1370

@Backspaze

Description

@Backspaze

Description

If you add a link card to the home page, it's not formatted correctly. Notice the lack of padding on top of the text.

Image

Steps to reproduce

  • npm create thulite@latest -- --template doks
  • Give it a name, test for example.
  • cd test
  • npm install
  • npm run dev
  • Edit content/_index.md by adding a link card with {{< link-card title="Example link card" href="/example/" >}}.

Expected result

The link card should look like it does in a docs article.

Image

Actual result

See Description above.

Environment

OS: Windows 10 Pro 22H2 (19045.6093) 
Hugo: v0.145.0 extended 
NPM: 11.4.2
Node: 20.19.3

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