Skip to content

Commit c692c09

Browse files
committed
Remove rel-author from h-card and switch to u-author
1 parent 53896c9 commit c692c09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/h-card.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<div class="hcard-display h-card vcard p-author">
1+
<div class="hcard-display h-card vcard u-author">
22
<div class="hcard-header">
33
<?php if ( ! $avatar ) { ?>
4-
<a class="u-url url fn u-uid" href="<?php echo esc_url( $url ); ?>"rel="author">
4+
<a class="u-url url fn u-uid" href="<?php echo esc_url( $url ); ?>">
55
<p class="hcard-name p-name n"><?php echo $name; ?></p>
66
</a>
77
<?php } else { ?>
8-
<a class="u-url url fn u-uid" href=" <?php echo esc_url( $url ); ?>" rel= "author"><?php echo $avatar; ?></a>
8+
<a class="u-url url fn u-uid" href=" <?php echo esc_url( $url ); ?>"><?php echo $avatar; ?></a>
99
<p class="hcard-name p-name n"><?php echo $name; ?></p>
1010
<?php }
1111
if ( $args['email'] ) { ?>
1212
<p>
13-
<a class="u-email" rel="me" href="mailto:<?php echo $email; ?>"><?php echo $email; ?></a>
13+
<a class="u-email" href="mailto:<?php echo $email; ?>" <?php is_front_page() ? echo 'rel="me"' : echo ''; ?>>><?php echo $email; ?></a>
1414
</p>
1515
<?php } ?>
1616
</div> <!-- end hcard-header -->

0 commit comments

Comments
 (0)