Fix website build with recent Hugo (#1302)

The website currently fails to build with recent versions of Hugo.
Apply some minimal changes to allow the website to build with hugo
v0.93.3.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
This commit is contained in:
Diego Rondini
2022-12-22 10:36:59 +01:00
committed by GitHub
parent 28d90c3754
commit 833edba275
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
<article class="article">
<div class="wrapper">
<h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1>
<h1>{{ .Title }} {{ if .Draft }} (Draft){{ end }}</h1>
{{ .Content }}