-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tag-sidebar
- Loading branch information
Showing
10 changed files
with
94 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
layouts/partials/sections/experiences/multiple-positions.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<div class="col-10 col-lg-8"> | ||
<div class="experience-entry-heading"> | ||
{{ $logoImage:= resources.Get .company.logo}} | ||
{{ if $logoImage }} | ||
{{/* svg don't support "Fit" operation */}} | ||
{{ if ne $logoImage.MediaType.SubType "svg" }} | ||
{{ $logoImage = $logoImage.Fit "300x300" }} | ||
{{ end }} | ||
<div class="logo-holder"> | ||
<img class="company-logo" src="{{ $logoImage.RelPermalink }}" alt="{{ .name }}" /> | ||
</div> | ||
{{ end }} | ||
<!-- Total experience duration on a company is time between the starting date of the oldest position and ending date of most recent position --> | ||
{{ $oldestPosition := index (last 1 .positions) 0}} | ||
{{ $mostRecentPosition := index (first 1 .positions) 0}} | ||
<div class="company-heading"> | ||
<h5>{{ if .company.url }}<a href={{.company.url}} title="{{ .company.name }}" target="_blank" rel="noopener">{{ .company.name }}</a>{{ else }}{{ .company.name }}{{ end }}</h5> | ||
<p class="text-muted"> | ||
{{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}{{ i18n "present" }}{{ end }} | ||
</p> | ||
</div> | ||
<p class="text-muted"> | ||
<i class="fa-solid fa-location-dot"></i> {{ .company.location }} | ||
</p> | ||
<!-- Add company overview --> | ||
<p>{{ .company.overview | markdownify }}</p> | ||
</div> | ||
<!-- Add the positions information --> | ||
<div class="positions"> | ||
{{ range $index,$position:= .positions }} | ||
<div class="company-heading"> | ||
<h5 class="designation">{{ $position.designation }}</h5> | ||
<p class="text-muted">{{ $position.start }} - {{if $position.end }} {{ $position.end }} {{else}} {{ i18n "present" }} {{end}}</p> | ||
</div> | ||
<!-- Add the responsibilities handled at this position --> | ||
{{ if $position.responsibilities }} | ||
<h6 class="text-heading">{{ i18n "responsibilities" }}</h6> | ||
<ul class="justify-content-around"> | ||
{{ range $position.responsibilities }} | ||
<li>{{ . | markdownify }}</li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
</div> |
23 changes: 0 additions & 23 deletions
23
layouts/partials/sections/experiences/single-position.html
This file was deleted.
Oops, something went wrong.