Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b8bee52c7c | |||
| 35bca71987 | |||
| cbdb07dbf1 | |||
| 970656789c | |||
| df78c743c8 | |||
| 96768ade2d | |||
| 11bddc36a2 |
@@ -67,6 +67,7 @@ For more details about the features please visit [here](https://toha-guides.netl
|
|||||||
- Português Europeu
|
- Português Europeu
|
||||||
- Català
|
- Català
|
||||||
- Português Brasileiro
|
- Português Brasileiro
|
||||||
|
- Nederlands
|
||||||
|
|
||||||
To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io).
|
To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io).
|
||||||
|
|
||||||
|
|||||||
@@ -56,14 +56,12 @@
|
|||||||
font-size: 0.5em;
|
font-size: 0.5em;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: get-light-color('accent-color');
|
|
||||||
margin-left: 0.2em;
|
margin-left: 0.2em;
|
||||||
margin-right: 0.2em;
|
margin-right: 0.2em;
|
||||||
margin-top: 0.6em;
|
margin-top: 0.6em;
|
||||||
margin-bottom: 0.6em;
|
margin-bottom: 0.6em;
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: get-light-color('text-over-accent-color');
|
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -143,17 +141,6 @@ html[data-theme='dark'] {
|
|||||||
color: get-dark-color('muted-text-color');
|
color: get-dark-color('muted-text-color');
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags {
|
|
||||||
li {
|
|
||||||
background: get-dark-color('accent-color');
|
|
||||||
a {
|
|
||||||
background-color: get-dark-color('bg-card');
|
|
||||||
border: 1px solid get-dark-color('muted-text-color');
|
|
||||||
color: get-dark-color('text-over-accent-color');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-button {
|
.icon-button {
|
||||||
background-color: get-dark-color('muted-text-color');
|
background-color: get-dark-color('muted-text-color');
|
||||||
color: get-dark-color('text-over-accent-color') !important;
|
color: get-dark-color('text-over-accent-color') !important;
|
||||||
|
|||||||
@@ -46,3 +46,13 @@ html[data-theme='dark'] {
|
|||||||
.svg-inverted {
|
.svg-inverted {
|
||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logo-holder {
|
||||||
|
height: 64px;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.company-logo {
|
||||||
|
max-height: 100%;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
@@ -10,7 +10,7 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-link {
|
.list-link, .taxonomy-term {
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
color: get-light-color('text-color');
|
color: get-light-color('text-color');
|
||||||
@include transition();
|
@include transition();
|
||||||
@@ -67,7 +67,7 @@ html[data-theme='dark'] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-link {
|
.list-link, .taxonomy-term {
|
||||||
color: get-dark-color('text-color');
|
color: get-dark-color('text-color');
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
|
|||||||
@@ -129,6 +129,12 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-section {
|
||||||
|
.custom-content {
|
||||||
|
padding-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,6 +92,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.company-heading {
|
||||||
|
h5 {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 0.25em;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@include media('<=medium') {
|
@include media('<=medium') {
|
||||||
.container {
|
.container {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|||||||
@@ -35,6 +35,10 @@
|
|||||||
|
|
||||||
.project-card-footer {
|
.project-card-footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
.badge {
|
||||||
|
margin-left: 0.1em;
|
||||||
|
margin-right: 0.1em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-tags-holder {
|
.project-tags-holder {
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
<div class="post-card">
|
<div class="post-card">
|
||||||
<a href="{{ .RelPermalink | relLangURL }}" class="post-card-link">
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-head">
|
<div class="card-head">
|
||||||
|
<a href="{{ .RelPermalink | relLangURL }}" class="post-card-link">
|
||||||
<img class="card-img-top" src='{{ partial "helpers/get-hero.html" . }}' alt="Hero Image">
|
<img class="card-img-top" src='{{ partial "helpers/get-hero.html" . }}' alt="Hero Image">
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<a href="{{ .RelPermalink | relLangURL }}" class="post-card-link">
|
||||||
<h5 class="card-title">{{ .Title }}</h5>
|
<h5 class="card-title">{{ .Title }}</h5>
|
||||||
<p class="card-text post-summary">{{ .Summary }}</p>
|
<p class="card-text post-summary">{{ .Summary }}</p>
|
||||||
|
</a>
|
||||||
{{ if and site.Params.features.tags.enable site.Params.features.tags.on_card }}
|
{{ if and site.Params.features.tags.enable site.Params.features.tags.on_card }}
|
||||||
{{ partial "misc/tags.html" .Params.tags }}
|
{{ partial "misc/tags.html" .Params.tags }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -20,5 +23,4 @@
|
|||||||
class="float-right btn btn-outline-info btn-sm">{{ i18n "read" }}</a>
|
class="float-right btn btn-outline-info btn-sm">{{ i18n "read" }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<ul style="padding-left: 0;">
|
<ul style="padding-left: 0;">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ $url:= printf "tags/%s/" . }}
|
{{ $url:= printf "tags/%s/" . }}
|
||||||
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn, btn-sm">{{ . }}</a></li>
|
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn btn-sm btn-info">{{ . }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -31,6 +31,18 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="details">
|
<td class="details">
|
||||||
<div class="degree-info card">
|
<div class="degree-info card">
|
||||||
|
|
||||||
|
{{ $logoImage:= resources.Get .institution.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 }}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-10 col-md-8">
|
<div class="col-lg-10 col-md-8">
|
||||||
{{ if .institution.url }}
|
{{ if .institution.url }}
|
||||||
@@ -106,6 +118,14 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .custonSections }}
|
||||||
|
<div class="custom-section">
|
||||||
|
{{ range .custonSections }}
|
||||||
|
<h6 class="text-heading">{{ .name }}: </h6>
|
||||||
|
<div class="custom-content">{{ .content | markdownify }}</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="line">
|
<td class="line">
|
||||||
|
|||||||
@@ -31,6 +31,19 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="details">
|
<td class="details">
|
||||||
<div class="degree-info card">
|
<div class="degree-info card">
|
||||||
|
|
||||||
|
{{ $logoImage:= resources.Get .institution.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 }}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-10 col-md-8">
|
<div class="col-lg-10 col-md-8">
|
||||||
{{ if .institution.url }}
|
{{ if .institution.url }}
|
||||||
@@ -106,6 +119,14 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .custonSections }}
|
||||||
|
<div class="custom-section">
|
||||||
|
{{ range .custonSections }}
|
||||||
|
<h6 class="text-heading">{{ .name }}: </h6>
|
||||||
|
<div class="custom-content">{{ .content | markdownify }}</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
{{ if eq (mod $index 2) 0 }}
|
{{ if eq (mod $index 2) 0 }}
|
||||||
<div class="row align-items-center d-flex">
|
<div class="row align-items-center d-flex">
|
||||||
{{ partial "sections/experiences/vertical-line.html" $index }}
|
{{ partial "sections/experiences/vertical-line.html" $index }}
|
||||||
{{ partial "sections/experiences/experience-info.html" $experience }}
|
{{ partial "sections/experiences/positions.html" $experience }}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="row align-items-center justify-content-end d-flex">
|
<div class="row align-items-center justify-content-end d-flex">
|
||||||
{{ partial "sections/experiences/experience-info.html" $experience }}
|
{{ partial "sections/experiences/positions.html" $experience }}
|
||||||
{{ partial "sections/experiences/vertical-line.html" $index }}
|
{{ partial "sections/experiences/vertical-line.html" $index }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{{ if gt (len .positions) 1 }}
|
|
||||||
{{ partial "sections/experiences/multiple-positions.html" . }}
|
|
||||||
{{ else }}
|
|
||||||
{{ partial "sections/experiences/single-position.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
<div class="col-10 col-lg-8">
|
|
||||||
<div class="experience-entry-heading">
|
|
||||||
<!-- For multiple positions, give emphasis on the company name-->
|
|
||||||
<h5>{{ if .company.url }}<a href={{.company.url}} title="{{ .company.name }}" target="_blank" rel="noopener">{{ .company.name }}</a>{{ else }}{{ .company.name }}{{ end }}</h5>
|
|
||||||
|
|
||||||
<!-- 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}}
|
|
||||||
<p class="text-muted">
|
|
||||||
{{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}{{ i18n "present" }}{{ end }},
|
|
||||||
{{ .company.location }}
|
|
||||||
</p>
|
|
||||||
<!-- Add company overview -->
|
|
||||||
<p>{{ .company.overview | markdownify }}</p>
|
|
||||||
</div>
|
|
||||||
<!-- Add the positions information -->
|
|
||||||
<div class="positions">
|
|
||||||
{{ range $index,$position:= .positions }}
|
|
||||||
<h6 class="designation">{{ $position.designation }}</h6>
|
|
||||||
<p class="text-muted">{{ $position.start }} - {{if $position.end }} {{ $position.end }} {{else}} {{ i18n "present" }} {{end}}</p>
|
|
||||||
<!-- Add the responsibilities handled at this position -->
|
|
||||||
<ul class="justify-content-around">
|
|
||||||
{{ range $position.responsibilities }}
|
|
||||||
<li>{{ . | markdownify }}</li>
|
|
||||||
{{ end }}
|
|
||||||
</ul>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -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>
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<div class="col-10 col-lg-8">
|
|
||||||
<div class="experience-entry-heading">
|
|
||||||
{{ $position:= index .positions 0 }}
|
|
||||||
<!-- For single position, give emphasis on the designation-->
|
|
||||||
<h5>{{ $position.designation }}</h5>
|
|
||||||
<h6>{{ if .company.url }}<a href={{.company.url}} title="{{ .company.name }}" target="_blank" rel="noopener">{{ .company.name }}</a>{{ else }}{{ .company.name }}{{ end }}</h6>
|
|
||||||
<!-- Add experience duration info -->
|
|
||||||
<p class="text-muted">{{ $position.start }} - {{ if $position.end }}{{ $position.end }}{{ else }}{{ i18n "present" }}{{ end }},
|
|
||||||
{{ .company.location }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<!-- Add company overview -->
|
|
||||||
<p>{{ .company.overview | markdownify }}</p>
|
|
||||||
<!-- 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 }}
|
|
||||||
</div>
|
|
||||||
Reference in New Issue
Block a user