mirror of
https://github.com/kremalicious/krtmn.git
synced 2024-12-22 09:13:25 +01:00
different markup for latest link
This commit is contained in:
parent
4164370c76
commit
6efc7afd9a
@ -27,7 +27,7 @@ $items = yourls_api_stats( 'last', 1 );
|
|||||||
</header>
|
</header>
|
||||||
<article role="main">
|
<article role="main">
|
||||||
<?php foreach( $items['links'] as $item ) { ?>
|
<?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 } ?>
|
<?php } ?>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
@ -28,11 +28,6 @@ p {
|
|||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
|
||||||
font-weight: 100;
|
|
||||||
color: #dceef3;
|
|
||||||
}
|
|
||||||
|
|
||||||
article,
|
article,
|
||||||
footer {
|
footer {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
Reference in New Issue
Block a user