summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-27 10:59:12 +0100
committerVolpeon <git@volpeon.ink>2021-12-27 10:59:12 +0100
commit4ce55d23b374ecad1ae9df60ed7f2acaf16ab33a (patch)
tree0594130ddf26a4c679285dff5c057a4640f60f84
parentDon't generate snow if tab is inactive (diff)
downloadvolpeon.ink-4ce55d23b374ecad1ae9df60ed7f2acaf16ab33a.tar.gz
volpeon.ink-4ce55d23b374ecad1ae9df60ed7f2acaf16ab33a.tar.bz2
volpeon.ink-4ce55d23b374ecad1ae9df60ed7f2acaf16ab33a.zip
Add thumbnail compression
-rw-r--r--Makefile18
-rw-r--r--content/fediring/index.md2
-rwxr-xr-x[-rw-r--r--]content/projects/doodles/2021-lazy-firefox/firefox_lazy.pngbin32140 -> 88463 bytes
-rw-r--r--content/projects/doodles/2021-lazy-firefox/index.md2
-rwxr-xr-xcontent/projects/doodles/2021-lazy-firefox/thumbnail.pngbin0 -> 88463 bytes
-rw-r--r--content/projects/drawings/2021-eeveelutions/index.md2
-rw-r--r--content/projects/drawings/2021-eeveelutions/preview.pngbin15933 -> 0 bytes
-rwxr-xr-xcontent/projects/drawings/2021-eeveelutions/thumbnail.pngbin0 -> 35958 bytes
-rwxr-xr-x[-rw-r--r--]content/projects/drawings/2021-lycanroc-ava/ava.pngbin24361 -> 69371 bytes
-rw-r--r--content/projects/drawings/2021-lycanroc-ava/index.md2
-rwxr-xr-xcontent/projects/drawings/2021-lycanroc-ava/thumbnail.pngbin0 -> 69371 bytes
-rwxr-xr-x[-rw-r--r--]content/projects/drawings/2021-refsheet/bottom.pngbin53587 -> 143999 bytes
-rwxr-xr-x[-rw-r--r--]content/projects/drawings/2021-refsheet/bottom_cofe.pngbin53782 -> 148163 bytes
-rw-r--r--content/projects/drawings/2021-refsheet/index.md2
-rw-r--r--content/projects/drawings/2021-refsheet/preview.pngbin21879 -> 0 bytes
-rwxr-xr-x[-rw-r--r--]content/projects/drawings/2021-refsheet/side.pngbin64827 -> 176701 bytes
-rwxr-xr-xcontent/projects/drawings/2021-refsheet/thumbnail.pngbin0 -> 61956 bytes
-rwxr-xr-x[-rw-r--r--]content/projects/drawings/2021-spooky-ava-1/ava.pngbin31311 -> 87311 bytes
-rw-r--r--content/projects/drawings/2021-spooky-ava-1/index.md2
-rwxr-xr-xcontent/projects/drawings/2021-spooky-ava-1/thumbnail.pngbin0 -> 87311 bytes
-rwxr-xr-x[-rw-r--r--]content/projects/drawings/2021-spooky-ava-2/ava.pngbin144670 -> 146530 bytes
-rw-r--r--content/projects/drawings/2021-spooky-ava-2/index.md2
-rwxr-xr-xcontent/projects/drawings/2021-spooky-ava-2/thumbnail.pngbin0 -> 146530 bytes
-rw-r--r--content/projects/emojis/blobfox/index.md2
-rw-r--r--content/projects/emojis/blobfox/thumbnail.jpg (renamed from content/projects/emojis/blobfox/preview.jpg)bin65597 -> 65597 bytes
-rw-r--r--content/projects/emojis/bunhd/index.md2
-rw-r--r--content/projects/emojis/bunhd/thumbnail.png (renamed from content/projects/emojis/bunhd/preview.png)bin29356 -> 29356 bytes
-rw-r--r--content/projects/emojis/vlpn/index.md2
-rw-r--r--content/projects/emojis/vlpn/thumbnail.pngbin0 -> 109296 bytes
29 files changed, 24 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index d84b561..bec4677 100644
--- a/Makefile
+++ b/Makefile
@@ -112,11 +112,15 @@ out/%.xml: content/%.md .cache/meta/%.json $(FEED_TEMPLATES_SRC) metadata/*.yaml
112 $(PANDOC_FILTERS) \ 112 $(PANDOC_FILTERS) \
113 -o "$@" "$<" 113 -o "$@" "$<"
114 114
115out/%: content/% | out 115out/%/thumbnail.png: content/%/thumbnail.png | out
116 $(info [COPY] $< -> $@) 116 $(info [THMB] $< -> $@)
117 117
118 mkdir -p $(@D) 118 convert -thumbnail 360x200^ -gravity center -extent 360x200 "$<" png:- | pngquant -o "$@" -
119 cp "$<" "$@" 119
120out/%/thumbnail.jpg: content/%/thumbnail.jpg | out
121 $(info [THMB] $< -> $@)
122
123 convert -thumbnail 360x200^ -gravity center -extent 360x200 "$<" ppm:- | cjpeg -quality 80 > "$@"
120 124
121out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out 125out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out
122 $(info [FONT] $< -> $@) 126 $(info [FONT] $< -> $@)
@@ -132,6 +136,12 @@ out/%.css: assets/css/%.scss $(CSS_SRC) | out
132 136
133 sass "$<" | ./node_modules/.bin/postcss --use postcss-csso autoprefixer --no-map > "$@" 137 sass "$<" | ./node_modules/.bin/postcss --use postcss-csso autoprefixer --no-map > "$@"
134 138
139out/%: content/% | out
140 $(info [COPY] $< -> $@)
141
142 mkdir -p $(@D)
143 cp "$<" "$@"
144
135.cache/meta: | .cache 145.cache/meta: | .cache
136 mkdir -p .cache/meta 146 mkdir -p .cache/meta
137 147
diff --git a/content/fediring/index.md b/content/fediring/index.md
index 1746f3f..1caffef 100644
--- a/content/fediring/index.md
+++ b/content/fediring/index.md
@@ -5,4 +5,4 @@ list_layout: grid
5url: https://fediring.net/ 5url: https://fediring.net/
6--- 6---
7 7
8[Fediring](https://fediring.net/) is a modern day external [webring](https://en.wikipedia.org/wiki/Webring) that lets you explore other fediverse users' personal websites. 8[Fediring](https://fediring.net/) is a modern day [webring](https://en.wikipedia.org/wiki/Webring) that lets you explore other fediverse users' personal websites.
diff --git a/content/projects/doodles/2021-lazy-firefox/firefox_lazy.png b/content/projects/doodles/2021-lazy-firefox/firefox_lazy.png
index 370998c..a10a0b7 100644..100755
--- a/content/projects/doodles/2021-lazy-firefox/firefox_lazy.png
+++ b/content/projects/doodles/2021-lazy-firefox/firefox_lazy.png
Binary files differ
diff --git a/content/projects/doodles/2021-lazy-firefox/index.md b/content/projects/doodles/2021-lazy-firefox/index.md
index 0804f69..311ea5e 100644
--- a/content/projects/doodles/2021-lazy-firefox/index.md
+++ b/content/projects/doodles/2021-lazy-firefox/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: Lazy Firefox 2title: Lazy Firefox
3date: 2021-10-16 3date: 2021-10-16
4thumbnail: firefox_lazy.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](firefox_lazy.png) 7![](firefox_lazy.png)
diff --git a/content/projects/doodles/2021-lazy-firefox/thumbnail.png b/content/projects/doodles/2021-lazy-firefox/thumbnail.png
new file mode 100755
index 0000000..a10a0b7
--- /dev/null
+++ b/content/projects/doodles/2021-lazy-firefox/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-eeveelutions/index.md b/content/projects/drawings/2021-eeveelutions/index.md
index 0808085..98c071e 100644
--- a/content/projects/drawings/2021-eeveelutions/index.md
+++ b/content/projects/drawings/2021-eeveelutions/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: Eeveelutions 2title: Eeveelutions
3date: 2021-08-19 3date: 2021-08-19
4thumbnail: preview.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](eevee.png) 7![](eevee.png)
diff --git a/content/projects/drawings/2021-eeveelutions/preview.png b/content/projects/drawings/2021-eeveelutions/preview.png
deleted file mode 100644
index 643a60c..0000000
--- a/content/projects/drawings/2021-eeveelutions/preview.png
+++ /dev/null
Binary files differ
diff --git a/content/projects/drawings/2021-eeveelutions/thumbnail.png b/content/projects/drawings/2021-eeveelutions/thumbnail.png
new file mode 100755
index 0000000..07b5bf1
--- /dev/null
+++ b/content/projects/drawings/2021-eeveelutions/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-lycanroc-ava/ava.png b/content/projects/drawings/2021-lycanroc-ava/ava.png
index d1e1dc1..402f927 100644..100755
--- a/content/projects/drawings/2021-lycanroc-ava/ava.png
+++ b/content/projects/drawings/2021-lycanroc-ava/ava.png
Binary files differ
diff --git a/content/projects/drawings/2021-lycanroc-ava/index.md b/content/projects/drawings/2021-lycanroc-ava/index.md
index 406f9a2..9bf1a5c 100644
--- a/content/projects/drawings/2021-lycanroc-ava/index.md
+++ b/content/projects/drawings/2021-lycanroc-ava/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: Lycanroc Avatar 2title: Lycanroc Avatar
3date: 2021-10-19 3date: 2021-10-19
4thumbnail: ava.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](ava.png) 7![](ava.png)
diff --git a/content/projects/drawings/2021-lycanroc-ava/thumbnail.png b/content/projects/drawings/2021-lycanroc-ava/thumbnail.png
new file mode 100755
index 0000000..402f927
--- /dev/null
+++ b/content/projects/drawings/2021-lycanroc-ava/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/bottom.png b/content/projects/drawings/2021-refsheet/bottom.png
index f41a4fb..69f33dd 100644..100755
--- a/content/projects/drawings/2021-refsheet/bottom.png
+++ b/content/projects/drawings/2021-refsheet/bottom.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/bottom_cofe.png b/content/projects/drawings/2021-refsheet/bottom_cofe.png
index f974f71..b3b1ad2 100644..100755
--- a/content/projects/drawings/2021-refsheet/bottom_cofe.png
+++ b/content/projects/drawings/2021-refsheet/bottom_cofe.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/index.md b/content/projects/drawings/2021-refsheet/index.md
index 70bbd84..c4c9bdd 100644
--- a/content/projects/drawings/2021-refsheet/index.md
+++ b/content/projects/drawings/2021-refsheet/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: Reference Sheet Views 2title: Reference Sheet Views
3date: 2021-10-06 3date: 2021-10-06
4thumbnail: preview.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](bottom.png) 7![](bottom.png)
diff --git a/content/projects/drawings/2021-refsheet/preview.png b/content/projects/drawings/2021-refsheet/preview.png
deleted file mode 100644
index 709b0c8..0000000
--- a/content/projects/drawings/2021-refsheet/preview.png
+++ /dev/null
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/side.png b/content/projects/drawings/2021-refsheet/side.png
index 06a3cd1..6c9efae 100644..100755
--- a/content/projects/drawings/2021-refsheet/side.png
+++ b/content/projects/drawings/2021-refsheet/side.png
Binary files differ
diff --git a/content/projects/drawings/2021-refsheet/thumbnail.png b/content/projects/drawings/2021-refsheet/thumbnail.png
new file mode 100755
index 0000000..aa4345f
--- /dev/null
+++ b/content/projects/drawings/2021-refsheet/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-1/ava.png b/content/projects/drawings/2021-spooky-ava-1/ava.png
index 4073d17..314172a 100644..100755
--- a/content/projects/drawings/2021-spooky-ava-1/ava.png
+++ b/content/projects/drawings/2021-spooky-ava-1/ava.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-1/index.md b/content/projects/drawings/2021-spooky-ava-1/index.md
index ecfd3df..7a988c3 100644
--- a/content/projects/drawings/2021-spooky-ava-1/index.md
+++ b/content/projects/drawings/2021-spooky-ava-1/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: \"Spooky\" Avatar 2title: \"Spooky\" Avatar
3date: 2021-10-07 3date: 2021-10-07
4thumbnail: ava.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](ava.png) 7![](ava.png)
diff --git a/content/projects/drawings/2021-spooky-ava-1/thumbnail.png b/content/projects/drawings/2021-spooky-ava-1/thumbnail.png
new file mode 100755
index 0000000..314172a
--- /dev/null
+++ b/content/projects/drawings/2021-spooky-ava-1/thumbnail.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-2/ava.png b/content/projects/drawings/2021-spooky-ava-2/ava.png
index 9afc044..3b7d33c 100644..100755
--- a/content/projects/drawings/2021-spooky-ava-2/ava.png
+++ b/content/projects/drawings/2021-spooky-ava-2/ava.png
Binary files differ
diff --git a/content/projects/drawings/2021-spooky-ava-2/index.md b/content/projects/drawings/2021-spooky-ava-2/index.md
index 0b61e24..9854adf 100644
--- a/content/projects/drawings/2021-spooky-ava-2/index.md
+++ b/content/projects/drawings/2021-spooky-ava-2/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: Spooky Avatar 2title: Spooky Avatar
3date: 2021-10-14 3date: 2021-10-14
4thumbnail: ava.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](ava.png) 7![](ava.png)
diff --git a/content/projects/drawings/2021-spooky-ava-2/thumbnail.png b/content/projects/drawings/2021-spooky-ava-2/thumbnail.png
new file mode 100755
index 0000000..3b7d33c
--- /dev/null
+++ b/content/projects/drawings/2021-spooky-ava-2/thumbnail.png
Binary files differ
diff --git a/content/projects/emojis/blobfox/index.md b/content/projects/emojis/blobfox/index.md
index 3012ccc..b7733c9 100644
--- a/content/projects/emojis/blobfox/index.md
+++ b/content/projects/emojis/blobfox/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: Blobfox 2title: Blobfox
3date: 2020-09-04 3date: 2020-09-04
4thumbnail: preview.jpg 4thumbnail: thumbnail.jpg
5--- 5---
6 6
7![](screenshot.png) 7![](screenshot.png)
diff --git a/content/projects/emojis/blobfox/preview.jpg b/content/projects/emojis/blobfox/thumbnail.jpg
index dc9e989..dc9e989 100644
--- a/content/projects/emojis/blobfox/preview.jpg
+++ b/content/projects/emojis/blobfox/thumbnail.jpg
Binary files differ
diff --git a/content/projects/emojis/bunhd/index.md b/content/projects/emojis/bunhd/index.md
index 65fcf33..900d910 100644
--- a/content/projects/emojis/bunhd/index.md
+++ b/content/projects/emojis/bunhd/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: BunHD 2title: BunHD
3date: 2019-09-30 3date: 2019-09-30
4thumbnail: preview.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](screenshot.png) 7![](screenshot.png)
diff --git a/content/projects/emojis/bunhd/preview.png b/content/projects/emojis/bunhd/thumbnail.png
index 75d8cec..75d8cec 100644
--- a/content/projects/emojis/bunhd/preview.png
+++ b/content/projects/emojis/bunhd/thumbnail.png
Binary files differ
diff --git a/content/projects/emojis/vlpn/index.md b/content/projects/emojis/vlpn/index.md
index c7bc68e..02b8e38 100644
--- a/content/projects/emojis/vlpn/index.md
+++ b/content/projects/emojis/vlpn/index.md
@@ -1,7 +1,7 @@
1--- 1---
2title: vlpn 2title: vlpn
3date: 2021-07-23 3date: 2021-07-23
4thumbnail: preview.png 4thumbnail: thumbnail.png
5--- 5---
6 6
7![](preview.png) 7![](preview.png)
diff --git a/content/projects/emojis/vlpn/thumbnail.png b/content/projects/emojis/vlpn/thumbnail.png
new file mode 100644
index 0000000..dc7a7b8
--- /dev/null
+++ b/content/projects/emojis/vlpn/thumbnail.png
Binary files differ