Add showcase to search result pages

This commit is contained in:
Greg Neagle
2020-09-03 15:15:42 -07:00
parent f31643d966
commit ec84ca6b38
@@ -377,11 +377,12 @@ func buildListPage(category: String = "",
page["category_list"] = categories_html_list
page["header_text"] = header
let more_templates = BaseItem()
if category.isEmpty && filter.isEmpty && developer.isEmpty {
more_templates["showcase"] = getRawTemplate("showcase_template.html")
/*if category.isEmpty && filter.isEmpty && developer.isEmpty {
more_templates["showcase"] = getRawTemplate("showcase_template.html")
} else {
more_templates["showcase"] = ""
}
}*/
more_templates["sidebar"] = getRawTemplate("sidebar_template.html")
more_templates["footer"] = getRawTemplate("footer_template.html")
try generatePage(named: page_name,