From acab25521fe31ce4662aa5811e2316ebfd377d83 Mon Sep 17 00:00:00 2001 From: Antoine Prouvost Date: Sat, 3 Aug 2019 04:49:54 -0400 Subject: [PATCH] Fix spacing for non ref pub; Do not display project if empty (#7) --- layouts/partials/projects.html | 2 ++ layouts/partials/publications.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html index 30e5b9c..b9f0fe1 100644 --- a/layouts/partials/projects.html +++ b/layouts/partials/projects.html @@ -1,4 +1,5 @@
+ {{ with .Site.Params.projects }}

Projects

+ {{ end }}
diff --git a/layouts/partials/publications.html b/layouts/partials/publications.html index 1cd0a12..d4ece99 100644 --- a/layouts/partials/publications.html +++ b/layouts/partials/publications.html @@ -10,7 +10,7 @@ {{ if $publication.link }} {{ $publication.name }}, {{ else }} -

{{ $publication.name }},

+

{{ $publication.name }},

{{ end }} {{ $publication.dest | markdownify }}.