Skip to content

Commit

Permalink
Merge pull request #17 from mmyoji/fix-archive
Browse files Browse the repository at this point in the history
Make `/archive/*` works for lume v2
  • Loading branch information
oscarotero authored Dec 10, 2023
2 parents a944a5f + 82be382 commit be91307
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import plugins, { Options } from "./plugins.ts";

import type { Site } from "lume/core.ts";
import "lume/types.ts";

export type { Options } from "./plugins.ts";

export default function (options: Partial<Options> = {}) {
return (site: Site) => {
return (site: Lume.Site) => {
// Configure the site
site.use(plugins(options));

Expand Down Expand Up @@ -35,8 +35,8 @@ export default function (options: Partial<Options> = {}) {
"_data.yml",
"_data/i18n.yml",
"404.md",
"archive_result.tmpl.js",
"archive.tmpl.js",
"archive_result.page.js",
"archive.page.js",
"index.vto",
"styles.css",
"favicon.png",
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit be91307

Please sign in to comment.