fix(feed,sitemap): namespace should not be https

- https://github.com/hexojs/hexo-generator-feed/pull/105
This commit is contained in:
curben 2019-11-17 04:45:26 +00:00
parent 887f9ec116
commit 5e5ef3fe47
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="https://www.w3.org/2005/Atom"> <feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ config.title }}</title> <title>{{ config.title }}</title>
{% if icon %}<icon>{{ icon }}</icon>{% endif %} {% if icon %}<icon>{{ icon }}</icon>{% endif %}
{% if config.subtitle %}<subtitle>{{ config.subtitle }}</subtitle>{% endif %} {% if config.subtitle %}<subtitle>{{ config.subtitle }}</subtitle>{% endif %}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for post in posts %} {% for post in posts %}
<url> <url>
<loc>{{ post.permalink }}</loc> <loc>{{ post.permalink }}</loc>