Merge remote-tracking branch 'author-origin/master'

This commit is contained in:
Pau Trepat Segura 2020-06-22 01:09:58 +02:00
commit dbb903158f
4 changed files with 98 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<h1 class="text-center">Experiences</h1>
<div class="container timeline text-justify">
{{ $experiencesTotal:= len .Site.Data.experiences.experiences }}
{{ $totalExperiences:= len .Site.Data.experiences.experiences }}
{{ range $index,$experience:= .Site.Data.experiences.experiences }}
{{ if eq (mod $index 2) 0 }}
<div class="row align-items-center d-flex">
@ -16,7 +16,7 @@
{{ partial "experiences/vertical-line.html" $index }}
</div>
{{ end }}
{{ if lt $index (sub $experiencesTotal 1) }}
{{ if lt $index (sub $totalExperiences 1) }}
{{ partial "experiences/horizontal-line.html" $index }}
{{ end }}
{{ end }}

View file

@ -6,6 +6,6 @@
<h4 class="title" id="achievement-title">{{ .title }}</h4>
<div class="caption hidden col-lg-6 text-left" id="caption">
<h4>{{ .title }}</h4>
<p>{{ .summary }}</p>
<p>{{ .summary | markdownify }}</p>
</div>
</div>