From 847d1290d1b4a15a289aa55ad8095bef482127f9 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 2 Oct 2025 08:06:32 +0200 Subject: Fix avatar size --- Makefile | 7 +++++++ README.md | 1 - layouts/partials/header/avatar.html | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f465d6d..95389e9 100644 --- a/Makefile +++ b/Makefile @@ -3,3 +3,10 @@ deploy: rsync -avz --delete public/ ubuntu@feed.kagamino.dev:~/kagamino_blog/ rsync -avz deploy.sh ubuntu@feed.kagamino.dev:~/deploy.sh ssh ubuntu@feed.kagamino.dev 'sudo bash deploy.sh' + +dev: + hugo server -D + +build: + hugo -D -b http://localhost:8000/ + python -m http.server -d public/ diff --git a/README.md b/README.md index d3b158d..b06c55f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ ## Development - `go install github.com/gohugoio/hugo@v0.150` -- `hugo server -D` ## TODO diff --git a/layouts/partials/header/avatar.html b/layouts/partials/header/avatar.html index 5c9447d..3c6240d 100644 --- a/layouts/partials/header/avatar.html +++ b/layouts/partials/header/avatar.html @@ -1,4 +1,4 @@ -{{ $avatar := resources.GetMatch .Site.Params.avatar }} +{{ $avatar := resources.GetMatch .Site.Params.avatar }} {{ $tiny := ($avatar.Fill "80x80 q90") }}
@@ -6,8 +6,8 @@ {{ .Site.Title }} -- cgit v1.3