()
| 366 | |
| 367 | |
| 368 | get structuredDataMarkup () { |
| 369 | // console.log( 'this.routeType', this.routeType, this.pathname ) |
| 370 | |
| 371 | const hasStructuredData = this.structuredData !== null |
| 372 | // Route is primarily for video |
| 373 | const videoRouteType = [ 'tv', 'benchmarks' ].includes( this.routeType ) |
| 374 | |
| 375 | if ( hasStructuredData && videoRouteType ) { |
| 376 | const structuredDataJson = JSON.stringify( this.structuredData ) |
| 377 | |
| 378 | return `<script type="application/ld+json">${ structuredDataJson }</script>` |
| 379 | } |
| 380 | |
| 381 | |
| 382 | return '' |
| 383 | } |
| 384 | |
| 385 | get allHeadMarkup () { |
| 386 | return [ |
nothing calls this directly
no outgoing calls
no test coverage detected