mirror of https://gitlab.com/curben/blog
fix(feed,sitemap): namespace should not be https
- https://github.com/hexojs/hexo-generator-feed/pull/105
This commit is contained in:
parent
887f9ec116
commit
5e5ef3fe47
|
@ -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 %}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue