🐛 Fix author link
This commit is contained in:
parent
a3ad3ccc8f
commit
40968469d6
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue