diff --git a/_src/_data/icon.json b/_src/_data/icon.json new file mode 100644 index 0000000..7c6c261 --- /dev/null +++ b/_src/_data/icon.json @@ -0,0 +1,6 @@ +{ + "blog": "m5 3h15l7 7v20H5zm5 22h12v-3H10zm0-6h12v-3H10zm0-6h9v-3h-9z", + "changelog": "M10 25H21V22H10Zm4-13H10v3h4v4h3V15h4V12H17V8H14ZM5 3H20l7 7V30H5Z", + "gallery": "M2 2V30H30V2H2M5 26l6-9 5 6 5-9 6 12H5", + "home": "M20 20V30h8V12L16 2 4 12V30h8V20Z" +} \ No newline at end of file diff --git a/_src/_data/outgoing.json b/_src/_data/outgoing.json index 0f2639a..bb4f56f 100644 --- a/_src/_data/outgoing.json +++ b/_src/_data/outgoing.json @@ -8,7 +8,7 @@ "matrix": [ { "icon": "matrix.svg", - "src": "https://matrix.to/#/@fossilisk:matrix.org" + "src": "https://matrix.to/#/@sundae:bunsin.space" } ], "neocities": [ diff --git a/_src/_data/svg.json b/_src/_data/svg.json new file mode 100644 index 0000000..816bf1e --- /dev/null +++ b/_src/_data/svg.json @@ -0,0 +1,6 @@ +{ + "paw": "m 15.700739,16.184194 c 0,4.483 -2.555,2.038 -5.7060001,2.038 -3.151,0 -5.706,2.445 -5.706,-2.038 0,-2.925 2.555,-6.113001 5.706,-6.113001 3.1510001,0 5.7060001,3.188001 5.7060001,6.113001 z M 4.0687389,8.1071934 c 0.394,1.336 0.007,2.6259996 -0.862,2.8819996 -0.87,0.256001 -1.8929999,-0.619 -2.28599993,-1.9539996 -0.393,-1.336 -0.007,-2.626 0.86199993,-2.882 0.87,-0.256 1.893,0.619 2.286,1.954 z m 15.0000001,0.945 c -0.407,1.3319996 -1.442,2.1960006 -2.312,1.9299996 -0.869,-0.266 -1.244,-1.5609996 -0.837,-2.8919996 0.407,-1.332 1.442,-2.196 2.312,-1.93 0.869,0.265 1.244,1.56 0.837,2.892 z m -10.1100001,-4.859 c 0.365,1.897 -0.218,3.606 -1.302,3.814 -1.085,0.209 -2.261,-1.16 -2.626,-3.059 -0.365,-1.898 0.218,-3.6060001 1.302,-3.8150001 1.085,-0.20799996 2.261,1.1620001 2.626,3.0600001 z m 5.9960001,0.778 c -0.388,1.893 -1.578,3.25 -2.66,3.029 -1.082,-0.222 -1.647,-1.937 -1.26,-3.83 0.388,-1.894 1.578,-3.25000006 2.66,-3.0290001 1.082,0.222 1.647,1.9370001 1.26,3.8300001 z", + "back": "M2 16 18 4h6L12 14H50v4H12L24 28H18Z", + "theme": "M16 6a1 1 0 010 20Zm0-4a1 1 0 000 28A1 1 0 0016 2", + "menu": "M4 8H28v3H4Zm0 7H28v3H4Zm0 7H28v3H4Z" +} \ No newline at end of file diff --git a/_src/_includes/base.njk b/_src/_includes/base.njk index 267dbeb..84b9c0f 100644 --- a/_src/_includes/base.njk +++ b/_src/_includes/base.njk @@ -1,140 +1,59 @@ ---- -paw: "m 15.700739,16.184194 c 0,4.483 -2.555,2.038 -5.7060001,2.038 -3.151,0 -5.706,2.445 -5.706,-2.038 0,-2.925 2.555,-6.113001 5.706,-6.113001 3.1510001,0 5.7060001,3.188001 5.7060001,6.113001 z M 4.0687389,8.1071934 c 0.394,1.336 0.007,2.6259996 -0.862,2.8819996 -0.87,0.256001 -1.8929999,-0.619 -2.28599993,-1.9539996 -0.393,-1.336 -0.007,-2.626 0.86199993,-2.882 0.87,-0.256 1.893,0.619 2.286,1.954 z m 15.0000001,0.945 c -0.407,1.3319996 -1.442,2.1960006 -2.312,1.9299996 -0.869,-0.266 -1.244,-1.5609996 -0.837,-2.8919996 0.407,-1.332 1.442,-2.196 2.312,-1.93 0.869,0.265 1.244,1.56 0.837,2.892 z m -10.1100001,-4.859 c 0.365,1.897 -0.218,3.606 -1.302,3.814 -1.085,0.209 -2.261,-1.16 -2.626,-3.059 -0.365,-1.898 0.218,-3.6060001 1.302,-3.8150001 1.085,-0.20799996 2.261,1.1620001 2.626,3.0600001 z m 5.9960001,0.778 c -0.388,1.893 -1.578,3.25 -2.66,3.029 -1.082,-0.222 -1.647,-1.937 -1.26,-3.83 0.388,-1.894 1.578,-3.25000006 2.66,-3.0290001 1.082,0.222 1.647,1.9370001 1.26,3.8300001 z" -back: "M2 16 18 4h6L12 14H50v4H12L24 28H18Z" -theme: "M16 6a1 1 0 010 20Zm0-4a1 1 0 000 28A1 1 0 0016 2" ---- + {%set currentPage = page.url.split('/')[1]|slugify%} + {%set pageOrder = collections.pages|sort(attribute='data.order')%} + {%set availableStyles = ['home', 'blog', 'gallery']%}