diff --git a/config.yaml b/config.yaml
index 7efb917..c4f17e0 100644
--- a/config.yaml
+++ b/config.yaml
@@ -68,7 +68,7 @@ params:
# profile-mode
profileMode:
- enabled: true # needs to be explicitly set
+ enabled: false # The homeInfo mode was replaced with profile, to make the last few posts show up under the profile.
title: TrudeEH
subtitle: "Software Developer • Computer Technician • Linux Enthusiast"
imageUrl: "logo.jpg"
diff --git a/content/posts/dotfiles.md b/content/posts/dotfiles.md
index 32615a3..3d6d143 100644
--- a/content/posts/dotfiles.md
+++ b/content/posts/dotfiles.md
@@ -6,7 +6,7 @@ showToc: true # Table of Contents
author: "TrudeEH"
title: "Dotfiles: Configuration Files"
date: 2024-05-30T17:35:03+01:00
-tags: ["linux", "macos", "crostini", "github", "git", "guide"]
+tags: ["linux", "macos", "github", "git", "guide"]
description: "How to I set up my dotfiles in a UNIX system."
cover:
image: "" # image path/url
diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html
new file mode 100644
index 0000000..6882f39
--- /dev/null
+++ b/layouts/partials/home_info.html
@@ -0,0 +1,58 @@
+
+ {{- with site.Params.profileMode }}
+
+ {{- if .imageUrl -}}
+ {{- $img := "" }}
+ {{- if not (urls.Parse .imageUrl).IsAbs }}
+ {{- $img = resources.Get .imageUrl }}
+ {{- end }}
+ {{- if $img }}
+ {{- $processableFormats := (slice "jpg" "jpeg" "png" "tif" "bmp" "gif") -}}
+ {{- if hugo.IsExtended -}}
+ {{- $processableFormats = $processableFormats | append "webp" -}}
+ {{- end -}}
+ {{- $prod := (hugo.IsProduction | or (eq site.Params.env "production")) }}
+ {{- if and (in $processableFormats $img.MediaType.SubType) (eq $prod true)}}
+ {{- if (not (and (not .imageHeight) (not .imageWidth))) }}
+ {{- $img = $img.Resize (printf "%dx%d" .imageWidth .imageHeight) }}
+ {{- else if .imageHeight }}
+ {{- $img = $img.Resize (printf "x%d" .imageHeight) }}
+ {{ else if .imageWidth }}
+ {{- $img = $img.Resize (printf "%dx" .imageWidth) }}
+ {{ else }}
+ {{- $img = $img.Resize "150x150" }}
+ {{- end }}
+ {{- end }}
+

+ {{- else }}
+

+ {{- end }}
+ {{- end }}
+
{{ .title | default site.Title | markdownify }}
+
{{ .subtitle | markdownify }}
+ {{- partial "social_icons.html" -}}
+
+ {{- with .buttons }}
+
+ {{- end }}
+
+ {{- end}}
+