summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-10 14:31:33 +0200
committerVolpeon <git@volpeon.ink>2022-06-10 14:31:33 +0200
commit11947869e44d423171cfd3c6c76be0fbbbfb5da4 (patch)
tree55c9679586fcfa552e197cb3658a80957e3efd2c
parentMerge branch 'master' of git.vulpes.one:volpeon.ink (diff)
downloadvolpeon.ink-11947869e44d423171cfd3c6c76be0fbbbfb5da4.tar.gz
volpeon.ink-11947869e44d423171cfd3c6c76be0fbbbfb5da4.tar.bz2
volpeon.ink-11947869e44d423171cfd3c6c76be0fbbbfb5da4.zip
Update
-rw-r--r--.vscode/settings.json7
-rw-r--r--assets/css/_vars.scss11
-rw-r--r--assets/css/components/_card.scss1
-rw-r--r--assets/css/components/_header.scss1
-rw-r--r--assets/css/components/_hnav.scss22
-rw-r--r--assets/css/layouts/_card-list.scss5
-rw-r--r--assets/css/style.scss1
-rwxr-xr-xcontent/art/doodles/2021-lazy-firefox/firefox_lazy.png (renamed from content/projects/doodles/2021-lazy-firefox/firefox_lazy.png)bin88463 -> 88463 bytes
-rwxr-xr-xcontent/art/doodles/2021-lazy-firefox/firefox_lazy_transparent.png (renamed from content/projects/doodles/2021-lazy-firefox/firefox_lazy_transparent.png)bin37763 -> 37763 bytes
-rw-r--r--content/art/doodles/2021-lazy-firefox/index.md (renamed from content/projects/doodles/2021-lazy-firefox/index.md)0
-rwxr-xr-xcontent/art/doodles/2021-lazy-firefox/thumbnail.png (renamed from content/projects/doodles/2021-lazy-firefox/thumbnail.png)bin88463 -> 88463 bytes
-rw-r--r--content/art/doodles/index.md (renamed from content/projects/doodles/index.md)0
-rwxr-xr-xcontent/art/drawings/2021-cute-ava/ava.png (renamed from content/projects/drawings/2021-cute-ava/ava.png)bin72811 -> 72811 bytes
-rw-r--r--content/art/drawings/2021-cute-ava/index.md (renamed from content/projects/drawings/2021-cute-ava/index.md)0
-rwxr-xr-xcontent/art/drawings/2021-cute-ava/thumbnail.png (renamed from content/projects/drawings/2021-cute-ava/thumbnail.png)bin72811 -> 72811 bytes
-rw-r--r--content/art/drawings/2021-eeveelutions/eevee.png (renamed from content/projects/drawings/2021-eeveelutions/eevee.png)bin59386 -> 59386 bytes
-rw-r--r--content/art/drawings/2021-eeveelutions/flareon.png (renamed from content/projects/drawings/2021-eeveelutions/flareon.png)bin26730 -> 26730 bytes
-rw-r--r--content/art/drawings/2021-eeveelutions/flareon_wink.png (renamed from content/projects/drawings/2021-eeveelutions/flareon_wink.png)bin27789 -> 27789 bytes
-rw-r--r--content/art/drawings/2021-eeveelutions/index.md (renamed from content/projects/drawings/2021-eeveelutions/index.md)0
-rwxr-xr-xcontent/art/drawings/2021-eeveelutions/thumbnail.png (renamed from content/projects/drawings/2021-eeveelutions/thumbnail.png)bin35958 -> 35958 bytes
-rwxr-xr-xcontent/art/drawings/2021-lycanroc-ava/ava.png (renamed from content/projects/drawings/2021-lycanroc-ava/ava.png)bin69371 -> 69371 bytes
-rw-r--r--content/art/drawings/2021-lycanroc-ava/index.md (renamed from content/projects/drawings/2021-lycanroc-ava/index.md)0
-rwxr-xr-xcontent/art/drawings/2021-lycanroc-ava/thumbnail.png (renamed from content/projects/drawings/2021-lycanroc-ava/thumbnail.png)bin69371 -> 69371 bytes
-rwxr-xr-xcontent/art/drawings/2021-refsheet/bottom.png (renamed from content/projects/drawings/2021-refsheet/bottom.png)bin143999 -> 143999 bytes
-rwxr-xr-xcontent/art/drawings/2021-refsheet/bottom_cofe.png (renamed from content/projects/drawings/2021-refsheet/bottom_cofe.png)bin148163 -> 148163 bytes
-rw-r--r--content/art/drawings/2021-refsheet/index.md (renamed from content/projects/drawings/2021-refsheet/index.md)0
-rwxr-xr-xcontent/art/drawings/2021-refsheet/side.png (renamed from content/projects/drawings/2021-refsheet/side.png)bin176701 -> 176701 bytes
-rwxr-xr-xcontent/art/drawings/2021-refsheet/thumbnail.png (renamed from content/projects/drawings/2021-refsheet/thumbnail.png)bin61956 -> 61956 bytes
-rwxr-xr-xcontent/art/drawings/2021-spooky-ava-1/ava.png (renamed from content/projects/drawings/2021-spooky-ava-1/ava.png)bin87311 -> 87311 bytes
-rw-r--r--content/art/drawings/2021-spooky-ava-1/index.md (renamed from content/projects/drawings/2021-spooky-ava-1/index.md)0
-rwxr-xr-xcontent/art/drawings/2021-spooky-ava-1/thumbnail.png (renamed from content/projects/drawings/2021-spooky-ava-1/thumbnail.png)bin87311 -> 87311 bytes
-rwxr-xr-xcontent/art/drawings/2021-spooky-ava-2/ava.png (renamed from content/projects/drawings/2021-spooky-ava-2/ava.png)bin146530 -> 146530 bytes
-rw-r--r--content/art/drawings/2021-spooky-ava-2/index.md (renamed from content/projects/drawings/2021-spooky-ava-2/index.md)0
-rwxr-xr-xcontent/art/drawings/2021-spooky-ava-2/thumbnail.png (renamed from content/projects/drawings/2021-spooky-ava-2/thumbnail.png)bin146530 -> 146530 bytes
-rw-r--r--content/art/drawings/2022-ava-shading/index.md (renamed from content/projects/drawings/2022-ava-shading/index.md)0
-rw-r--r--content/art/drawings/2022-ava-shading/pic.png (renamed from content/projects/drawings/2022-ava-shading/pic.png)bin601222 -> 601222 bytes
-rw-r--r--content/art/drawings/index.md (renamed from content/projects/drawings/index.md)0
-rw-r--r--content/art/emojis/blobfox/.preview.xcf (renamed from content/projects/emojis/blobfox/.preview.xcf)bin12710447 -> 12710447 bytes
-rw-r--r--content/art/emojis/blobfox/LICENSE (renamed from content/projects/emojis/blobfox/LICENSE)0
-rw-r--r--content/art/emojis/blobfox/blobfox.json (renamed from content/projects/emojis/blobfox/blobfox.json)0
-rw-r--r--content/art/emojis/blobfox/blobfox.zip (renamed from content/projects/emojis/blobfox/blobfox.zip)bin1358301 -> 1358301 bytes
-rw-r--r--content/art/emojis/blobfox/blobfox_flip.json (renamed from content/projects/emojis/blobfox/blobfox_flip.json)0
-rw-r--r--content/art/emojis/blobfox/blobfox_flip.zip (renamed from content/projects/emojis/blobfox/blobfox_flip.zip)bin1377035 -> 1377035 bytes
-rw-r--r--content/art/emojis/blobfox/index.md (renamed from content/projects/emojis/blobfox/index.md)0
-rw-r--r--content/art/emojis/blobfox/manifest.json (renamed from content/projects/emojis/blobfox/manifest.json)0
-rw-r--r--content/art/emojis/blobfox/screenshot.png (renamed from content/projects/emojis/blobfox/screenshot.png)bin175240 -> 175240 bytes
-rw-r--r--content/art/emojis/blobfox/thumbnail.jpg (renamed from content/projects/emojis/blobfox/thumbnail.jpg)bin65597 -> 65597 bytes
-rw-r--r--content/art/emojis/bunhd/.preview.svg (renamed from content/projects/emojis/bunhd/.preview.svg)0
-rw-r--r--content/art/emojis/bunhd/LICENSE (renamed from content/projects/emojis/bunhd/LICENSE)0
-rw-r--r--content/art/emojis/bunhd/bunhd.json (renamed from content/projects/emojis/bunhd/bunhd.json)0
-rw-r--r--content/art/emojis/bunhd/bunhd.zip (renamed from content/projects/emojis/bunhd/bunhd.zip)bin388763 -> 388763 bytes
-rw-r--r--content/art/emojis/bunhd/bunhd_flip.json (renamed from content/projects/emojis/bunhd/bunhd_flip.json)0
-rw-r--r--content/art/emojis/bunhd/bunhd_flip.zip (renamed from content/projects/emojis/bunhd/bunhd_flip.zip)bin380820 -> 380820 bytes
-rw-r--r--content/art/emojis/bunhd/index.md (renamed from content/projects/emojis/bunhd/index.md)0
-rw-r--r--content/art/emojis/bunhd/manifest.json (renamed from content/projects/emojis/bunhd/manifest.json)0
-rw-r--r--content/art/emojis/bunhd/screenshot.png (renamed from content/projects/emojis/bunhd/screenshot.png)bin97627 -> 97627 bytes
-rw-r--r--content/art/emojis/bunhd/thumbnail.png (renamed from content/projects/emojis/bunhd/thumbnail.png)bin29356 -> 29356 bytes
-rw-r--r--content/art/emojis/index.md (renamed from content/projects/emojis/index.md)0
-rw-r--r--content/art/emojis/vlpn/LICENSE (renamed from content/projects/emojis/vlpn/LICENSE)0
-rw-r--r--content/art/emojis/vlpn/index.md (renamed from content/projects/emojis/vlpn/index.md)0
-rw-r--r--content/art/emojis/vlpn/manifest.json (renamed from content/projects/emojis/vlpn/manifest.json)0
-rw-r--r--content/art/emojis/vlpn/preview.png (renamed from content/projects/emojis/vlpn/preview.png)bin109296 -> 109296 bytes
-rw-r--r--content/art/emojis/vlpn/thumbnail.png (renamed from content/projects/emojis/vlpn/thumbnail.png)bin109296 -> 109296 bytes
-rw-r--r--content/art/emojis/vlpn/vlpn.json (renamed from content/projects/emojis/vlpn/vlpn.json)0
-rw-r--r--content/art/emojis/vlpn/vlpn.zip (renamed from content/projects/emojis/vlpn/vlpn.zip)bin679483 -> 679483 bytes
-rw-r--r--content/art/index.md7
-rw-r--r--content/projects/index.md10
-rw-r--r--scripts/metadata_filter.lua17
-rw-r--r--templates/layouts/categorized_list.html16
-rw-r--r--templates/partials/gallery_card.html2
70 files changed, 63 insertions, 37 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 2fc142c..e3ba619 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,6 +1,5 @@
1{ 1{
2 "git.enableCommitSigning": false, 2 "git.enableCommitSigning": false,
3 "Lua.diagnostics.globals": [ 3 "Lua.diagnostics.globals": ["pandoc"],
4 "pandoc" 4 "editor.formatOnSave": false
5 ]
6} 5}
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss
index 2c0e9b5..ad9e16f 100644
--- a/assets/css/_vars.scss
+++ b/assets/css/_vars.scss
@@ -36,8 +36,7 @@ $content--width: 44rem;
36 36
37 @include store(( 37 @include store((
38 --dims: ( 38 --dims: (
39 --indent: 2rem, 39 --indent: 2rem,
40 --obj-shadow: 0 .4em 2.8em,
41 ), 40 ),
42 --colors: ( 41 --colors: (
43 --bg-hi: $gray0, // Darker background 42 --bg-hi: $gray0, // Darker background
@@ -51,8 +50,6 @@ $content--width: 44rem;
51 --fg: $gray6, // Text 50 --fg: $gray6, // Text
52 --fg-lo: $gray7, // Strong text 51 --fg-lo: $gray7, // Strong text
53 52
54 --obj-shadow: transparent,
55
56 --accent: ( 53 --accent: (
57 --h: 354, 54 --h: 354,
58 --s: 84%, 55 --s: 84%,
@@ -107,7 +104,7 @@ $content--width: 44rem;
107 104
108@include iro-execute { 105@include iro-execute {
109 $gray0: hsl(220, 5%, 100%); 106 $gray0: hsl(220, 5%, 100%);
110 $gray1: hsl(220, 5%, 96%); 107 $gray1: hsl(220, 5%, 95%);
111 $gray2: hsl(220, 5%, 88%); 108 $gray2: hsl(220, 5%, 88%);
112 $gray3: hsl(220, 5%, 83%); 109 $gray3: hsl(220, 5%, 83%);
113 $gray4: hsl(220, 5%, 68%); 110 $gray4: hsl(220, 5%, 68%);
@@ -128,8 +125,6 @@ $content--width: 44rem;
128 --fg: $gray6, // Text 125 --fg: $gray6, // Text
129 --fg-lo: $gray7, // Strong text 126 --fg-lo: $gray7, // Strong text
130 127
131 --obj-shadow: rgba(#000, .05),
132
133 --accent: ( 128 --accent: (
134 --h: 354, 129 --h: 354,
135 --s: 74%, 130 --s: 74%,
@@ -182,8 +177,6 @@ $content--width: 44rem;
182 --fg-hi: $black, // Faint text 177 --fg-hi: $black, // Faint text
183 --fg: $black, // Text 178 --fg: $black, // Text
184 --fg-lo: $black, // Strong text 179 --fg-lo: $black, // Strong text
185
186 --obj-shadow: transparent,
187 ), 180 ),
188 ), 'print'); 181 ), 'print');
189} 182}
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss
index 2e32a48..20614e7 100644
--- a/assets/css/components/_card.scss
+++ b/assets/css/components/_card.scss
@@ -35,7 +35,6 @@
35 transform: translateY(0); 35 transform: translateY(0);
36 transition: transform .2s, background-color .2s, color .2s, border-color .2s; 36 transition: transform .2s, background-color .2s, color .2s, border-color .2s;
37 background-color: prop(--colors --bg); 37 background-color: prop(--colors --bg);
38 box-shadow: prop(--dims --obj-shadow, $global: true) prop(--colors --obj-shadow, $global: true);
39 color: prop(--colors --fg); 38 color: prop(--colors --fg);
40 line-height: 1.4; 39 line-height: 1.4;
41 40
diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss
index a190eee..ca85438 100644
--- a/assets/css/components/_header.scss
+++ b/assets/css/components/_header.scss
@@ -37,7 +37,6 @@
37 height: prop(--dims --height); 37 height: prop(--dims --height);
38 padding: prop(--dims --gap); 38 padding: prop(--dims --gap);
39 gap: prop(--dims --gap); 39 gap: prop(--dims --gap);
40 filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow, $global: true)});
41 40
42 @include element('item') { 41 @include element('item') {
43 padding: 0 prop(--dims --pad-x); 42 padding: 0 prop(--dims --pad-x);
diff --git a/assets/css/components/_hnav.scss b/assets/css/components/_hnav.scss
new file mode 100644
index 0000000..220afde
--- /dev/null
+++ b/assets/css/components/_hnav.scss
@@ -0,0 +1,22 @@
1@include namespace('hnav') {
2 @include store((
3 --colors: (
4 --border: prop(--colors --obj-hi, $global: true)
5 ),
6 --dims: (
7 --gap: 2em,
8 --pad-y: .5em
9 )
10 ));
11
12 @include component(namespace()) {
13 display: flex;
14 gap: prop(--dims --gap);
15 align-items: baseline;
16 margin-top: $line-height * 2rem;
17 padding: prop(--dims --pad-y) 0 0;
18 border-width: 1px 0 0;
19 border-style: solid;
20 border-color: prop(--colors --border);
21 }
22}
diff --git a/assets/css/layouts/_card-list.scss b/assets/css/layouts/_card-list.scss
index bda0f4d..a53b771 100644
--- a/assets/css/layouts/_card-list.scss
+++ b/assets/css/layouts/_card-list.scss
@@ -14,7 +14,6 @@
14 flex-direction: column; 14 flex-direction: column;
15 gap: 2px; 15 gap: 2px;
16 margin-top: $line-height * .625rem; 16 margin-top: $line-height * .625rem;
17 filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow, $global: true)});
18 17
19 @include modifier('grid', 'gallery') { 18 @include modifier('grid', 'gallery') {
20 display: grid; 19 display: grid;
@@ -34,9 +33,5 @@
34 filter: none; 33 filter: none;
35 } 34 }
36 } 35 }
37
38 @include element('card') {
39 box-shadow: none;
40 }
41 } 36 }
42} 37}
diff --git a/assets/css/style.scss b/assets/css/style.scss
index 535bc72..0b8f75c 100644
--- a/assets/css/style.scss
+++ b/assets/css/style.scss
@@ -19,6 +19,7 @@
19@import 'components/card'; 19@import 'components/card';
20@import 'components/note'; 20@import 'components/note';
21@import 'components/lightbox'; 21@import 'components/lightbox';
22@import 'components/hnav';
22 23
23@import 'layouts/card-list'; 24@import 'layouts/card-list';
24 25
diff --git a/content/projects/doodles/2021-lazy-firefox/firefox_lazy.png b/content/art/doodles/2021-lazy-firefox/firefox_lazy.png
index a10a0b7..a10a0b7 100755
--- a/content/projects/doodles/2021-lazy-firefox/firefox_lazy.png
+++ b/content/art/doodles/2021-lazy-firefox/firefox_lazy.png
Binary files differ
diff --git a/content/projects/doodles/2021-lazy-firefox/firefox_lazy_transparent.png b/content/art/doodles/2021-lazy-firefox/firefox_lazy_transparent.png
index ab3704a..ab3704a 100755
--- a/content/projects/doodles/2021-lazy-firefox/firefox_lazy_transparent.png
+++ b/content/art/doodles/2021-lazy-firefox/firefox_lazy_transparent.png
Binary files differ
diff --git a/content/projects/doodles/2021-lazy-firefox/index.md b/content/art/doodles/2021-lazy-firefox/index.md
index 876065b..876065b 100644
--- a/content/projects/doodles/2021-lazy-firefox/index.md
+++ b/content/art/doodles/2021-lazy-firefox/index.md
diff --git a/content/projects/doodles/2021-lazy-firefox/thumbnail.png b/content/art/doodles/2021-lazy-firefox/thumbnail.png
index a10a0b7..a10a0b7 100755
--- a/content/projects/doodles/2021-lazy-firefox/thumbnail.png
+++ b/content/art/doodles/2021-lazy-firefox/thumbnail.png
Binary files differ
diff --git a/content/projects/doodles/index.md b/content/art/doodles/index.md
index a650a89..a650a89 100644
--- a/content/projects/doodles/index.md
+++ b/content/art/doodles/index.md
diff --git a/content/projects/drawings/2021-cute-ava/ava.png b/content/art/drawings/2021-cute-ava/ava.png
index 3471a71..3471a71 100755
--- a/content/projects/drawings/2021-cute-ava/ava.png
+++ b/content/art/drawings/2021-cute-ava/ava.png
Binary files differ
diff --git a/content/projects/drawings/2021-cute-ava/index.md b/content/art/drawings/2021-cute-ava/index.md
index d61fef8..d61fef8 100644
--- a/content/projects/drawings/2021-cute-ava/index.md
+++ b/content/art/drawings/2021-cute-ava/index.md
diff --git a/content/projects/drawings/2021-cute-ava/thumbnail.png b/content/art/drawings/2021-cute-ava/thumbnail.png
index 3471a71..3471a71 100755
--- a/content/projects/drawings/2021-cute-ava/thumbnail.png
+++ b/content/art/drawings/2021-cute-ava/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-eeveelutions/eevee.png b/content/art/drawings/2021-eeveelutions/eevee.png
index 84ebb61..84ebb61 100644
--- a/content/projects/drawings/2021-eeveelutions/eevee.png
+++ b/content/art/drawings/2021-eeveelutions/eevee.png
Binary files differ
diff --git a/content/projects/drawings/2021-eeveelutions/flareon.png b/content/art/drawings/2021-eeveelutions/flareon.png
index cf81f76..cf81f76 100644
--- a/content/projects/drawings/2021-eeveelutions/flareon.png
+++ b/content/art/drawings/2021-eeveelutions/flareon.png
Binary files differ
diff --git a/content/projects/drawings/2021-eeveelutions/flareon_wink.png b/content/art/drawings/2021-eeveelutions/flareon_wink.png
index 07e6048..07e6048 100644
--- a/content/projects/drawings/2021-eeveelutions/flareon_wink.png
+++ b/content/art/drawings/2021-eeveelutions/flareon_wink.png
Binary files differ
diff --git a/content/projects/drawings/2021-eeveelutions/index.md b/content/art/drawings/2021-eeveelutions/index.md
index eed478b..eed478b 100644
--- a/content/projects/drawings/2021-eeveelutions/index.md
+++ b/content/art/drawings/2021-eeveelutions/index.md
diff --git a/content/projects/drawings/2021-eeveelutions/thumbnail.png b/content/art/drawings/2021-eeveelutions/thumbnail.png
index 07b5bf1..07b5bf1 100755
--- a/content/projects/drawings/2021-eeveelutions/thumbnail.png
+++ b/content/art/drawings/2021-eeveelutions/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-lycanroc-ava/ava.png b/content/art/drawings/2021-lycanroc-ava/ava.png
index 402f927..402f927 100755
--- a/content/projects/drawings/2021-lycanroc-ava/ava.png
+++ b/content/art/drawings/2021-lycanroc-ava/ava.png
Binary files differ
diff --git a/content/projects/drawings/2021-lycanroc-ava/index.md b/content/art/drawings/2021-lycanroc-ava/index.md
index 45a5261..45a5261 100644
--- a/content/projects/drawings/2021-lycanroc-ava/index.md
+++ b/content/art/drawings/2021-lycanroc-ava/index.md
diff --git a/content/projects/drawings/2021-lycanroc-ava/thumbnail.png b/content/art/drawings/2021-lycanroc-ava/thumbnail.png
index 402f927..402f927 100755
--- a/content/projects/drawings/2021-lycanroc-ava/thumbnail.png
+++ b/content/art/drawings/2021-lycanroc-ava/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/bottom.png b/content/art/drawings/2021-refsheet/bottom.png
index 69f33dd..69f33dd 100755
--- a/content/projects/drawings/2021-refsheet/bottom.png
+++ b/content/art/drawings/2021-refsheet/bottom.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/bottom_cofe.png b/content/art/drawings/2021-refsheet/bottom_cofe.png
index b3b1ad2..b3b1ad2 100755
--- a/content/projects/drawings/2021-refsheet/bottom_cofe.png
+++ b/content/art/drawings/2021-refsheet/bottom_cofe.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/index.md b/content/art/drawings/2021-refsheet/index.md
index 2680f2c..2680f2c 100644
--- a/content/projects/drawings/2021-refsheet/index.md
+++ b/content/art/drawings/2021-refsheet/index.md
diff --git a/content/projects/drawings/2021-refsheet/side.png b/content/art/drawings/2021-refsheet/side.png
index 6c9efae..6c9efae 100755
--- a/content/projects/drawings/2021-refsheet/side.png
+++ b/content/art/drawings/2021-refsheet/side.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/thumbnail.png b/content/art/drawings/2021-refsheet/thumbnail.png
index aa4345f..aa4345f 100755
--- a/content/projects/drawings/2021-refsheet/thumbnail.png
+++ b/content/art/drawings/2021-refsheet/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-1/ava.png b/content/art/drawings/2021-spooky-ava-1/ava.png
index 314172a..314172a 100755
--- a/content/projects/drawings/2021-spooky-ava-1/ava.png
+++ b/content/art/drawings/2021-spooky-ava-1/ava.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-1/index.md b/content/art/drawings/2021-spooky-ava-1/index.md
index da5c88e..da5c88e 100644
--- a/content/projects/drawings/2021-spooky-ava-1/index.md
+++ b/content/art/drawings/2021-spooky-ava-1/index.md
diff --git a/content/projects/drawings/2021-spooky-ava-1/thumbnail.png b/content/art/drawings/2021-spooky-ava-1/thumbnail.png
index 314172a..314172a 100755
--- a/content/projects/drawings/2021-spooky-ava-1/thumbnail.png
+++ b/content/art/drawings/2021-spooky-ava-1/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-2/ava.png b/content/art/drawings/2021-spooky-ava-2/ava.png
index 3b7d33c..3b7d33c 100755
--- a/content/projects/drawings/2021-spooky-ava-2/ava.png
+++ b/content/art/drawings/2021-spooky-ava-2/ava.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-2/index.md b/content/art/drawings/2021-spooky-ava-2/index.md
index 23c9e46..23c9e46 100644
--- a/content/projects/drawings/2021-spooky-ava-2/index.md
+++ b/content/art/drawings/2021-spooky-ava-2/index.md
diff --git a/content/projects/drawings/2021-spooky-ava-2/thumbnail.png b/content/art/drawings/2021-spooky-ava-2/thumbnail.png
index 3b7d33c..3b7d33c 100755
--- a/content/projects/drawings/2021-spooky-ava-2/thumbnail.png
+++ b/content/art/drawings/2021-spooky-ava-2/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2022-ava-shading/index.md b/content/art/drawings/2022-ava-shading/index.md
index e3c4a10..e3c4a10 100644
--- a/content/projects/drawings/2022-ava-shading/index.md
+++ b/content/art/drawings/2022-ava-shading/index.md
diff --git a/content/projects/drawings/2022-ava-shading/pic.png b/content/art/drawings/2022-ava-shading/pic.png
index 5e7dcec..5e7dcec 100644
--- a/content/projects/drawings/2022-ava-shading/pic.png
+++ b/content/art/drawings/2022-ava-shading/pic.png
Binary files differ
diff --git a/content/projects/drawings/index.md b/content/art/drawings/index.md
index 31d092d..31d092d 100644
--- a/content/projects/drawings/index.md
+++ b/content/art/drawings/index.md
diff --git a/content/projects/emojis/blobfox/.preview.xcf b/content/art/emojis/blobfox/.preview.xcf
index 885455b..885455b 100644
--- a/content/projects/emojis/blobfox/.preview.xcf
+++ b/content/art/emojis/blobfox/.preview.xcf
Binary files differ
diff --git a/content/projects/emojis/blobfox/LICENSE b/content/art/emojis/blobfox/LICENSE
index 5238b5a..5238b5a 100644
--- a/content/projects/emojis/blobfox/LICENSE
+++ b/content/art/emojis/blobfox/LICENSE
diff --git a/content/projects/emojis/blobfox/blobfox.json b/content/art/emojis/blobfox/blobfox.json
index 451b794..451b794 100644
--- a/content/projects/emojis/blobfox/blobfox.json
+++ b/content/art/emojis/blobfox/blobfox.json
diff --git a/content/projects/emojis/blobfox/blobfox.zip b/content/art/emojis/blobfox/blobfox.zip
index 313a1b4..313a1b4 100644
--- a/content/projects/emojis/blobfox/blobfox.zip
+++ b/content/art/emojis/blobfox/blobfox.zip
Binary files differ
diff --git a/content/projects/emojis/blobfox/blobfox_flip.json b/content/art/emojis/blobfox/blobfox_flip.json
index 9b72c0d..9b72c0d 100644
--- a/content/projects/emojis/blobfox/blobfox_flip.json
+++ b/content/art/emojis/blobfox/blobfox_flip.json
diff --git a/content/projects/emojis/blobfox/blobfox_flip.zip b/content/art/emojis/blobfox/blobfox_flip.zip
index ffe4a4b..ffe4a4b 100644
--- a/content/projects/emojis/blobfox/blobfox_flip.zip
+++ b/content/art/emojis/blobfox/blobfox_flip.zip
Binary files differ
diff --git a/content/projects/emojis/blobfox/index.md b/content/art/emojis/blobfox/index.md
index a79e0de..a79e0de 100644
--- a/content/projects/emojis/blobfox/index.md
+++ b/content/art/emojis/blobfox/index.md
diff --git a/content/projects/emojis/blobfox/manifest.json b/content/art/emojis/blobfox/manifest.json
index f844bb4..f844bb4 100644
--- a/content/projects/emojis/blobfox/manifest.json
+++ b/content/art/emojis/blobfox/manifest.json
diff --git a/content/projects/emojis/blobfox/screenshot.png b/content/art/emojis/blobfox/screenshot.png
index d4c228d..d4c228d 100644
--- a/content/projects/emojis/blobfox/screenshot.png
+++ b/content/art/emojis/blobfox/screenshot.png
Binary files differ
diff --git a/content/projects/emojis/blobfox/thumbnail.jpg b/content/art/emojis/blobfox/thumbnail.jpg
index dc9e989..dc9e989 100644
--- a/content/projects/emojis/blobfox/thumbnail.jpg
+++ b/content/art/emojis/blobfox/thumbnail.jpg
Binary files differ
diff --git a/content/projects/emojis/bunhd/.preview.svg b/content/art/emojis/bunhd/.preview.svg
index d7e1b15..d7e1b15 100644
--- a/content/projects/emojis/bunhd/.preview.svg
+++ b/content/art/emojis/bunhd/.preview.svg
diff --git a/content/projects/emojis/bunhd/LICENSE b/content/art/emojis/bunhd/LICENSE
index 5238b5a..5238b5a 100644
--- a/content/projects/emojis/bunhd/LICENSE
+++ b/content/art/emojis/bunhd/LICENSE
diff --git a/content/projects/emojis/bunhd/bunhd.json b/content/art/emojis/bunhd/bunhd.json
index 8eec78b..8eec78b 100644
--- a/content/projects/emojis/bunhd/bunhd.json
+++ b/content/art/emojis/bunhd/bunhd.json
diff --git a/content/projects/emojis/bunhd/bunhd.zip b/content/art/emojis/bunhd/bunhd.zip
index a012f27..a012f27 100644
--- a/content/projects/emojis/bunhd/bunhd.zip
+++ b/content/art/emojis/bunhd/bunhd.zip
Binary files differ
diff --git a/content/projects/emojis/bunhd/bunhd_flip.json b/content/art/emojis/bunhd/bunhd_flip.json
index f484c0f..f484c0f 100644
--- a/content/projects/emojis/bunhd/bunhd_flip.json
+++ b/content/art/emojis/bunhd/bunhd_flip.json
diff --git a/content/projects/emojis/bunhd/bunhd_flip.zip b/content/art/emojis/bunhd/bunhd_flip.zip
index 8ca8735..8ca8735 100644
--- a/content/projects/emojis/bunhd/bunhd_flip.zip
+++ b/content/art/emojis/bunhd/bunhd_flip.zip
Binary files differ
diff --git a/content/projects/emojis/bunhd/index.md b/content/art/emojis/bunhd/index.md
index eb3b648..eb3b648 100644
--- a/content/projects/emojis/bunhd/index.md
+++ b/content/art/emojis/bunhd/index.md
diff --git a/content/projects/emojis/bunhd/manifest.json b/content/art/emojis/bunhd/manifest.json
index 49f65b6..49f65b6 100644
--- a/content/projects/emojis/bunhd/manifest.json
+++ b/content/art/emojis/bunhd/manifest.json
diff --git a/content/projects/emojis/bunhd/screenshot.png b/content/art/emojis/bunhd/screenshot.png
index 7c54221..7c54221 100644
--- a/content/projects/emojis/bunhd/screenshot.png
+++ b/content/art/emojis/bunhd/screenshot.png
Binary files differ
diff --git a/content/projects/emojis/bunhd/thumbnail.png b/content/art/emojis/bunhd/thumbnail.png
index 75d8cec..75d8cec 100644
--- a/content/projects/emojis/bunhd/thumbnail.png
+++ b/content/art/emojis/bunhd/thumbnail.png
Binary files differ
diff --git a/content/projects/emojis/index.md b/content/art/emojis/index.md
index efeda37..efeda37 100644
--- a/content/projects/emojis/index.md
+++ b/content/art/emojis/index.md
diff --git a/content/projects/emojis/vlpn/LICENSE b/content/art/emojis/vlpn/LICENSE
index d04ad5f..d04ad5f 100644
--- a/content/projects/emojis/vlpn/LICENSE
+++ b/content/art/emojis/vlpn/LICENSE
diff --git a/content/projects/emojis/vlpn/index.md b/content/art/emojis/vlpn/index.md
index dcd6c8b..dcd6c8b 100644
--- a/content/projects/emojis/vlpn/index.md
+++ b/content/art/emojis/vlpn/index.md
diff --git a/content/projects/emojis/vlpn/manifest.json b/content/art/emojis/vlpn/manifest.json
index 32aef90..32aef90 100644
--- a/content/projects/emojis/vlpn/manifest.json
+++ b/content/art/emojis/vlpn/manifest.json
diff --git a/content/projects/emojis/vlpn/preview.png b/content/art/emojis/vlpn/preview.png
index dc7a7b8..dc7a7b8 100644
--- a/content/projects/emojis/vlpn/preview.png
+++ b/content/art/emojis/vlpn/preview.png
Binary files differ
diff --git a/content/projects/emojis/vlpn/thumbnail.png b/content/art/emojis/vlpn/thumbnail.png
index dc7a7b8..dc7a7b8 100644
--- a/content/projects/emojis/vlpn/thumbnail.png
+++ b/content/art/emojis/vlpn/thumbnail.png
Binary files differ
diff --git a/content/projects/emojis/vlpn/vlpn.json b/content/art/emojis/vlpn/vlpn.json
index 961137f..961137f 100644
--- a/content/projects/emojis/vlpn/vlpn.json
+++ b/content/art/emojis/vlpn/vlpn.json
diff --git a/content/projects/emojis/vlpn/vlpn.zip b/content/art/emojis/vlpn/vlpn.zip
index 14e20b1..14e20b1 100644
--- a/content/projects/emojis/vlpn/vlpn.zip
+++ b/content/art/emojis/vlpn/vlpn.zip
Binary files differ
diff --git a/content/art/index.md b/content/art/index.md
new file mode 100644
index 0000000..5ed1858
--- /dev/null
+++ b/content/art/index.md
@@ -0,0 +1,7 @@
1---
2title: Art
3position: 2
4list_layout: gallery
5list_limit: 4
6feed: true
7---
diff --git a/content/projects/index.md b/content/projects/index.md
deleted file mode 100644
index 814834a..0000000
--- a/content/projects/index.md
+++ /dev/null
@@ -1,10 +0,0 @@
1---
2title: Projects
3position: 2
4list_layout: gallery
5list_limit: 4
6feed: true
7---
8
9A selection of projects I wasn't too lazy to create a page for.
10You can find some more projects on [git.vulpes.one](https://git.vulpes.one/).
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua
index 413ded5..4ac4a4d 100644
--- a/scripts/metadata_filter.lua
+++ b/scripts/metadata_filter.lua
@@ -19,6 +19,10 @@ function pandoc.List:take(n)
19 return result 19 return result
20end 20end
21 21
22function slug(str)
23 return str:lower():gsub("[^ a-z]", ""):gsub("[ ]+", "-")
24end
25
22function file_exists(name) 26function file_exists(name)
23 local f = io.open(name, "r") 27 local f = io.open(name, "r")
24 if f ~= nil then 28 if f ~= nil then
@@ -196,6 +200,7 @@ function generate_list(meta)
196 subtitle = p.subtitle, 200 subtitle = p.subtitle,
197 date = p.date, 201 date = p.date,
198 url = p.url, 202 url = p.url,
203 slug = p.slug,
199 thumbnail = p.thumbnail, 204 thumbnail = p.thumbnail,
200 icon = p.icon or meta.icon, 205 icon = p.icon or meta.icon,
201 post_icon = p.post_icon or meta.list_post_icon, 206 post_icon = p.post_icon or meta.list_post_icon,
@@ -205,13 +210,14 @@ function generate_list(meta)
205 elseif meta.depth == "2" then 210 elseif meta.depth == "2" then
206 return meta.pages.all:map(function(cat) 211 return meta.pages.all:map(function(cat)
207 local limit = (cat.list_limit and tonumber(pandoc.utils.stringify(cat.list_limit))) or 212 local limit = (cat.list_limit and tonumber(pandoc.utils.stringify(cat.list_limit))) or
208 9999 213 9999
209 local allItems = ((cat.pages and cat.pages.all) or pandoc.List()):map(function(p) 214 local allItems = ((cat.pages and cat.pages.all) or pandoc.List()):map(function(p)
210 return { 215 return {
211 title = p.title, 216 title = p.title,
212 subtitle = p.subtitle, 217 subtitle = p.subtitle,
213 date = p.date, 218 date = p.date,
214 url = p.url, 219 url = p.url,
220 slug = p.slug,
215 thumbnail = p.thumbnail, 221 thumbnail = p.thumbnail,
216 icon = p.icon or cat.icon, 222 icon = p.icon or cat.icon,
217 post_icon = p.post_icon or cat.list_post_icon or meta.list_post_icon, 223 post_icon = p.post_icon or cat.list_post_icon or meta.list_post_icon,
@@ -226,6 +232,7 @@ function generate_list(meta)
226 description = (cat.description and pandoc.MetaBlocks(pandoc.Para(cat.description))) or 232 description = (cat.description and pandoc.MetaBlocks(pandoc.Para(cat.description))) or
227 (not cat.no_description and cat.content), 233 (not cat.no_description and cat.content),
228 url = cat.url, 234 url = cat.url,
235 slug = cat.slug,
229 layout = cat.list_layout, 236 layout = cat.list_layout,
230 items = items, 237 items = items,
231 total = tostring(#allItems), 238 total = tostring(#allItems),
@@ -235,7 +242,7 @@ function generate_list(meta)
235 elseif meta.depth == "3" then 242 elseif meta.depth == "3" then
236 return meta.pages.all:map(function(cat) 243 return meta.pages.all:map(function(cat)
237 local limit = (cat.list_limit and tonumber(pandoc.utils.stringify(cat.list_limit))) or 244 local limit = (cat.list_limit and tonumber(pandoc.utils.stringify(cat.list_limit))) or
238 9999 245 9999
239 local allItems = (cat.pages and cat.pages.all or pandoc.List()):flatMap(function(c) 246 local allItems = (cat.pages and cat.pages.all or pandoc.List()):flatMap(function(c)
240 if c.pages then 247 if c.pages then
241 return c.pages.all:map(function(p) 248 return c.pages.all:map(function(p)
@@ -244,6 +251,7 @@ function generate_list(meta)
244 subtitle = p.subtitle, 251 subtitle = p.subtitle,
245 category = c.title, 252 category = c.title,
246 url = p.url, 253 url = p.url,
254 slug = p.slug,
247 thumbnail = p.thumbnail, 255 thumbnail = p.thumbnail,
248 icon = p.icon or c.icon, 256 icon = p.icon or c.icon,
249 post_icon = p.post_icon or c.list_post_icon or cat.list_post_icon, 257 post_icon = p.post_icon or c.list_post_icon or cat.list_post_icon,
@@ -256,6 +264,7 @@ function generate_list(meta)
256 title = c.title, 264 title = c.title,
257 subtitle = c.subtitle, 265 subtitle = c.subtitle,
258 url = c.url, 266 url = c.url,
267 slug = c.slug,
259 icon = c.icon or cat.icon, 268 icon = c.icon or cat.icon,
260 post_icon = c.post_icon or cat.list_post_icon, 269 post_icon = c.post_icon or cat.list_post_icon,
261 indicator = cat.list_read_indicators, 270 indicator = cat.list_read_indicators,
@@ -271,6 +280,7 @@ function generate_list(meta)
271 description = (cat.description and pandoc.MetaBlocks(pandoc.Para(cat.description))) or 280 description = (cat.description and pandoc.MetaBlocks(pandoc.Para(cat.description))) or
272 (not cat.no_description and cat.content), 281 (not cat.no_description and cat.content),
273 url = cat.url, 282 url = cat.url,
283 slug = cat.slug,
274 layout = cat.list_layout, 284 layout = cat.list_layout,
275 items = items, 285 items = items,
276 total = tostring(#allItems), 286 total = tostring(#allItems),
@@ -287,6 +297,7 @@ function process(global, meta)
287 meta.url = meta.url and pandoc.utils.stringify(meta.url) 297 meta.url = meta.url and pandoc.utils.stringify(meta.url)
288 meta.url = resolve_url(global.site.url, global.file_out, meta.url or meta.file_out) 298 meta.url = resolve_url(global.site.url, global.file_out, meta.url or meta.file_out)
289 meta.title = (meta.title and pandoc.utils.stringify(meta.title)) or "" 299 meta.title = (meta.title and pandoc.utils.stringify(meta.title)) or ""
300 meta.slug = slug(meta.title)
290 if meta.list_order then meta.list_order = pandoc.utils.stringify(meta.list_order) end 301 if meta.list_order then meta.list_order = pandoc.utils.stringify(meta.list_order) end
291 meta.list_layout = meta.list_layout and prep_layout(meta.list_layout) 302 meta.list_layout = meta.list_layout and prep_layout(meta.list_layout)
292 if meta.position then meta.position = pandoc.utils.stringify(meta.position) end 303 if meta.position then meta.position = pandoc.utils.stringify(meta.position) end
@@ -318,7 +329,7 @@ function process(global, meta)
318 meta.pages = process_pages(global, meta.list_order, meta.pages) 329 meta.pages = process_pages(global, meta.list_order, meta.pages)
319 meta.depth = (meta.pages and find_depth(meta.pages.all)) or "0" 330 meta.depth = (meta.pages and find_depth(meta.pages.all)) or "0"
320 meta.layout = prep_layout(meta.layout or (meta.redirect and "redirect") or 331 meta.layout = prep_layout(meta.layout or (meta.redirect and "redirect") or
321 resolve_layout(meta.depth)) 332 resolve_layout(meta.depth))
322 333
323 if meta.date then 334 if meta.date then
324 meta.date = format_date(meta.date) 335 meta.date = format_date(meta.date)
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 76b8af1..5e92395 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -3,12 +3,22 @@
3 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> 3 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>
4 4
5$body$ 5$body$
6
6 </header> 7 </header>
7 8
9 $if(notoc)$$else$
10 <nav class="c-hnav s-invisible-links">
11 $-- <h2 class="u-mt0">Sections:</h2>
12 $for(list)$
13 <a href="#$it.slug$"><small>$it.title$</small></a>
14 $endfor$
15 </nav>
16 $endif$
17
8 <div class="l-card-list"> 18 <div class="l-card-list">
9 $for(list)$ 19 $for(list)$
10 <section> 20 <section>
11 <h2 class="s-invisible-links"> 21 <h2 class="s-invisible-links" id="$it.slug$">
12 <a href="$it.url.rel$">$it.title$</a> 22 <a href="$it.url.rel$">$it.title$</a>
13 </h2> 23 </h2>
14 $if(it.description)$ 24 $if(it.description)$
@@ -23,10 +33,10 @@ $body$
23 $it.items:partials/list_card()$ 33 $it.items:partials/list_card()$
24 $endif$ 34 $endif$
25 $if(it.omitted)$ 35 $if(it.omitted)$
26 <a href="$it.url.rel$" class="l-card-list__card c-card c-card--outline"> 36 <a href="$it.url.rel$" class="l-card-list__card c-card">
27 <div class="c-card__row"> 37 <div class="c-card__row">
28 <div class="c-card__block c-card__block--main"> 38 <div class="c-card__block c-card__block--main">
29 $it.omitted$ more items 39 $it.omitted$ more items in $it.title$
30 </div> 40 </div>
31 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> 41 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
32 <use href="/symbols.svg#icon-arrow-right"></use> 42 <use href="/symbols.svg#icon-arrow-right"></use>
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html
index dc6a141..aa641da 100644
--- a/templates/partials/gallery_card.html
+++ b/templates/partials/gallery_card.html
@@ -11,7 +11,7 @@ $if(it.thumbnail)$
11 /> 11 />
12 </div> 12 </div>
13 </div> 13 </div>
14 <div class="c-card__row"> 14 <div class="c-card__row c-card__row--hidden">
15 $if(it.indicator)$ 15 $if(it.indicator)$
16 <div class="c-card__block c-card__block--indicator"></div> 16 <div class="c-card__block c-card__block--indicator"></div>
17 $endif$ 17 $endif$