mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01: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>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user