diff --git a/css/excerpt.css b/css/excerpt.css index f258e83..646e1f0 100644 --- a/css/excerpt.css +++ b/css/excerpt.css @@ -62,3 +62,7 @@ margin-bottom: var(--space-sm); background-color: var(--color-light-blue); } + +.excerpt__image { + height: 200px; +} diff --git a/images/tfc.png b/images/tfc.png new file mode 100644 index 0000000..b1f84be Binary files /dev/null and b/images/tfc.png differ diff --git a/images/xin.png b/images/xin.png new file mode 100644 index 0000000..6fd956b Binary files /dev/null and b/images/xin.png differ diff --git a/theme/front-page.php b/theme/front-page.php index 63466d3..8945c75 100644 --- a/theme/front-page.php +++ b/theme/front-page.php @@ -36,11 +36,11 @@

Podcasts

- +
- +
diff --git a/theme/functions.php b/theme/functions.php index a8feda8..3ad6fdc 100644 --- a/theme/functions.php +++ b/theme/functions.php @@ -121,11 +121,12 @@ function windycoys_get_podcast_meta($id) { $item = $rss->channel->item; $date = strtotime((String) $item->pubDate); return array( + id => $id, from_cache => $res['from_cache'], podcast_title => (String) $rss->channel->title, podcast_description => (String) $rss->channel->description, - podcast_url => (String) $rss->channel->image->url, podcast_episodes => windycoys_get_episodes_url($id), + artwork_url => (String) $rss->channel->image->url, title => (String) $item->title, description => (String) $item->description, image => (String) $item->image['href'], diff --git a/theme/partials/podcast.php b/theme/partials/podcast.php index d48c344..5a1f35e 100644 --- a/theme/partials/podcast.php +++ b/theme/partials/podcast.php @@ -1,18 +1,18 @@
-

- - - -

-

+ +

-

+