different markup for latest link

This commit is contained in:
Matthias Kretschmann 2012-02-26 23:02:46 +01:00
parent 4164370c76
commit 6efc7afd9a
2 changed files with 1 additions and 6 deletions

View File

@ -27,7 +27,7 @@ $items = yourls_api_stats( 'last', 1 );
</header>
<article role="main">
<?php foreach( $items['links'] as $item ) { ?>
<p>Latest shortened link: <strong><?php echo $item['title']; ?></strong> | <a href="<?php echo $item['shorturl']; ?>"><?php echo $item['shorturl']; ?></a></p>
<p>Latest shortened link: <a href="<?php echo $item['shorturl']; ?>"><?php echo $item['title']; ?> | <?php echo $item['shorturl']; ?></a></p>
<?php } ?>
</article>

View File

@ -28,11 +28,6 @@ p {
line-height: 1em;
}
strong {
font-weight: 100;
color: #dceef3;
}
article,
footer {
position: relative;