Skip to content

Commit

Permalink
added fa-li and fa-fw to my new-ish types of icons
Browse files Browse the repository at this point in the history
  • Loading branch information
fboehm committed Dec 27, 2019
1 parent 223f365 commit 1584bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/work.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
{{if isset . "cran" }}&nbsp;<a href="{{ .cran }}" class="is-smaller"><i class="fab fa-r-project fa-fw"></i></a>{{ end }}
{{if isset . "exurl" }}&nbsp;<a href="{{ .exurl }}" class="is-smaller"><i class="fas fa-link fa-fw"></i></a>{{ end }}
{{ else if eq .type "honor" }}
<i class="fas fa-award"></i>
<i class="fa-li fas fa-award fa-fw"></i>
<strong>{{ .description }}</strong>, {{ .source }} ({{ dateFormat "2006" .date }})

{{ else if eq .type "service" }}
<i class="fas fa-hand-point-right"></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

0 comments on commit 1584bc7

Please sign in to comment.