Skip to content

Setting a name attribute on the title tag #26

@richardvenneman

Description

@richardvenneman

The Google Structured Data documentation describes that it's possible to have your site name show up as the first child of a breadcrumbs list in the search results.

This requires to add a name attribute to the title tag:

<title itemprop='name'>Your WebSite Name</title>

Looking at the gems source, it didn't exactly became clear how to achieve this. How can this be done with metamagic?

EDIT: While I know it's possible to use the JSON-LD format in a script tag, I think it would still be nice to use the title tag approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions