common/app/views/fragments/metaData.scala.html [116:171]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}
}
case _ => {}
}
@* https://dev.twitter.com/web/overview/privacy *@
@page.metadata.openGraphImages.map{ case (imageUrl) =>
}
@Configuration.facebook.pages.authorisedIdsForLinkEdits.map { id =>
}
@page.metadata.pagination.map{ pagination =>
@pagination.next.map{ next => }
@pagination.previous.map{ prev => }
}
@*
this script allows you to hook up an external debugger for mobile devices
see: http://people.apache.org/~pmuellr/weinre/docs/latest/
*@
@if(context.environment.mode == Dev) {
@Configuration.javascript.pageData.get("guardian.page.iphoneDebugger").map{ scriptUrl => }
}
@page.metadata.linkedData.map { linkedData =>
}
@*
This add structured data markup for google enhanced search result (https://developers.google.com/search/docs/data-types/data-type-selector)
and the semantic web.
Sources of the markup is our own structured data from the Content API
*@
@Page.getContentPage(page).map(_.item).map { item =>
@for(review <- item.content.atoms.map(_.reviews).getOrElse(Nil)) {
@review.data.game.map { game => @fragments.atoms.structureddata.gameReview(review, game, item.tags.contributors) }
@review.data.film.map { film => @fragments.atoms.structureddata.filmReview(review, film, item.tags.contributors) }
@review.data.restaurant.map { restaurant => @fragments.atoms.structureddata.restaurant.restaurantReview(review, restaurant, item.tags.contributors) }
}
@* add here another atom (organisations, people, events, ...) *@
}
@page.metadata.iosId("google").map { iosId =>
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -