import { asset, getPath } from "../utils/path.ts"; import { getCurrentVersion } from "../utils/env.ts"; import type { CMSContent } from "../../types.ts"; interface Props { options: CMSContent; jsImports: string[]; extraHead?: string; content?: string; } export default function template( { options, jsImports, content, extraHead }: Props, ) { const { basePath } = options; return `