From 055015e5b4e8ddccf03025f134bf6640a101cc1c Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <patrick@davids-neighbour.com>
Date: Sun, 27 Oct 2024 13:24:03 +0000
Subject: [PATCH] fix: proper rel attribute evaluation
---
layouts/partials/social/follow.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/social/follow.html b/layouts/partials/social/follow.html
index 3edf05a..06b2905 100644
--- a/layouts/partials/social/follow.html
+++ b/layouts/partials/social/follow.html
@@ -13,7 +13,7 @@
{{- $setup := . -}}
{{- $network := $setup.slug -}}
{{- $profile := index $config $network -}}
- {{- $rel := $setup.rel | default "" -}}
+ {{- $rel := $profile.rel | default "" -}}
{{- $label := $profile.label | default $setup.label -}}
{{- $link := (printf $setup.profile $profile.username) -}}
--
Gitblit v1.10.0