Skip to content

Commit

Permalink
fixed cv alignment for service
Browse files Browse the repository at this point in the history
  • Loading branch information
fboehm committed Feb 17, 2020
1 parent e66fd8a commit b727597
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion layouts/partials/work.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
<strong>{{ .description }}</strong>, {{ .source }} ({{ dateFormat "2006" .date }})

{{ else if eq .type "service" }}
<i class="fa-li fas fa-hand-point-right fa-fw"></i> <strong>{{ .description }}</strong>, {{ .source }} ({{if isset . "date" }}{{ dateFormat "January 2006" .date }}{{ end }} {{if isset . "start_date" }}{{ dateFormat "January 2006" .start_date }} to {{ dateFormat "January 2006" .end_date }} {{ end }}) {{ if isset . "exurl" }}&nbsp;<a href="{{ .exurl }}" class="is-smaller"><i class="fas fa-link fa-fw"></i></a>{{ end }}
<i class="fa-li fas fa-hand-point-right fa-fw"></i>
<strong>{{ .description }}</strong>, {{ .source }}
(
{{if isset . "date" }}{{ dateFormat "January 2006" .date }}{{ end }}
{{if isset . "start_date" }}{{ dateFormat "January 2006" .start_date }} to {{ dateFormat "January 2006" .end_date }} {{ end }}
)
{{ if isset . "exurl" }}&nbsp;<a href="{{ .exurl }}" class="is-smaller"><i class="fas fa-link fa-fw"></i></a>{{ end }}

{{ end }}

Expand Down
3 changes: 2 additions & 1 deletion layouts/section/vitae.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,15 @@ <h2>Publications</h2>
{{ range sort .Site.Data.papers "date" "desc" }}
{{ partial "work.html" .}}
{{ end }}
</ul>

<h2>Service</h2>
<ul class="fa-ul">
{{ range sort .Site.Data.service "start_date" "desc" }}
{{ partial "work.html" .}}
{{ end }}
</ul>

</ul>
</div>

<div class="is-col is-10 is-hidden-print">&nbsp;</div>
Expand Down

0 comments on commit b727597

Please sign in to comment.