Hide by default responsibilities and click to show them

This commit is contained in:
Pau Trepat Segura 2020-07-15 11:19:57 +02:00
parent 3b8d0348c8
commit dd6fecf5b5
4 changed files with 23 additions and 2 deletions

View file

@ -18,7 +18,7 @@
{{ range $index,$position:= .positions }}
<div class="company-timeline-item position">
<h6 class="designation">{{ $position.designation }}</h6>
<p class="text-muted">{{ $position.start }} - {{if $position.end }} {{ $position.end }} {{else}} Present {{end}}</p>
<span class="text-muted company-period">{{ $position.start }} - {{ $position.end }} </span>
<ul class="justify-content-around responsabilities">
{{ range $position.responsibilities }}
<li>{{ . | markdownify }}</li>

View file

@ -5,7 +5,7 @@
<div class="company-info">
<h5>{{ .designation }}</h5>
<h6>{{ if .company.url }}<a href={{.company.url}}>{{ .company.name }}</a>{{ else }}{{ .company.name }}{{ end }}</h6>
<span class="text-muted">{{ .start }} - {{ .end }},
<span class="text-muted company-period">{{ .start }} - {{ .end }},
{{ .company.location }}
</span>
</div>