Skip to content
Browse files

added whitespace to right of embedded image and removed template hand…

…ling for media:content image
  • Loading branch information...
1 parent adff8f8 commit 1a21137ae899abb062e92b6ab92edda53478e5ff erik committed
Showing with 7 additions and 18 deletions.
  1. +7 −18 standard.php
View
25 standard.php
@@ -87,12 +87,6 @@
/* add whitespace above bottom separator */
padding-bottom: 10px;
}
-.wrapper .body li .image {
- margin-right: 10px;
-
- /* align img left of text content */
- float: left;
-}
.wrapper .body li .category {
font-weight: bold;
margin-bottom: 10px;
@@ -108,6 +102,9 @@
margin-bottom: 10px;
color: #ccc;
}
+.wrapper .body li .description img {
+ margin-right: 10px;
+}
.wrapper .body li .pubDate {
color: #ccc;
float: right;
@@ -122,20 +119,12 @@
</div>
<ul class="body">
<? foreach($data['body'] as $item): ?>
- <li>
-
- <!-- if there is an image defined, display it -->
- <? if($item['image']): ?>
- <div class="image">
- <!-- <img src="<?= $item['image']['url'] ?>"/> -->
- </div>
- <? endif ?>
-
- <? if($item->category): ?>
- <div class="category"><?= $item['category'] ?></div>
- <? endif ?>
+ <li>
<a href="<?= $item['link'] ?>" class="title"><?= $item['title'] ?></a>
+
+ <!-- use image embedded in description instead of the media:content -->
<div class="description"><?= $item['description'] ?></div>
+
<div class="pubDate"><?= $item['pubDate'] ?></div>
<div style="clear:both"></div>
</li>

0 comments on commit 1a21137

Please sign in to comment.
Something went wrong with that request. Please try again.