From fa1c65ff0d2c086eb65a64a24d263f13aee035ff Mon Sep 17 00:00:00 2001 From: BernatBC Date: Mon, 1 Apr 2024 19:15:15 +0200 Subject: [PATCH] Migrate to Bootstrap 5 --- assets/styles/components/links.scss | 4 ++ layouts/_default/search.html | 4 +- layouts/_default/single.html | 8 +-- layouts/partials/cards/accomplishments.html | 4 +- layouts/partials/cards/post.html | 4 +- layouts/partials/cards/publication.html | 8 +-- layouts/partials/footer.html | 6 +-- layouts/partials/navigators/navbar.html | 2 +- layouts/partials/sections/about.html | 4 +- .../partials/sections/achievements/entry.html | 4 +- layouts/partials/sections/education-alt.html | 4 +- layouts/partials/sections/education.html | 4 +- .../sections/experiences/vertical-line.html | 2 +- layouts/partials/sections/projects.html | 2 +- layouts/partials/sections/publications.html | 2 +- layouts/partials/sections/recent-posts.html | 2 +- package-lock.json | 49 ++++++++++--------- package.json | 2 +- 18 files changed, 61 insertions(+), 54 deletions(-) diff --git a/assets/styles/components/links.scss b/assets/styles/components/links.scss index 61369a2d8..4372bcc2e 100644 --- a/assets/styles/components/links.scss +++ b/assets/styles/components/links.scss @@ -2,6 +2,10 @@ a { color: get-light-color('accent-color'); @include transition(); + &:link { + text-decoration: none; + } + &:hover, &:focus { text-decoration: get-light-color('hover-over-accent-color') underline; diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 9475868e8..371c80899 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -58,8 +58,8 @@
${title}
{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8981d32d7..cd511ac6e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -37,7 +37,7 @@
{{ if site.Params.features.blog.showAuthor | default true }} -
+
Author Image
{{ partial "helpers/get-author-name.html" . }}

{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}

@@ -51,7 +51,7 @@

{{ .Page.Title }}

{{ if not (site.Params.features.blog.showAuthor | default true) }} -
+

{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}

{{ end }} @@ -64,7 +64,7 @@

{{ .Page.Title }}

-
+
diff --git a/layouts/partials/cards/publication.html b/layouts/partials/cards/publication.html index bdc7b219a..2c238e139 100644 --- a/layouts/partials/cards/publication.html +++ b/layouts/partials/cards/publication.html @@ -12,11 +12,11 @@
{{ .title }}
{{ .publishedIn.name }} - {{ .publishedIn.date }} + {{ .publishedIn.date }}
{{ range $index,$author:= .authors }} - {{ .name }} + {{ .name }} {{ end }}
@@ -26,13 +26,13 @@
{{ .title }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 048074fd4..c04bd7a34 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -66,7 +66,7 @@