import { h } from "../deps.ts" ; import type { GetStaticData , GetStaticDataContext , PageProps , } from "../deps.ts" ; interface Props { hello : string ; } function IndexPage ( props ) { return < h1 > Hello { props . data . hello } < /h1>; } export function getStaticData ( ctx ) { return { data : { hello : "world" } } ; } export default IndexPage ;