Skip to main content
Module

x/pagic/mod.ts>PageProps

A static site generator powered by Deno + React
Latest
interface PageProps
import { type PageProps } from "https://deno.land/x/pagic@v1.6.3/mod.ts";

Index Signatures

[key: string]: any

Properties

title: string
content: React.ReactElement | null
optional
contentTitle: React.ReactElement
optional
contentBody: React.ReactElement
optional
toc: React.ReactElement | null
optional
author: string
optional
contributors: string[]
optional
date: Date | string
optional
updated: Date | string | null
optional
excerpt: string
optional
cover: string
optional
tags: string[]
optional
categories: string[]
config: PagicConfig
pagePath: string
layoutPath: string
outputPath: string
head: React.ReactElement | null
script: React.ReactElement | null
optional
loading: boolean
optional
sidebar: PagePropsSidebar
optional
prev: PagePropsSidebar[0]
optional
next: PagePropsSidebar[0]
optional
ga: React.ReactElement
optional
gitalk: React.ReactElement
optional
blog: PagePropsBlog
optional
language: { code: string; name: string; root: string; }