Skip to main content
This release is 2 versions behind 8.4.1 — the latest version of @tycrek/pagery. Jump to latest

Opinionated static site generator, using Pug & TailwindCSS

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Deno
It is unknown whether this package works with Bun
JSR Score
94%
Published
2 months ago (8.3.0)
interface Options

Pagery configuration

Properties

Directory storing Pug source files

Directory to output compiled files to

List of CSS source files

Tailwind config file

Output compiled CSS as files

List of additional PostCSS plugins to load

optional
dir: string

Directory to run Pagery in

optional
data: string | string[]

List of JSON data files to pass to Pug

optional
exclude: string | string[]

List of files to exclude from rendering. Files don't have to be an exact path

optional
only: string | string[]

List of files to render. Anything not in this list will be skipped

optional
static: string

Directory to recursively copy static files from. Files at the root of this directory will land in the root of the output directory.

optional
config: string

Add Package

deno add jsr:@tycrek/pagery

Import symbol

import { type Options } from "@tycrek/pagery";

---- OR ----

Import directly with a jsr specifier

import { type Options } from "jsr:@tycrek/pagery";

Add Package

bunx jsr add @tycrek/pagery

Import symbol

import { type Options } from "@tycrek/pagery";