Skip to content

FoundatioFx/lume-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundatio Lume Theme

A Lume theme for Foundatio technical sites. It currently provides polished docs pages, homepage sections, generated navigation, local search, Shiki code blocks, LLM files, markdown mirrors, redirects, and GitHub Pages-friendly pretty URLs.

The package is intentionally named as a broader site theme, not a docs-only theme, so it can grow into blog, news, and other Foundatio site sections over time.

Usage

import lume from "lume/mod.ts";
import basePath from "lume/plugins/base_path.ts";
import checkUrls from "lume/plugins/check_urls.ts";
import markdown from "lume/plugins/markdown.ts";
import metas from "lume/plugins/metas.ts";
import sitemap from "lume/plugins/sitemap.ts";
import foundatio from "jsr:@foundatiofx/lume-theme@0.1.6";

const location = new URL("https://example.com");
const site = lume({
  location,
  prettyUrls: true,
});

site.use(foundatio({
  title: "Foundatio Project",
  description: "Documentation and project site",
  location,
  lume: { basePath, checkUrls, markdown, metas, sitemap },
  brand: {
    label: "Project",
    logoLight: "https://example.com/logo.svg",
    logoDark: "https://example.com/logo-dark.svg",
    icon: "https://example.com/icon.png",
  },
  docsRoot: "guide",
  nav: [
    { text: "Guide", link: "/guide/getting-started", activeMatch: "^/guide/" },
  ],
}));

export default site;

Dogfood Docs

deno task docs:build
deno task -c docs/deno.json dev

Development

deno task fmt
deno task check
deno task test
deno task publish:dry-run

License

MIT

About

Foundatio Lume theme for documentation, blogs, news, and technical project sites

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors