From 732d31318168deea86985c354de364243a072dbb Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 13 Oct 2025 11:28:00 -0700 Subject: Remove profile mode --- .../PaperMod/layouts/partials/index_profile.html | 58 ---------------------- 1 file changed, 58 deletions(-) delete mode 100644 themes/PaperMod/layouts/partials/index_profile.html (limited to 'themes/PaperMod/layouts/partials') diff --git a/themes/PaperMod/layouts/partials/index_profile.html b/themes/PaperMod/layouts/partials/index_profile.html deleted file mode 100644 index 6882f39..0000000 --- a/themes/PaperMod/layouts/partials/index_profile.html +++ /dev/null @@ -1,58 +0,0 @@ -
- {{- 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 }} - {{ .imageTitle | default - {{- else }} - {{ .imageTitle | default - {{- end }} - {{- end }} -

{{ .title | default site.Title | markdownify }}

- {{ .subtitle | markdownify }} - {{- partial "social_icons.html" -}} - - {{- with .buttons }} - - {{- end }} -
- {{- end}} -
-- cgit v1.3.1