🐛 Fix author link

This commit is contained in:
Kazhnuz 2025-07-14 11:09:31 +02:00
parent a3ad3ccc8f
commit 40968469d6

View file

@ -45,7 +45,7 @@
<img alt="" class="avatar" src="<?php echo ($page->user('profilePicture'));?>" height="64" width="64" decoding="async">
<div class="author-metadata">
<div class="author-pseudo">
Écrit par <a href="https://kazhnuz.space" class="u-url p-name"><?php echo $page->user('displayName'); ?></a>
Écrit par <a href="<?php echo $page->user('authorUri'); ?>" class="p-name"><?php echo $page->user('displayName'); ?></a>
<span class="pill"><?php echo $page->user('pronouns'); ?></span>
</div>
<div class="p-note"><?php echo $page->user('description'); ?></div>
@ -53,10 +53,10 @@
</div>
<ul class="author-links">
<?php if ($page->user('homepage')):?>
<li><a href="<?php echo ($page->user('homepage'));?>">Homepage</a> </li>
<li><a href="<?php echo ($page->user('homepage'));?>" class="u-url">Homepage</a> </li>
<?php endif ?>
<?php foreach ($page->user('socials') as $key => $social):?>
<li><a href="<?php echo ($social->url);?>"><?php echo $social->name; ?></a> </li>
<li><a href="<?php echo ($social->url);?>" rel="me"><?php echo $social->name; ?></a> </li>
<?php endforeach ?>
</ul>
</div>