jekyll - "Build Warning: Layout 'none' requested in feed.xml does not exist." -
i've solved error message
"build warning: layout 'none' requested in feed.xml not exist."
removing 3 lines @ head of current feed.xml
file. solution? whats wrong remove these 3 lines?
--- layout: none --- <?xml version="1.0" encoding="utf-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/atom"> <channel> <title>{{ site.title | xml_escape }}</title> <description>{{ site.description | xml_escape }}</description> <link>{{ site.url }}{{ site.baseurl }}/</link> <atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml" /> <pubdate>{{ site.time | date_to_rfc822 }}</pubdate> <lastbuilddate>{{ site.time | date_to_rfc822 }}</lastbuilddate> <generator>jekyll v{{ jekyll.version }}</generator> {% post in site.posts limit:10 %} <item> <title>{{ post.title | xml_escape }}</title> <description>{{ post.content | xml_escape }}</description> <pubdate>{{ post.date | date_to_rfc822 }}</pubdate> <link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link> <guid ispermalink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid> {% tag in post.tags %} <category>{{ tag | xml_escape }}</category> {% endfor %} {% cat in post.categories %} <category>{{ cat | xml_escape }}</category> {% endfor %} </item> {% endfor %} </channel> </rss>
the correct expression :
--- layout: null ---
Comments
Post a Comment