From 64aef3a0b49e14f0ecc78fdad2316b44f36cb961 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Thu, 10 Oct 2024 23:31:21 +0100 Subject: [PATCH] Fix OpenLibrary issue --- layouts/partials/openlibrary.obj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/openlibrary.obj b/layouts/partials/openlibrary.obj index 751fcb31..1d42296a 100644 --- a/layouts/partials/openlibrary.obj +++ b/layouts/partials/openlibrary.obj @@ -1,3 +1,6 @@ +{{/* Return empty object while OpenLibrary is down. I need something more robust here! */}} +{{ return dict }} +{{/* {{- $path := .path -}} {{- $isbn := "" -}} {{- $key := "" -}} @@ -82,3 +85,4 @@ {{- end -}} {{- end -}} {{- return $book -}} +*/}} \ No newline at end of file