-
Notifications
You must be signed in to change notification settings - Fork 2
Domain validation and path #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Domain validation and path #24
Conversation
There was a problem hiding this 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"] }}" /> |
There was a problem hiding this comment.
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 }}" /> |
There was a problem hiding this comment.
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
No description provided.