mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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