misc changes

This commit is contained in:
Lio 2024-01-14 12:28:22 +01:00
parent d480c2915c
commit b309df8d08
9 changed files with 126 additions and 12 deletions

View file

@ -19,6 +19,7 @@ import terser from "lume/plugins/terser.ts";
import remark from "lume/plugins/remark.ts";
import sass from "lume/plugins/sass.ts";
import minify from "lume/plugins/minify_html.ts";
import prism from "lume/plugins/prism.ts";
// Custom Plugins
import emojis from "./_src/lib/plugins/mutant.ts";
@ -55,12 +56,13 @@ site.use(postcss());
site.use(pug());
site.use(jsx());
site.use(remark());
site.use(prism());
// Plugin Things
site.use(attributes());
site.use(code_highlight());
// site.use(favicon());
site.use(feed());
site.use(filter_pages({ fn: (page) => page.data.ignored !== true }));
site.use(filter_pages({ fn: (page) => page.data.hidden !== true }));
site.use(mdx());
site.use(metas({
extensions: [".md", ".mdx"],
@ -70,14 +72,14 @@ site.use(nav());
site.use(reading_info());
site.use(source_maps());
site.use(terser());
// site.use(minify({
// extensions: [".html"],
// }));
site.use(minify({
extensions: [".html"],
}));
// Configure well-known files
site.ignore('wk/.git', 'wk/README.md')
site.copy("wk", ".well-known");
// site.copy("files/emojis/nature_effects/effects/sparkles.svg");
export default site;

3
_src/_data.yml Normal file
View file

@ -0,0 +1,3 @@
layout: layouts/base.vento
includeSocials: false
includeFooter: false

View file

@ -9,3 +9,5 @@ templateEngine: [vento, md]
furry :lion_with_mane:
i like :crow:s
:fox:es are cool

View file

@ -22,7 +22,7 @@ h4,
h5,
h6
line-height: 1.25
margin: 1.5rem 0 1rem
// margin: 1.5rem 0 1rem
h1
// font-family: Playfair, serif;
@ -31,7 +31,7 @@ h1
font-feature-settings: "lnum" 1
font-variation-settings: "opsz" 35
line-height: 1
margin: 1.5rem 0 1rem
// margin: 1.5rem 0 1rem
h2
// font-family: Playfair, serif;
@ -62,11 +62,26 @@ p
code
font-family: "IBM Plex Mono", monospace
li,
ul
margin-bottom: 0.25rem
list-style-type: square
margin: 1rem
ol
list-style-type: decimal
margin: 1rem
#funnySidebar > ul,li
list-style-type: none
.markdown-emoji
width: 1.5em
height: 1.5em
display: inline
blockquote
padding: 1rem
background-color: #222
border-left: 0.25rem solid #444
> p
margin: 0
padding: 0

BIN
_src/files/test+waw.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -5,14 +5,18 @@ includeSocials: false
templateEngine: [vento, md]
---
# hi, i'm lio :tiger: :eagle: :fox:
# hi, i'm lio
_(they/them)_
**welcome to my corner of the internet** \
**21y/o digital sorcerer and pixel wizard from germany**
this is a very long text about me
this is a very long text about me that's further down
:call_me_paw_y3:
:fox:
:grin:
### projects

80
_src/markdown.md Normal file
View file

@ -0,0 +1,80 @@
---
# hidden: true
---
> ### This is a markdown testing page, leave
# Hi ~~Mars~~ Venus! 1
## Hi ~~Mars~~ Venus! 2
### Hi ~~Mars~~ Venus! 3
#### Hi ~~Mars~~ Venus! 4
##### Hi ~~Mars~~ Venus! 5
###### Hi ~~Mars~~ Venus! 6
_italics_
**bold**
> blockquote
1. Ordered
2. Lists
- unordered
- lists
Here's a sentence with a footnote. [^1]
Hello, world! :smile: :earth_americas: :grin:
`code`
[A Link](../hello.md)
![art by @casparrakita@twitter.com](http://placekitten.com/1200/200)
![art by @icdraws@twitter.com](http://placekitten.com/1000/200)
![a picture of a kitten](http://placekitten.com/1000/300)
| Syntax | Description |
| --------- | ----------- |
| Header | Title |
| Paragraph | Text |
---
# fenced code block
```json
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```
[^1]: This is the footnote.
### My Great Heading {#custom-id}
<!-- term
: definition -->
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
That is so funny! :no_good:
I need to highlight these ==very important words==.
<!--
H~2~O
X^2^ -->

View file

@ -10,7 +10,8 @@
"tasks": {
"lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable -A --allow-read -",
"build": "deno task lume && rm -rf _site/.well-known/.git",
"serve": "deno task lume -s"
"serve": "deno task lume -s",
"script": "deno run --unstable -A --allow-read --allow-write --allow-net --allow-env"
},
"imports": {
"lume/": "https://deno.land/x/lume@v2.0.2/"

7
deno.lock generated
View file

@ -17,6 +17,7 @@
"npm:postcss-import@15.1.0": "npm:postcss-import@15.1.0_postcss@8.4.32",
"npm:postcss-nesting@12.0.2": "npm:postcss-nesting@12.0.2_postcss@8.4.32_postcss-selector-parser@6.0.15",
"npm:postcss@8.4.32": "npm:postcss@8.4.32",
"npm:prismjs@1.29.0": "npm:prismjs@1.29.0",
"npm:pug@3.0.2": "npm:pug@3.0.2",
"npm:react": "npm:react@18.2.0",
"npm:react-dom@18.2.0": "npm:react-dom@18.2.0_react@18.2.0",
@ -1860,6 +1861,10 @@
"source-map-js": "source-map-js@1.0.2"
}
},
"prismjs@1.29.0": {
"integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==",
"dependencies": {}
},
"promise@7.3.1": {
"integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
"dependencies": {
@ -2842,6 +2847,7 @@
"https://deno.land/x/lume@v2.0.2/deps/pagefind.ts": "9c0fbe6c284c523beac36e7f419a724e3d9bd0d9cdf4e401d56f2c2c1e1daa60",
"https://deno.land/x/lume@v2.0.2/deps/path.ts": "b448066394dfaa2c3583695a23b5a506fde9bd3c0c68fe198bf63faeefadf937",
"https://deno.land/x/lume@v2.0.2/deps/postcss.ts": "a7e3b30672201fa37b631fea203307a9b0aceb8bca35c98f8fa90b874993f73e",
"https://deno.land/x/lume@v2.0.2/deps/prism.ts": "a3165cc967096b97f672db582e3b957f0e4e10485511198e43856eccb92bdc8e",
"https://deno.land/x/lume@v2.0.2/deps/pug.ts": "8d96900c68e67068b9c9aa19a5110a7fec3330db8e938cfc9b8c0bb2bb99c38b",
"https://deno.land/x/lume@v2.0.2/deps/react.ts": "beeba2c0ee51c4dd9ce4ad581767c4eae9c5c99611a3b8964271ef98f59849cd",
"https://deno.land/x/lume@v2.0.2/deps/remark.ts": "0612c684bb0f5c374cdeae1e9a0b00c785da9b643a9f673a319f0b09b1ee5d0d",
@ -2877,6 +2883,7 @@
"https://deno.land/x/lume@v2.0.2/plugins/pagefind.ts": "30edd81605176271d9ddac312fae7c4c0deee803f606304675b1c82572903aa9",
"https://deno.land/x/lume@v2.0.2/plugins/paginate.ts": "e86617ec1ad491c86bc4866db41f070a6b393e8c2ac94ed28a51ca309f88477d",
"https://deno.land/x/lume@v2.0.2/plugins/postcss.ts": "11236b7d9078601728ce1236fc77b4c89881aab0d3bbe1a30ff862784f30f37e",
"https://deno.land/x/lume@v2.0.2/plugins/prism.ts": "0d0ea03ec8e5dca92d2da9c1d602af45165c24e3d47a13bf4c8d134e743ab2e8",
"https://deno.land/x/lume@v2.0.2/plugins/pug.ts": "8ec3c28776bef4b8501d9565c605a21e1bbee06b42f77a6c63624a60a57a6038",
"https://deno.land/x/lume@v2.0.2/plugins/reading_info.ts": "74fd91be32099c8f9af2822731ef9036554bcd31a164c99c084de0300b468c8c",
"https://deno.land/x/lume@v2.0.2/plugins/remark.ts": "1125ef3055ba59f2dd670ca0ceda587d19e452d0807c9a7c3ed3e7f31e5f90a2",