mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-09-19 11:28:47 -04:00
Error out if hugo.Version used is less than min required version
This commit is contained in:
parent
50cafe4b1c
commit
72ab73ffe5
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue