diff --git a/assets/styles/sections/experiences.scss b/assets/styles/sections/experiences.scss index d6f6085..7677d4c 100644 --- a/assets/styles/sections/experiences.scss +++ b/assets/styles/sections/experiences.scss @@ -92,6 +92,12 @@ } } + .company-heading { + h5, p { + display: inline; + } + } + @include media('<=medium') { .container { max-width: 100%; diff --git a/layouts/partials/sections/experiences/multiple-positions.html b/layouts/partials/sections/experiences/multiple-positions.html index 7c71b2b..2c83f9b 100644 --- a/layouts/partials/sections/experiences/multiple-positions.html +++ b/layouts/partials/sections/experiences/multiple-positions.html @@ -10,16 +10,18 @@ {{ end }} - -
{{ if .company.url }}{{ .company.name }}{{ else }}{{ .company.name }}{{ end }}
- - - {{ $oldestPosition := index (last 1 .positions) 0}} - {{ $mostRecentPosition := index (first 1 .positions) 0}} -

- {{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}{{ i18n "present" }}{{ end }}, - {{ .company.location }} -

+ + {{ $oldestPosition := index (last 1 .positions) 0}} + {{ $mostRecentPosition := index (first 1 .positions) 0}} +
+
{{ if .company.url }}{{ .company.name }}{{ else }}{{ .company.name }}{{ end }}
+

+ {{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}{{ i18n "present" }}{{ end }} +

+
+

+ {{ .company.location }} +

{{ .company.overview | markdownify }}

diff --git a/layouts/partials/sections/experiences/single-position.html b/layouts/partials/sections/experiences/single-position.html index 83cf0ee..db24640 100644 --- a/layouts/partials/sections/experiences/single-position.html +++ b/layouts/partials/sections/experiences/single-position.html @@ -11,13 +11,17 @@ {{ end }} + {{ $position:= index .positions 0 }} +
+
{{ if .company.url }}{{ .company.name }}{{ else }}{{ .company.name }}{{ end }}
+

{{ $position.start }} - {{ if $position.end }}{{ $position.end }}{{ else }}{{ i18n "present" }}{{ end }} +

+
+

+ {{ .company.location }} +

{{ $position.designation }}
-
{{ if .company.url }}{{ .company.name }}{{ else }}{{ .company.name }}{{ end }}
- -

{{ $position.start }} - {{ if $position.end }}{{ $position.end }}{{ else }}{{ i18n "present" }}{{ end }}, - {{ .company.location }} -

{{ .company.overview | markdownify }}