mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 03:32:06 +00:00
show date, hide puzzle search for non premium
This commit is contained in:
@@ -19,7 +19,8 @@ defmodule ChesstrainerWeb.PageController do
|
||||
|> render(:home,
|
||||
endgames: endgames,
|
||||
active_endgame: DailyPuzzles.today(),
|
||||
puzzle_count: Endgames.count_endgames()
|
||||
puzzle_count: Endgames.count_endgames(),
|
||||
today: Date.utc_today()
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user