]> git.danielmrcl.dev Git - danielmrcl.dev.git/commitdiff
fix avatar
authorDaniel Jr <dan@danielmrcl.dev>
Sat, 17 May 2025 07:40:33 +0000 (04:40 -0300)
committerDaniel Jr <dan@danielmrcl.dev>
Sat, 17 May 2025 07:40:33 +0000 (04:40 -0300)
Signed-off-by: Daniel Jr <dan@danielmrcl.dev>
hugo.toml
layouts/partials/header.html
static/images/logo.png

index 2f1519cd219bb530f5c1eacf9e9883ccdfb7c19c..9ff3aebfa7dfff1d9b2afd41ba6f81815e896b46 100644 (file)
--- a/hugo.toml
+++ b/hugo.toml
@@ -28,11 +28,9 @@ tabWidth = 4
 colortheme = "dark"
 rss = false
 tocInline = true
-logo = "image.jpg"
 favicon = "favicon.ico"
 description = "Since 2021 I have been developing web services in microservice architecture for critical, efficient, and scalable systems. I also love Linux, cloud, cli-tools, hardware, and all about computers."
 tagsOverview = true
-showProjectsList = true
 show_updated = true
 showReadTime = false
 
index 3ecdb0bda82bebf637e3473a1cadd2075828e490..75db83393bd3762da23eae93657e968e07e39a39 100644 (file)
@@ -1,12 +1,6 @@
 <header id="header">
   <a href="{{ .Site.BaseURL }}">
-  {{ if (isset .Site.Params "gravatar") }}
-    <div id="logo" style="background-image: url(https://www.gravatar.com/avatar/{{ md5 .Site.Params.gravatar }}?s=100&d=identicon)"></div>
-  {{ else if (isset .Site.Params "logo") }}
-    <div id="logo" style="background-image: url({{ .Site.Params.logo | absURL }})"></div>
-  {{ else }}
-    <div id="logo" style="background-image: url({{ "images/logo.png" | absURL }})"></div>
-  {{ end}}
+  <div id="logo" style="background-image: url({{ "images/logo.png" | absURL }})"></div>
   <div id="title">
     <h1>{{ .Site.Title }}</h1>
   </div>
index 43a6ef04ee3b8b18362fff8f40ad4415ef881050..60567ed1bc8e9c92ac8f0ff8ae5497b14f0a5c6c 100644 (file)
Binary files a/static/images/logo.png and b/static/images/logo.png differ