import {GameTable} from "../_components/GameTable.tsx" import { GameData } from "../_utils/game.ts"; export const layout = "base.tsx" export const url = "/games.html" export default function(data: Lume.Data, helpers: Lume.Helpers) { const intro_section = data.content ? (
{data.children}
) : null const games: GameData[] = data.search.pages("game") .sort((a, b) => (b.rating - a.rating)) as GameData[] const games_section = (

Videogames list

) return (
{intro_section} {games_section}
) }