From e3c7c37c8ff3b53fc63a1e7677fb4b6d99d8590b Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Sat, 19 Nov 2022 12:24:50 +0100 Subject: Update soupault, crunch png, update avatar --- dependencies.mk | 2 +- site/img/thinking.png | Bin 0 -> 721966 bytes soupault.conf | 5 ++++- templates/main.html | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 site/img/thinking.png diff --git a/dependencies.mk b/dependencies.mk index 0e6d046..509677f 100644 --- a/dependencies.mk +++ b/dependencies.mk @@ -5,7 +5,7 @@ _opam/init : @pretty-echo.sh "Creating" "a local Opam switch" @opam switch create . ${OCAML} --repos default,coq-released || true @pretty-echo.sh "Installing" "OCaml dependencies" - @opam install dune.2.9.0 coq-coqffi.1.0.0~beta7 coq-simple-io.1.5.0 soupault.4.0.1 coq.8.13.2 coq-compcert.3.8 coq-serapi -y + @opam install dune.2.9.0 coq-coqffi.1.0.0~beta7 coq-simple-io.1.5.0 soupault.4.2.0 coq.8.13.2 coq-compcert.3.8 coq-serapi -y @touch $@ CONFIGURE += _opam diff --git a/site/img/thinking.png b/site/img/thinking.png new file mode 100644 index 0000000..6577ce1 Binary files /dev/null and b/site/img/thinking.png differ diff --git a/soupault.conf b/soupault.conf index ad34170..0601acd 100644 --- a/soupault.conf +++ b/soupault.conf @@ -16,6 +16,9 @@ ignore_extensions = [ default_template_file = "templates/main.html" pretty_print_html = false +[asset_processors] +png = "pngcrush {{source_file_path}} {{target_dir}}/{{source_file_name}}" + [widgets.page-title] widget = "title" selector = "h1" @@ -24,7 +27,7 @@ prepend = "~lthms: " [widgets.generator-meta] widget = "insert_html" -html = """""" +html = """""" selector = "head" [widgets.urls-rewriting] diff --git a/templates/main.html b/templates/main.html index 40fa635..fdf4626 100644 --- a/templates/main.html +++ b/templates/main.html @@ -27,7 +27,7 @@
- +

Hi, I’m lthms. -- cgit v1.2.3