Skip to content

Commit

Permalink
Change Atom namespace so feeds validate
Browse files Browse the repository at this point in the history
In Atom, XML namespace on HTTP protocol must be used.
https://validator.w3.org/feed/docs/error/InvalidNamespace.html

Because HTTPS protocol was used, generated feeds failed validation.
  • Loading branch information
przemub committed May 29, 2020
1 parent 840a276 commit 42316f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mynt/themes/dark/feed.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="https://www.w3.org/2005/Atom">
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
{% if site.subtitle %}<subtitle>{{ site.subtitle }}</subtitle>{% endif %}
<link rel="alternate" href="{{ get_url(absolute=true) }}" />
Expand Down
2 changes: 1 addition & 1 deletion mynt/themes/light/feed.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="https://www.w3.org/2005/Atom">
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
{% if site.subtitle %}<subtitle>{{ site.subtitle }}</subtitle>{% endif %}
<link rel="alternate" href="{{ get_url(absolute=true) }}" />
Expand Down

0 comments on commit 42316f8

Please sign in to comment.