Skip to content

Commit

Permalink
remove TOTM and SnapShot from front page
Browse files Browse the repository at this point in the history
  • Loading branch information
bromagosa committed Nov 21, 2024
1 parent c835450 commit ab425b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions views/index_bs.etlua
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ for _, collection in pairs(FeaturedCollections:select(
table.insert(features, collection)
end

-- TOTM goes next
--[[ TOTM goes next
table.insert(features, FeaturedCollections:find({
page_path = 'index',
type = 'totm'
}))
}))]]--

-- Then 3 random example collections
for _, collection in pairs(FeaturedCollections:select([[
Expand Down
4 changes: 2 additions & 2 deletions views/partials/slideshow_bs.etlua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
SELECT collection_id FROM featured_collections
WHERE page_path = 'index' AND type = 'totm'
LIMIT 1)]])
if totms and totms[1] then
-- if false then
--if totms and totms[1] then
if false then
%>
<div class="carousel-item">
<a href="/collection?username=snapcloud&collection=<%= totms[1].name %>">
Expand Down

0 comments on commit ab425b4

Please sign in to comment.