ruby - Liquid Exception in atom.xml -


i using octopress write blog. did not support tex, sought guidance online. in end, failed use tex&markdown.

to make problem worse, following problem occurs:

lo@lo:~/blog/octopress$ rake generate ## generating site jekyll unchanged sass/screen.scss unchanged sass/syntax/syntax.scss unchanged sass/bootstrap/responsive.scss unchanged sass/bootstrap/bootstrap.scss configuration /home/lo/blog/octopress/_config.yml building site: source -> public liquid exception: variable '{{' not terminated regexp: /\}\}/  in    atom.xml liquid exception: variable '{{' not terminated regexp: /\}\}/  in atom.xml liquid exception: variable '{{' not terminated regexp: /\}\}/  in atom.xml generated site: source -> public lo@lo:~/blog/octopress$` 

now have no idea how fix it.

i tried diff files in /octopress , /octopress.bk.
in end, find had used wrong grammars in *.markdown.

i wrote \{\{\{ \}\}\}, lead problem. solved it.

seems atom.xml file changed. can find in root of folder contains website. need find unmatched {{ tag }}. 1 of brackets missing, {{ 1 } closing it.

here default atom.xml file can use example:

--- layout: nil --- <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/atom">   <title>your title</title>  <link href="http://www.example.com/atom.xml" rel="self"/>  <link href="http://www.example.com/"/>  <updated>{{ site.time | date_to_xmlschema }}</updated>  <id>http://www.example.com/</id>  <author>    <name>your name/name>    <email>your email</email>  </author>   {% post in site.posts %}  <entry>    <title>{{ post.title }}</title>    <link href="http://www.example.com{{ post.url }}"/>    <updated>{{ post.date | date_to_xmlschema }}</updated>    <id>http://www.example.com{{ post.id }}</id>    <content type="html">{{ post.content | xml_escape }}</content>  </entry>  {% endfor %}  </feed> 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -