From c67f653d3d3ba521ae4d349ef998ad3c9d4a5904 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 6 Nov 2019 09:42:47 -0500 Subject: [PATCH] images fix --- content/posts/sist2.md | 2 +- content/posts/zpaq.md | 6 ++++-- layouts/partials/css/custom.css | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/content/posts/sist2.md b/content/posts/sist2.md index cbf64fb..44fc564 100644 --- a/content/posts/sist2.md +++ b/content/posts/sist2.md @@ -54,7 +54,7 @@ acts as an external CDN, or they can be served by sist2 directly from the disk. Content is supported, meaning that `Range` requests are accepted and media files can be *'seeked'* from the browser. -{{< figure src="/sist/sist_web.png" title="">}} +{{< figure height="350px" src="/sist/sist_web.png" title="">}} The UI itself is not that much different from the original Python/Flask version, however, the Javascript client is a bit *thicker*, meaning that most operations that were originally handled by the Flask server, diff --git a/content/posts/zpaq.md b/content/posts/zpaq.md index 56a9de2..9278583 100644 --- a/content/posts/zpaq.md +++ b/content/posts/zpaq.md @@ -15,13 +15,15 @@ cd zpaq/ g++ -Ofast -DNOJIT -Dunix zpaq.cpp libzpaq.cpp -pthread -o zpaq {{}} +Initial backup can take a while to complete, {{}} -## Initial backup can take a while to complete, $ zpaq add "arc???" ./files/ -index local-index.zpaq 0.000000 + (955.283380 -> 687.840444 -> 622.268166) = 622.268166 MB 45.737 seconds (all OK) +{{}} -## but subsequent ones are almost instantaneous if no files were changed +But subsequent ones are almost instantaneous if no files were changed +{{}} $ zpaq add "arc???" ./files/ -index local-index.zpaq 0.000000 + (0.000000 -> 0.000000 -> 0.000104) = 0.000104 MB 0.408 seconds (all OK) diff --git a/layouts/partials/css/custom.css b/layouts/partials/css/custom.css index 765218b..ba1260e 100644 --- a/layouts/partials/css/custom.css +++ b/layouts/partials/css/custom.css @@ -184,7 +184,6 @@ pre code { .post-content img { max-width: 100%; - height: auto; } .post-content pre {