<commit_before>- title = ViewHelpers.toPageTitle(partner_show)
- description = ViewHelpers.toPageDescription(partner_show)
- location = ViewHelpers.fairOrShowLocation(partner_show)

title= title
meta( name="description", content= description )
link( rel="canonical", href="#{sd.APP_URL}#{partner_show.href}" )
link( rel="alternate", media= sd.MOBILE_MEDIA_QUERY, href="#{sd.CANONICAL_MOBILE_URL}#{partner_show.href}" )

//- Open Graph
meta( property="og:title", content= title )
meta( property="og:description", content= description )
meta( property="og:name", content= title )
meta( property="og:url", content="#{sd.APP_URL}#{partner_show.href}" )
meta( property="og:type", content="#{sd.FACEBOOK_APP_NAMESPACE}:exhibition" )
meta( property="og:start_time", content= moment(partner_show.start_at).toISOString() )
meta( property="og:end_time", content= moment(partner_show.end_at).toISOString() )
if location
  meta( property="og:location", content= ViewHelpers.bestAddress(location) )
if partner_show.partner
  meta( property="og:host", content= partner_show.partner.name )
if partner_show.meta_image
  meta( property="og:image", content= partner_show.meta_image.meta_image_url )

//- Twitter
meta( property="twitter:description", content= description )
meta( property="twitter:card", content="summary" )

//- Sailthru
meta( name="sailthru.show.slug", content= partner_show.id )
meta( name="sailthru.show.type", content= ViewHelpers.sailthruShowType(partner_show) )
meta( name="sailthru.title", content= ViewHelpers.title(partner_show) )
meta( name="sailthru.description", content= description )
meta( name="sailthru.date", content= moment().toISOString() )
meta( name="sailthru.expire_date", content= moment(partner_show.end_at).add(1, 'day').toISOString() )
meta( name="sailthru.start.at", content= moment(partner_show.start_at).toISOString() )
meta( name="sailthru.end.at", content= moment(partner_show.end_at).toISOString() )
meta( name="sailthru.tags", content= ViewHelpers.sailthruTags(partner_show).join(", ") )
if partner_show.fair && partner_show.location
  meta( name="sailthru.fair.location", content= partner_show.location.display )
if partner_show.counts
  meta( name="sailthru.show.works.number", content= partner_show.counts.eligible_artworks )
if partner_show.partner
  meta( name="sailthru.author", content= partner_show.partner.name )
if location
  meta( name="sailthru.show.address", content= ViewHelpers.bestAddress(location) )
  meta( name="sailthru.show.location", content= ViewHelpers.getMapsLocation(location) )
if partner_show.meta_image
  meta( name="sailthru.image.full", content= partner_show.meta_image.meta_image_url )
  meta( name="sailthru.image.thumb", content= partner_show.meta_image.meta_thumb_url )

if sd.INCLUDE_ESCAPED_FRAGMENT
  meta( name="fragment", content="!" )
<commit_msg>Update start and end at params to have 'date' in their name so Sailthru picks them up properly<commit_after>- title = ViewHelpers.toPageTitle(partner_show)
- description = ViewHelpers.toPageDescription(partner_show)
- location = ViewHelpers.fairOrShowLocation(partner_show)

title= title
meta( name="description", content= description )
link( rel="canonical", href="#{sd.APP_URL}#{partner_show.href}" )
link( rel="alternate", media= sd.MOBILE_MEDIA_QUERY, href="#{sd.CANONICAL_MOBILE_URL}#{partner_show.href}" )

//- Open Graph
meta( property="og:title", content= title )
meta( property="og:description", content= description )
meta( property="og:name", content= title )
meta( property="og:url", content="#{sd.APP_URL}#{partner_show.href}" )
meta( property="og:type", content="#{sd.FACEBOOK_APP_NAMESPACE}:exhibition" )
meta( property="og:start_time", content= moment(partner_show.start_at).toISOString() )
meta( property="og:end_time", content= moment(partner_show.end_at).toISOString() )
if location
  meta( property="og:location", content= ViewHelpers.bestAddress(location) )
if partner_show.partner
  meta( property="og:host", content= partner_show.partner.name )
if partner_show.meta_image
  meta( property="og:image", content= partner_show.meta_image.meta_image_url )

//- Twitter
meta( property="twitter:description", content= description )
meta( property="twitter:card", content="summary" )

//- Sailthru
meta( name="sailthru.show.slug", content= partner_show.id )
meta( name="sailthru.show.type", content= ViewHelpers.sailthruShowType(partner_show) )
meta( name="sailthru.title", content= ViewHelpers.title(partner_show) )
meta( name="sailthru.description", content= description )
meta( name="sailthru.date", content= moment().toISOString() )
meta( name="sailthru.expire_date", content= moment(partner_show.end_at).add(1, 'day').toISOString() )
meta( name="sailthru.start_date", content= moment(partner_show.start_at).toISOString() )
meta( name="sailthru.end_date", content= moment(partner_show.end_at).toISOString() )
meta( name="sailthru.tags", content= ViewHelpers.sailthruTags(partner_show).join(", ") )
if partner_show.fair && partner_show.location
  meta( name="sailthru.fair.location", content= partner_show.location.display )
if partner_show.counts
  meta( name="sailthru.show.works.number", content= partner_show.counts.eligible_artworks )
if partner_show.partner
  meta( name="sailthru.author", content= partner_show.partner.name )
if location
  meta( name="sailthru.show.address", content= ViewHelpers.bestAddress(location) )
  meta( name="sailthru.show.location", content= ViewHelpers.getMapsLocation(location) )
if partner_show.meta_image
  meta( name="sailthru.image.full", content= partner_show.meta_image.meta_image_url )
  meta( name="sailthru.image.thumb", content= partner_show.meta_image.meta_thumb_url )

if sd.INCLUDE_ESCAPED_FRAGMENT
  meta( name="fragment", content="!" )

{'fraction_non_alphanumeric': 0.14882096069868997, 'fraction_numerical': 0.00034934497816593884, 'mean_word_length': 7.782208588957055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7364637', 'n_tokens_mistral': 1929, 'n_tokens_neox': 1938, 'n_words': 331}