summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/PaperMod/layouts/_default')
-rw-r--r--themes/PaperMod/layouts/_default/baseof.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/PaperMod/layouts/_default/baseof.html b/themes/PaperMod/layouts/_default/baseof.html
index 3d13f07..d2de5ee 100644
--- a/themes/PaperMod/layouts/_default/baseof.html
+++ b/themes/PaperMod/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 -}}
+
<!DOCTYPE html>
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">