Skip to content

Domain validation and path#24

Open
Casey-Haseloff wants to merge 6 commits intoLanguage-Research-Technology:mainfrom
Casey-Haseloff:bird-domain
Open

Domain validation and path#24
Casey-Haseloff wants to merge 6 commits intoLanguage-Research-Technology:mainfrom
Casey-Haseloff:bird-domain

Conversation

@Casey-Haseloff
Copy link
Copy Markdown

No description provided.

@Casey-Haseloff Casey-Haseloff changed the title Bird domain Domain validation and path Oct 9, 2025
Copy link
Copy Markdown
Contributor

@benfoley benfoley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of suggestions and minor fixes

{% endif %}

<meta property="og:type" content="website" />
<meta property="og:title" content="{{ data.ids[data.entryPoint].props["http://schema.org/name"].fwd[0].value if data.ids[data.entryPoint].props["http://schema.org/name"] }}" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be safest to wrap both the name and description tags in conditions that only write the respective tags if there's content, rather than writing a tag with blank content. Same for the other templates.

<meta name="description" content="{{ data.ids[data.entryPoint].props.sentence.fwd[0].value }}" />
{% if data.ids[data.entryPoint].props["http://schema.org/hasPart"] %}
<meta property="og:title" content="{{ data.ids[data.entryPoint].props['http://schema.org/name'].fwd[0].value }}" />
<meta property="og:description" content="{{ data.ids[data.entryPoint].props.sentence.fwd[0].value }}" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't work for me. Try replacing
data.ids[data.entryPoint].props.sentence.fwd[0].value with
data.ids[data.entryPoint].props['arcp://name,custom/terms#sentence'].fwd[0].value

similar for ln 11 below

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

Successfully merging this pull request may close these issues.

2 participants