Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
967651245c
commit
a6237abea2
4 changed files with 21 additions and 11 deletions
12
_config.ts
12
_config.ts
|
@ -5,14 +5,15 @@ import attributes from "lume/plugins/attributes.ts";
|
|||
import codeHighlight from "lume/plugins/code_highlight.ts";
|
||||
import esbuild from "lume/plugins/esbuild.ts";
|
||||
import jsx from "lume/plugins/jsx_preact.ts";
|
||||
import katex from "lume/plugins/katex.ts"
|
||||
import lightningcss from "lume/plugins/lightningcss.ts";
|
||||
import metas from "lume/plugins/metas.ts";
|
||||
import minifyHTML from "lume/plugins/minify_html.ts";
|
||||
import mdx from "lume/plugins/mdx.ts"
|
||||
import mdx from "lume/plugins/mdx.ts";
|
||||
import pug from "lume/plugins/pug.ts";
|
||||
import remark from "lume/plugins/remark.ts";
|
||||
import sass from "lume/plugins/sass.ts";
|
||||
import sitemap from "lume/plugins/sitemap.ts"
|
||||
import sitemap from "lume/plugins/sitemap.ts";
|
||||
import sourceMaps from "lume/plugins/source_maps.ts";
|
||||
import svgo from "lume/plugins/svgo.ts";
|
||||
|
||||
|
@ -34,6 +35,7 @@ site
|
|||
.loadData([".toml"], toml)
|
||||
.use(attributes())
|
||||
.use(codeHighlight())
|
||||
.use(katex())
|
||||
.use(metas())
|
||||
.use(jsx())
|
||||
.use(mdx())
|
||||
|
@ -45,9 +47,9 @@ site
|
|||
"_includes/styles/external/nord.min.css",
|
||||
"https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/styles/nord.min.css",
|
||||
)
|
||||
// .use(esbuild({
|
||||
// extensions: [".ts", ".js", ".tsx",],
|
||||
// }))
|
||||
.use(esbuild({
|
||||
extensions: [".ts", ".js"],
|
||||
}))
|
||||
.use(lightningcss())
|
||||
.use(sass())
|
||||
.use(minifyHTML())
|
||||
|
|
11
deno.lock
11
deno.lock
|
@ -878,6 +878,7 @@
|
|||
"https://deno.land/x/lume@v1.13.2/deps/http.ts": "2379397b3097168a6621ec45905998273a25a12e1ade46f4c66d7a6d5de8ff33",
|
||||
"https://deno.land/x/lume@v1.13.2/deps/imagick.ts": "752ad4f244516971daf57ca8bb7d8b6670f78311cbae5338f64f9b2ab324f3b4",
|
||||
"https://deno.land/x/lume@v1.13.2/deps/jsonc.ts": "295740389184a715ed6b4917883a91f6cef7254b8b22c78d79d9265afefde0bd",
|
||||
"https://deno.land/x/lume@v1.13.2/deps/katex.ts": "9828d46e2516e3ce8b20f2ac8ffe5dfdd56bbb291d7464f4cd76a4a772087b3c",
|
||||
"https://deno.land/x/lume@v1.13.2/deps/lightningcss.ts": "a83ee4835c727f1af847bdb39902569b939b48b3fd36d8a8f22d44d698238798",
|
||||
"https://deno.land/x/lume@v1.13.2/deps/markdown_it.ts": "d6702d1782b83370539afdd6a1b9ba7debb969f773b4040295d57591b4054339",
|
||||
"https://deno.land/x/lume@v1.13.2/deps/mdx.ts": "d4cddef4c4bae988dab81118c94cac90db24ee074f739df9c40e72532dc94d85",
|
||||
|
@ -903,6 +904,7 @@
|
|||
"https://deno.land/x/lume@v1.13.2/plugins/json.ts": "60f3b8616c282a9c592e1974db143b3461999c55b20235eebced87482ebf16bd",
|
||||
"https://deno.land/x/lume@v1.13.2/plugins/jsx.ts": "529e290beb2e55c3de8392a5fec2789bf774e48e90e4d2959d8938cdf31b0328",
|
||||
"https://deno.land/x/lume@v1.13.2/plugins/jsx_preact.ts": "4fcfa42bf57e48f1a207558187f901652f9f0b417b4d9522e64ea4a9fbbaf2e0",
|
||||
"https://deno.land/x/lume@v1.13.2/plugins/katex.ts": "aef9f60ef3b2a54a17a1be2c34f5133ff46886ba1278046d0abe93957470f611",
|
||||
"https://deno.land/x/lume@v1.13.2/plugins/lightningcss.ts": "35314acf393bbd947bfd5a766769cf03b2a5e255437c45c68de641730d26054e",
|
||||
"https://deno.land/x/lume@v1.13.2/plugins/markdown.ts": "64e3be8091077d0ad7481840226b959bb7dd3522a813f6a7c7963aba2c9f2d0e",
|
||||
"https://deno.land/x/lume@v1.13.2/plugins/mdx.ts": "a939919429affb81e1dc4255b36a5a65af2e861a8f5d0df1c33d94e6ba2db5c7",
|
||||
|
@ -1025,6 +1027,7 @@
|
|||
"@mdx-js/mdx@2.1.5": "@mdx-js/mdx@2.1.5",
|
||||
"highlight.js": "highlight.js@11.7.0",
|
||||
"highlight.js@11.7.0": "highlight.js@11.7.0",
|
||||
"katex@0.16.3": "katex@0.16.3",
|
||||
"lightningcss-wasm@1.17.0": "lightningcss-wasm@1.17.0",
|
||||
"markdown-it-attrs@4.1.3": "markdown-it-attrs@4.1.3",
|
||||
"markdown-it-attrs@4.1.4": "markdown-it-attrs@4.1.4_markdown-it@13.0.1",
|
||||
|
@ -1213,6 +1216,10 @@
|
|||
"integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
|
||||
"dependencies": {}
|
||||
},
|
||||
"commander@8.3.0": {
|
||||
"integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
|
||||
"dependencies": {}
|
||||
},
|
||||
"constantinople@4.0.1": {
|
||||
"integrity": "sha512-vCrqcSIq4//Gx74TXXCGnHpulY1dskqLTFGDmhrGxzeXL8lF8kvXv6mpNWlJj1uD4DW23D4ljAqbY4RRaaUZIw==",
|
||||
"dependencies": {
|
||||
|
@ -1571,6 +1578,10 @@
|
|||
"promise": "promise@7.3.1"
|
||||
}
|
||||
},
|
||||
"katex@0.16.3": {
|
||||
"integrity": "sha512-3EykQddareoRmbtNiNEDgl3IGjryyrp2eg/25fHDEnlHymIDi33bptkMv6K4EOC2LZCybLW/ZkEo6Le+EM9pmA==",
|
||||
"dependencies": { "commander": "commander@8.3.0" }
|
||||
},
|
||||
"kleur@4.1.5": {
|
||||
"integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
|
||||
"dependencies": {}
|
||||
|
|
|
@ -2,7 +2,7 @@ import Server from "https://deno.land/x/lume@v1.13.2/core/server.ts";
|
|||
import expires from "https://deno.land/x/lume@v1.13.2/middlewares/expires.ts";
|
||||
import not_found from "https://deno.land/x/lume@v1.13.2/middlewares/not_found.ts";
|
||||
|
||||
const port = 8000
|
||||
const port = 8000;
|
||||
|
||||
const server = new Server({
|
||||
port: port,
|
||||
|
|
|
@ -4,9 +4,6 @@ subtitle: Under construction since October 2022
|
|||
layout: layouts/base.pug
|
||||
---
|
||||
|
||||
### Hello there.
|
||||
#### Hello there.
|
||||
|
||||
Website again!
|
||||
|
||||
- [Information, I guess](/about)
|
||||
- [Contact me, if you want](/contact)
|
||||
(this space intentionally left blank)
|
||||
|
|
Loading…
Reference in a new issue