Skip to content

Commit

Permalink
Upgrade theme v1.5.6 (#8)
Browse files Browse the repository at this point in the history
* WIP - upgrade theme to v1.5.5

* upgrade theme to v1.5.6
  • Loading branch information
dcorto authored Feb 3, 2025
1 parent 6f31c46 commit 73f4003
Show file tree
Hide file tree
Showing 16 changed files with 2,383 additions and 199 deletions.
39 changes: 34 additions & 5 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
/* You can customize theme styles here */
b,
strong {
font-weight: bold;

/* general */
b, strong {
font-weight: bold !important;
}

html body ::selection{
background-color:#6897bb;
color:#fff;
}

p a:hover, span a:hover {
color: #6897bb !important;
}

.section li {
color: rgba(0, 0, 0, 1) !important;
}


/* header */
.header .navbar-brand span:first-child{
color: #6897bb;
margin-right: 0.2em;
color: #6897bb !important;
margin-right: 0.2em !important;
}

.header .container{
Expand All @@ -32,3 +43,21 @@ html body ::selection{
white-space: wrap !important;
}

/* experience background color */
.experience.selected a,
.experience:hover a,
.experience:active a,
.experience a:hover,
.experience a:active {
background-color: #6897bb !important;
}

div.experience__company {
color: #6897bb !important;
}

/* fix h3 links color */
section#experience div#main-content h3 a {
color: #6897bb !important;
}

Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
---
date: 2016-03-01T00:00:00+01:00
draft: false
title: "Team Lead / CIO / Senior PHP Developer"
description: "Lead web developer of e-commerce, cloud and other online projects of the company."
title: "Twonav"
description: "Lead web developer of e-commerce, cloud and other online projects of the company"
jobTitle: "Team Lead / CIO / Senior PHP Developer"
company: "TwoNav"
location: "Arenys de Mar, Barcelona"
duration: "March 2016 - October 2018"
seo:
title: "Experience as a Team Lead / CIO / Senior PHP Developer at TwoNav"
description: "Lead web developer of e-commerce, cloud and other online projects of the company."
description: "Lead web developer of e-commerce, cloud and other online projects of the company"

---
### Team Lead / CIO / Senior PHP Developer at [TwoNav](https://www.twonav.com/)

Lead web developer of e-commerce, cloud and other online projects of the company.

e-commerce: [TwoNav](https://www.twonav.com/)

cloud: [GO by TwoNav](https://go.twonav.com/)
6 changes: 3 additions & 3 deletions content/experience/full-stack-web-php-developer-at-cdmon.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
date: 2015-02-01T00:00:00+01:00
draft: false
title: "Full Stack Web PHP Developer"
description: "Lead developer of all e-commerce and marketing platforms."
title: "CDmon (10dencehispahard S.L.)"
description: "Lead developer of all e-commerce and marketing platforms"
jobTitle: "Full Stack Web PHP Developer"
company: "CDmon (10dencehispahard S.L.)"
location: "Malgrat de Mar, Barcelona"
duration: "February 2015 - January 2016"
seo:
title: "Experience as a Full Stack Web PHP Developer at CDmon (10dencehispahard S.L.)"
description: "Lead developer of all e-commerce and marketing platforms."
description: "Lead developer of all e-commerce and marketing platforms"

---
### Full Stack Web PHP Developer at [CDmon (10dencehispahard S.L.)](https://www.cdmon.com)
Expand Down
2 changes: 1 addition & 1 deletion content/experience/php-web-developer-at-pindigital.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
date: 2012-06-01T00:00:00+01:00
draft: false
title: "PHP Symfony2 Web Developer"
title: "Pin Digital"
description: "Social network development with Symfony2. HTML5 + CSS3 Frontend. Technology: ElasticSearch + Redis + RabbitMQ + Varnish Cache + AWS"
jobTitle: "PHP Symfony2 Web Developer"
company: "Pin Digital"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
date: 2016-01-01T00:00:00+01:00
draft: false
title: "Senior PHP Web Developer"
description: "PHP Developer in one of the IT teams of the company."
title: "Alea Digital S.L."
description: "PHP Developer in one of the IT teams of the company"
jobTitle: "Senior PHP Web Developer "
company: "Alea Digital S.L."
location: "Barcelona"
duration: "January 2016 - February 2016"
seo:
title: "Experience as a Senior PHP Web Developer at Alea Digital S.L."
description: "PHP Developer in one of the IT teams of the company."
description: "PHP Developer in one of the IT teams of the company"
---
### Senior PHP Web Developer at [Alea Digital S.L.](https://www.alea.com/)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
date: 2019-06-01T00:00:00+01:00
draft: false
title: "Senior Software Engineer & Tech Lead"
description: "Leading the development of the product catalog at Deporvillage."
title: "Deporvillage"
description: "Leading the development of the product catalog at Deporvillage"
jobTitle: "Senior Software Engineer & Tech Lead"
company: "Deporvillage"
location: "Barcelona"
duration: "June 2019 - Present"
seo:
title: "Experience as a Senior Software Engineer & Tech Lead at Deporvillage"
description: "Leading the development of the product catalog at Deporvillage."
description: "Leading the development of the product catalog at Deporvillage"
---

### Tech Lead at [Deporvillage](https://www.deporvillage.com/)
Expand All @@ -21,5 +21,6 @@ As a Tech Lead, I have the oversight of the catalog development team at Deporvil
- **Collaborating** with cross-functional teams to drive platform improvements.



### Senior Backend Developer at [Deporvillage](https://www.deporvillage.com/)
As a Senior Backend Developer working with ElasticSearch, PHP, GoLang and a lot of microservices.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
date: 2018-10-01T00:00:00+01:00
draft: false
title: "Senior Software Engineer"
title: "Euromillions.com"
description: "As a Senior Software Engineer, I worked improving the main site and payment services (microservices)."
jobTitle: "Senior Software Engineer"
company: "EuroMillions.com"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
date: 2014-06-01T00:00:00+01:00
draft: false
title: "Software Engineer"
title: "Fundació Bosch i Gimpera"
description: "In collaboration with the University of Barcelona. My main responsibilities were as the project manager, systems architect and web developer for develop a new tool for internal management of a rice company."
jobTitle: "Software Engineer"
company: "Fundació Bosch i Gimpera"
Expand Down
2 changes: 1 addition & 1 deletion content/experience/web-developer-at-a2sistemas.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
date: 2007-01-01T00:00:00+01:00
draft: false
title: "Web Developer"
title: "A2 Sistemas"
description: "Frontend and Backend Web Developer with PHP and .NET, HTML, CSS. Project manager and IT consultant."
jobTitle: "Web Developer"
company: "A2 Sistemas"
Expand Down
7 changes: 1 addition & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@ module github.com/dcorto/dcorto.github.io

go 1.23.5

require (
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 // indirect
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 // indirect
github.com/twbs/bootstrap v5.3.3+incompatible // indirect
github.com/zetxek/adritian-free-hugo-theme v1.5.0 // indirect
)
require github.com/zetxek/adritian-free-hugo-theme v1.5.6 // indirect
17 changes: 4 additions & 13 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 h1:SmpwwN3DNzJWbV+IT8gaFu07ENUFpCvKou5BHYUKuVs=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200/go.mod h1:kx8MBj9T7SFR8ZClWvKZPmmUxBaltkoXvnWlZZcSnYA=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 h1:GZxx4Hc+yb0/t3/rau1j8XlAxLE4CyXns2fqQbyqWfs=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI=
github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/zetxek/adritian-free-hugo-theme v1.4.26 h1:ZwaY96aN6kfc7PLJtnjs7f4DOBR3ZthFsfvh8/MZ3eY=
github.com/zetxek/adritian-free-hugo-theme v1.4.26/go.mod h1:oNhQDb9cx5XrF09gCzipkKSb3vAXjYsC/5CEqb1Z24g=
github.com/zetxek/adritian-free-hugo-theme v1.4.27-0.20250122132343-aa5ba1188349 h1:aXm6Niq/+9hTLklIKPodZL1pOqw1KN6Sgli8RlXex40=
github.com/zetxek/adritian-free-hugo-theme v1.4.27-0.20250122132343-aa5ba1188349/go.mod h1:rBaUp2A0XzOQn/DReVVdDnbIjA/kaigo1xBHdLAvx8w=
github.com/zetxek/adritian-free-hugo-theme v1.5.0 h1:N/g2BUgqnJW5Wn67noef5Lyki5esEHgriNV8es3p4/g=
github.com/zetxek/adritian-free-hugo-theme v1.5.0/go.mod h1:RZxMuUPx+AJwqABiHDQWSVEskypgZCqZ0MwOgCvA6o0=
github.com/zetxek/adritian-free-hugo-theme v1.5.5 h1:hUzHG7Mgdq0Hdn49rpoerOVZpmb8FH2//q6UPGnldmo=
github.com/zetxek/adritian-free-hugo-theme v1.5.5/go.mod h1:RZxMuUPx+AJwqABiHDQWSVEskypgZCqZ0MwOgCvA6o0=
github.com/zetxek/adritian-free-hugo-theme v1.5.6 h1:yoceuwYE1WHkUeJA2CjsbJGmLXzbZOyd10V9yG0d2ok=
github.com/zetxek/adritian-free-hugo-theme v1.5.6/go.mod h1:RZxMuUPx+AJwqABiHDQWSVEskypgZCqZ0MwOgCvA6o0=
20 changes: 20 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ enableRobotsTXT = true
[[module.imports]]
path = "github.com/zetxek/adritian-free-hugo-theme"

[[module.mounts]]
source = 'assets'
target = 'assets'

[[module.mounts]]
source = "node_modules/bootstrap/scss"
target = "assets/scss/bootstrap"

[[module.mounts]]
source = "node_modules/bootstrap/dist/js"
target = "assets/js/bootstrap"

[[module.mounts]]
source = "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
target = "assets/js/vendor/bootstrap.bundle.min.js"

[params]

# Open Graph
Expand Down Expand Up @@ -147,6 +163,10 @@ enableRobotsTXT = true
URL = "/es/#contact"
weight = 4

# Experience
[params.experience]
showJobCard = true # Set to false for hide the job card

# Plugins
[params.plugins]

Expand Down
56 changes: 29 additions & 27 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,37 +41,39 @@
{{- if findRE "^http" .URL }}
<link rel="stylesheet" href="{{ .URL | absURL }}">
{{- else }}
{{- $cssFile := resources.Get .URL }}
{{- $cssResources = $cssResources | append $cssFile }}
{{- with resources.Get .URL }}
{{- $cssResources = $cssResources | append . }}
{{- end }}
{{- end }}
{{- end }}

{{- $cssBundle := $cssResources | resources.Concat "css/bundle.css" }}

{{- $css := $cssBundle }}
{{- if hugo.IsProduction }}
{{- $css = $css | minify | fingerprint | resources.PostProcess }}
{{- end }}
<link
rel="preload"
href="{{ $css.RelPermalink }}"
as="style"
onload="this.onload=null;this.rel='stylesheet'"
{{ if hugo.IsProduction -}}
integrity="{{ $css.Data.Integrity }}"
crossorigin="anonymous"
{{- end }}
/>
<noscript>
<link
rel="stylesheet"
href="{{ $css.RelPermalink }}"
{{ if hugo.IsProduction -}}
integrity="{{ $css.Data.Integrity }}"
crossorigin="anonymous"
{{- if gt (len $cssResources) 0 }}
{{- $cssBundle := $cssResources | resources.Concat "css/bundle.css" }}
{{- $css := $cssBundle }}
{{- if hugo.IsProduction }}
{{- $css = $css | minify | fingerprint | resources.PostProcess }}
{{- end }}
/>
</noscript>
<link
rel="preload"
href="{{ $css.RelPermalink }}"
as="style"
onload="this.onload=null;this.rel='stylesheet'"
{{ if hugo.IsProduction -}}
integrity="{{ $css.Data.Integrity }}"
crossorigin="anonymous"
{{- end }}
/>
<noscript>
<link
rel="stylesheet"
href="{{ $css.RelPermalink }}"
{{ if hugo.IsProduction -}}
integrity="{{ $css.Data.Integrity }}"
crossorigin="anonymous"
{{- end }}
/>
</noscript>
{{- end }}
{{- range .Site.Params.plugins.scss }}
{{/* no external scss processing - as they need to be processed by the theme */}}
{{- $scss := resources.Get .URL }}
Expand Down
Loading

0 comments on commit 73f4003

Please sign in to comment.