Skip to content

Commit

Permalink
Fix spacing for non ref pub; Do not display project if empty (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoinePrv authored and hadisinaee committed Aug 3, 2019
1 parent 709394f commit acab255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions layouts/partials/projects.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="introduction">
{{ with .Site.Params.projects }}
<h4>Projects</h4>
<ul>
{{- range $index, $projects_map := .Site.Params.projects -}}
Expand Down Expand Up @@ -30,4 +31,5 @@ <h4>Projects</h4>

{{- end -}}
</ul>
{{ end }}
</div>
2 changes: 1 addition & 1 deletion layouts/partials/publications.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h4>Publications</h4>
{{ if $publication.link }}
<a href="{{ $publication.link }}" class="publications"> {{ $publication.name }}, </a>
{{ else }}
<p class="publications">{{ $publication.name }},</p>
<p class="publications"> {{ $publication.name }}, </p>
{{ end }}
{{ $publication.dest | markdownify }}.

Expand Down

0 comments on commit acab255

Please sign in to comment.