🐛 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">
|
<img alt="" class="avatar" src="<?php echo ($page->user('profilePicture'));?>" height="64" width="64" decoding="async">
|
||||||
<div class="author-metadata">
|
<div class="author-metadata">
|
||||||
<div class="author-pseudo">
|
<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>
|
<span class="pill"><?php echo $page->user('pronouns'); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-note"><?php echo $page->user('description'); ?></div>
|
<div class="p-note"><?php echo $page->user('description'); ?></div>
|
||||||
|
@ -53,10 +53,10 @@
|
||||||
</div>
|
</div>
|
||||||
<ul class="author-links">
|
<ul class="author-links">
|
||||||
<?php if ($page->user('homepage')):?>
|
<?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 endif ?>
|
||||||
<?php foreach ($page->user('socials') as $key => $social):?>
|
<?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 ?>
|
<?php endforeach ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue