##leg.CORPZONES.Snapshot.Keywords:
##if Value.IsEmpty(keywords)
(none)
##else
##Value.With(keywords,"keywords")
##keywords.ForEachIn(k,"")
##local.define(SentenceRef)sentence_##k.id
##local.define(SentenceBG).style.background
##local.defineByRender(AllSentenceRefs)##k.ForEachIn(j,"sentenceRef")##j,
##if local.IsEqual(AllSentenceRefs,"") ##else ##endif ##k.value ##if local.IsEqual(AllSentenceRefs,"") ##else ##endif , 
##endif
|
##if Value.IsMap(sentences)
##leg.CORPZONES.Snapshot.Sentences:
##Value.With(sentence,"sentences")
##sentence.ForEachIn(s,"")
##s.value
|
##endif
##Value.With(result,"result")
##if result.source
|
##leg.CORPZONES.Snapshot.FoundBy:
|
##result.source
|
##endif
##if result.title
| ##leg.CORPZONES.Snapshot.Title:
|
##if result.URL /* create a link if one exists */
##result.title
##else /* otherwise , just print the text */
##result.title
##endif
|
##endif
##if result.body
| ##leg.CORPZONES.Snapshot.Summary:
|
##result.body
|
##endif
##if result.score
| ##leg.CORPZONES.Snapshot.Score:
|
##result.score
|
##endif
|