Skip to content

Commit ab425b4

Browse files
committed
remove TOTM and SnapShot from front page
1 parent c835450 commit ab425b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

views/index_bs.etlua

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ for _, collection in pairs(FeaturedCollections:select(
4545
table.insert(features, collection)
4646
end
4747

48-
-- TOTM goes next
48+
--[[ TOTM goes next
4949
table.insert(features, FeaturedCollections:find({
5050
page_path = 'index',
5151
type = 'totm'
52-
}))
52+
}))]]--
5353

5454
-- Then 3 random example collections
5555
for _, collection in pairs(FeaturedCollections:select([[

views/partials/slideshow_bs.etlua

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
SELECT collection_id FROM featured_collections
1818
WHERE page_path = 'index' AND type = 'totm'
1919
LIMIT 1)]])
20-
if totms and totms[1] then
21-
-- if false then
20+
--if totms and totms[1] then
21+
if false then
2222
%>
2323
<div class="carousel-item">
2424
<a href="/collection?username=snapcloud&collection=<%= totms[1].name %>">

0 commit comments

Comments
 (0)