Fix spacing for non ref pub; Do not display project if empty (#7)
This commit is contained in:
parent
709394f8e1
commit
acab25521f
@ -1,4 +1,5 @@
|
|||||||
<div class="introduction">
|
<div class="introduction">
|
||||||
|
{{ with .Site.Params.projects }}
|
||||||
<h4>Projects</h4>
|
<h4>Projects</h4>
|
||||||
<ul>
|
<ul>
|
||||||
{{- range $index, $projects_map := .Site.Params.projects -}}
|
{{- range $index, $projects_map := .Site.Params.projects -}}
|
||||||
@ -30,4 +31,5 @@
|
|||||||
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user