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:
parent
f03e94e5d4
commit
440f424e44
6 changed files with 102 additions and 46 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue