mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-25 15:09:28 -05:00
Error out if hugo.Version used is less than min required version
This commit is contained in:
parent
50cafe4b1c
commit
72ab73ffe5
@ -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" }}">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user