From 8496f3622e2754e8c66909f7504698c58edd284e Mon Sep 17 00:00:00 2001 From: Philip Khor <35039795+philip-khor@users.noreply.github.com> Date: Sat, 4 May 2019 22:39:34 +0800 Subject: [PATCH 1/3] Use global hugo function When building the site, I get the following warning: > Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function. Replacing .Hugo with hugo in header.html removes the warning. --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1c82e777..a0af5120 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -28,7 +28,7 @@ - {{ .Hugo.Generator }} + {{ hugo.Generator }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} From 6cd8e1342367ee84cca70dca91ec8ade4be171f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Sat, 4 May 2019 19:45:30 +0200 Subject: [PATCH 2/3] Remove the marker of menu