From 72ab73ffe5ba2354f71e419321134fd5f9cfd098 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 4 Nov 2023 16:01:44 +0530 Subject: [PATCH] Error out if hugo.Version used is less than min required version --- layouts/_default/baseof.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3d13f07a..d2de5eec 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,3 +1,7 @@ +{{- if lt hugo.Version "0.97.1" }} +{{- errorf "=> hugo v0.97.1 or greater is required for hugo-PaperMod to build " }} +{{- end -}} +