We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca00407 commit c570ff2Copy full SHA for c570ff2
config.toml
@@ -7,6 +7,7 @@ pluralizeListTitles = false
7
canonifyURLs = false
8
disqusShortname = "mapstruct"
9
googleAnalytics = "UA-41136939-1"
10
+disablePathToLower = true
11
12
[[menu.main]]
13
name = "News"
scripts/publish.sh
@@ -59,6 +59,17 @@ then
59
exit 1;
60
fi
61
62
+HUGO_REQUIRED_VERSION="Hugo Static Site Generator v0.30.2"
63
+HUGO_VERSION=`hugo version`
64
+
65
+if [[ $HUGO_VERSION != "${HUGO_REQUIRED_VERSION}"* ]]
66
+then
67
+ echo "Website should be build with HUGO version: ${HUGO_REQUIRED_VERSION}. However, ${HUGO_VERSION} is being used"
68
+ exit 1;
69
+else
70
+ echo "Hugo version: ${HUGO_VERSION}"
71
+fi
72
73
echo "### Deleting old publication"
74
rm -rf public
75
mkdir public
0 commit comments