Skip to content

Commit

Permalink
readme indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendy committed Nov 6, 2018
1 parent 1ec6611 commit 46b177a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ public class ConfigureIndexing : ApplicationEventHandler
// return Our.Umbraco.Look.Models.Tag[] (or null to not index)
// eg a nuPicker
var picker = indexingContext.Item.GetPropertyValue<Picker>("colours");
var picker = indexingContext.Item.GetPropertyValue<Picker>("colours");

return picker
.AsPublishedContent()
.Select(x => new Tag("group1", x.Name)) // create a grouped tag
.ToArray();
return picker
.AsPublishedContent()
.Select(x => new Tag("group1", x.Name)) // create a grouped tag
.ToArray();
});

LookService.SetLocationIndexer(indexingContext => {
Expand Down

0 comments on commit 46b177a

Please sign in to comment.