Skip to content

Blog author social platforms shorthands are not normalized for inline authors #10417

@slorber

Description

@slorber

Description

When authors are provided inline (not in authors.yml) authors handle/username shorthand are not normalized to full URLs, leading to incorrect links.

Reproducible demo

No response

Steps to reproduce

Create a blog post

slug: first-blog-post
title: First Blog Post
authors: 
  - name: John Doe
    title: Software Engineer
    socials: 
      github: slorber

Expected behavior

The author GitHub icon link should be https://github.com/slorber

Actual behavior

The author GitHub icon link shouldn't be not http://localhost:3000/slorber

Metadata

Metadata

Assignees

Labels

bugAn error in the Docusaurus core causing instability or issues with its execution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions