Skip to content

Commit

Permalink
Fixed - Images not appearing in RSS Feed.
Browse files Browse the repository at this point in the history
  • Loading branch information
brajeshwar committed Sep 3, 2024
1 parent b034448 commit 11acb6b
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
layout: default
---

<figure class="post__art">
<img
alt="{{ page.title }}"
src="/{{ site.file_path }}/{{ page.image }}.{{ site.file_format}}">
<figcaption>
<h2>{{ page.title }}</h2>
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%a, %b %-d, %Y' }}</time>
</figcaption>
</figure>

<article class="post__content">
<article class="post__content">
<figure class="post__art">
<img
alt="{{ page.title }}"
src="/{{ site.file_path }}/{{ page.image }}.{{ site.file_format}}">
<figcaption>
<h2>{{ page.title }}</h2>
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%a, %b %-d, %Y' }}</time>
</figcaption>
</figure>
{{ content }}
</article>

Expand Down

0 comments on commit 11acb6b

Please sign in to comment.