-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56381bf
commit 78ca0b0
Showing
6 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ import pagefind, { Options as PagefindOptions } from "lume/plugins/pagefind.ts"; | |
import sitemap from "lume/plugins/sitemap.ts"; | ||
import feed from "lume/plugins/feed.ts"; | ||
import vento from "lume/plugins/vento.ts"; | ||
import readingTime from "https://raw.githubusercontent.com/lumeland/experimental-plugins/main/reading_time/mod.ts"; | ||
import readingInfo from "lume/plugins/reading_info.ts"; | ||
import toc from "https://deno.land/x/[email protected]/toc.ts"; | ||
import image from "https://deno.land/x/[email protected]/image.ts"; | ||
import footnotes from "https://deno.land/x/[email protected]/footnotes.ts"; | ||
|
@@ -30,15 +30,15 @@ export default function (options: Options = {}) { | |
.use(basePath()) | ||
.use(toc()) | ||
.use(prism(options.prism)) | ||
.use(readingTime()) | ||
.use(readingInfo()) | ||
.use(date(options.date)) | ||
.use(metas()) | ||
.use(image()) | ||
.use(footnotes()) | ||
.use(resolveUrls()) | ||
.use(slugifyUrls()) | ||
.use(pagefind(options.pagefind)) | ||
.use(terser()) | ||
.use(pagefind(options.pagefind)) | ||
.use(sitemap()) | ||
.use(vento()) | ||
.use(feed({ | ||
|
@@ -64,13 +64,13 @@ export default function (options: Options = {}) { | |
// Basic CSS Design System | ||
site.remoteFile( | ||
"_includes/css/ds.css", | ||
"https://unpkg.com/@lumeland/[email protected].0/ds.css", | ||
"https://unpkg.com/@lumeland/[email protected].1/ds.css", | ||
); | ||
|
||
// Mastodon comment system | ||
site.remoteFile( | ||
"/js/comments.js", | ||
"https://unpkg.com/@oom/[email protected].0/src/comments.js", | ||
"https://unpkg.com/@oom/[email protected].1/src/comments.js", | ||
); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters