Allow multiple position in one company experience (#9)

* Add partials for multiple positions on one company

* Remove unnecessary codes + Fix CSS

Co-authored-by: hossainemruz <emruz@appscode.com>
This commit is contained in:
Pau Trepat Segura 2020-07-06 20:02:54 +02:00 committed by GitHub
parent f03e94e5d4
commit 440f424e44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 102 additions and 46 deletions

View file

@ -1,14 +1,5 @@
<div class="col-10 col-lg-8">
<div class="experience-entry-heading">
<h5><a href="{{ .company.url }}">{{ .company.name }}</a></h5>
<h6>{{ .designation }}</h6>
<p class="text-muted">{{ .start }} - {{ if .end }} {{ .end }} {{ else }}Present{{ end }}, {{ .company.location }}</p>
</div>
<p>{{ .company.overview | markdownify }}</p>
<h6 class="text-muted">Responsibilities:</h6>
<ul class="justify-content-around">
{{ range .responsibilities }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
</div>
{{ if gt (len .positions) 1 }}
{{ partial "experiences/multiple-positions" . }}
{{ else }}
{{ partial "experiences/single-position.html" . }}
{{ end }}