Fix typo in stand shortcode, and add check for new_this_year param
authorYi Liu <yi.liu@eclipse-foundation.org>
Fri, 29 Jan 2021 20:41:41 +0000 (15:41 -0500)
committerYi Liu <yi.liu@eclipse-foundation.org>
Fri, 29 Jan 2021 20:41:41 +0000 (15:41 -0500)
Signed-off-by: Yi Liu <yi.liu@eclipse-foundation.org>
themes/fosdem/layouts/stands/stand.html

index dc3873dd81080974b673efb3484f887b24ba8afc..fedea69c005f737142baa428ee51743ef360459b 100644 (file)
@@ -67,6 +67,7 @@
             </div>
         </div>
     </div>
+    {{ if isset .Params "new_this_year" }}
     <div class="row mt-4">
         <div class="col">
             <h2>{{ .Params.Title }} in 2020</h2>
@@ -77,5 +78,6 @@
             {{ .Params.New_this_year | safeHTML }}
         </div>
     </div>
+    {{ end }}
 </div>
 {{ end }}
\ No newline at end of file