Refactor search and stringutils into separate modules

This commit is contained in:
2018-04-19 22:01:28 +02:00
parent 99ad9610d3
commit 617e36bc52
12 changed files with 27 additions and 23 deletions

View File

@ -24,7 +24,7 @@ component ShopItem(item *arn.ShopItem, popularity int)
.shop-item-info-column
h3.shop-item-name= item.Name
.shop-item-popularity= arn.Plural(popularity, "user") + " bought this"
.shop-item-popularity= stringutils.Plural(popularity, "user") + " bought this"
//- span.shop-item-duration= " " + duration
//- .shop-item-description!= markdown.Render(item.Description)