Skip to main content
Module

x/blog/types.d.ts>Post

Minimal boilerplate blogging.
Go to Latest
interface Post
import { type Post } from "https://deno.land/x/blog@0.2.0/types.d.ts";

Represents a Post in the Blog.

Properties

title: string
pathname: string
author: string
publishDate: Date
snippet: string
markdown: string

Raw markdown content.

coverHtml: string
background: string
ogImage: string

An image URL which is used in the OpenGraph og:image tag.