Skip to content

Commit

Permalink
Fix : atom.xml, added wapper tag for icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sehajyang committed Nov 5, 2019
1 parent b58ec71 commit 07f8b70
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion atom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="https://www.w3.org/2005/Atom">
<title>{{ config.title }}</title>
{% if icon %}<icon>{{ icon }}</icon>{% endif %}
{% if icon %}
<image>
<url>{{ icon }}</url>
<title>{{ config.title }}</title>
<link>{{ url }}</link>
</image>
{% endif %}
{% if config.subtitle %}<subtitle>{{ config.subtitle }}</subtitle>{% endif %}
<link href="{{ feed_url | uriencode }}" rel="self"/>
{% if config.feed.hub %}<link href="{{ config.feed.hub | uriencode }}" rel="hub"/>{% endif %}
Expand Down

0 comments on commit 07f8b70

Please sign in to comment.