-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.ts
32 lines (28 loc) · 938 Bytes
/
_config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import lume from "lume/mod.ts";
import metas from "lume/plugins/metas.ts";
import slugifyUrls from "lume/plugins/slugify_urls.ts";
import readingInfo from "lume/plugins/reading_info.ts";
import markdownItConfig from "./_util/markdown-it-config.ts";
import blogAutodescriptor from "./_util/plugins/blog-autodesc.ts";
import capitalize from "./_util/plugins/capitalize.ts";
import plaintextMeta from "./_util/plugins/plaintext-meta.ts";
import date from "./_util/plugins/date.ts";
import inlineHighlight from "./_util/plugins/inline-highlight.ts";
const site = lume({
dest: "./_out",
location: new URL("https://andreubotella.com"),
}, {
markdown: markdownItConfig,
});
site.use(metas())
.use(date({
timeZone: "Europe/Madrid",
}))
.use(slugifyUrls())
.use(capitalize())
.use(inlineHighlight())
.use(readingInfo())
.use(blogAutodescriptor())
.use(plaintextMeta());
site.copy("static", ".");
export default site;