Commits

Fred T-H committed 4a52da3 Merge

Merge from default

Comments (0)

Files changed (4)

 And the Blogerl release is compiled. Try to compile the blogerl demo blog:
 
 	cd ../demo-blog
-	./run sh
+	./run.sh
 
 And open the files in demo-blog/compiled/ a browser.
 

demo-blog/src/markdown.md.tpl

 
 __Aliquam lorem arcu__, ornare ac porttitor at, blandit sit amet mi. Phasellus cursus facilisis lectus, et consequat neque elementum nec. Suspendisse auctor mollis turpis, nec volutpat augue sagittis at. Vivamus vitae metus non tellus ultricies imperdiet et eu risus. Nunc non augue orci.
 
-Aliquam mi tellus, condimentum id blandit nec, fringilla nec lectus. Nulla facilisi. <a href="">Praesent eget felis dolor</a>. Pellentesque ultricies, [urna sed](http://ferd.ca) tempor dapibus, nulla lorem vestibulum justo, nec tincidunt turpis urna quis eros. Aliquam erat lectus, varius sed mollis quis, pretium sed est. Aliquam erat volutpat. Nulla porta congue neque, nec ornare lectus cursus id. Morbi eros est, fringilla id bibendum et, commodo ac nisl. Cras viverra dapibus molestie.
+Aliquam mi tellus, condimentum id blandit nec, fringilla nec lectus. Nulla facilisi. <a href="http://example.org">Praesent eget felis dolor</a>. Pellentesque ultricies, [urna sed](http://ferd.ca) tempor dapibus, nulla lorem vestibulum justo, nec tincidunt turpis urna quis eros. Aliquam erat lectus, varius sed mollis quis, pretium sed est. Aliquam erat volutpat. Nulla porta congue neque, nec ornare lectus cursus id. Morbi eros est, fringilla id bibendum et, commodo ac nisl. Cras viverra dapibus molestie.
 
 ### Section 2 with rather longer titles to see how they do when compressed.
 

demo-blog/src/rss.tpl

     <language>en-us</language>
     <pubDate>{{ latest_date }}</pubDate>
     <lastBuildDate>{{ latest_date }}</lastBuildDate>
-	<ttl>60</ttl>
-	
+    <ttl>60</ttl>
+
     {% for article in articles %}
     <item>
-      <title>{{ article.title }}</title>
+      <title>{{ article.title|escape }}</title>
       <link>{{ url.base }}{{ article.slug }}.html</link>
       <description>{{ article.desc }}</description>
       <pubDate>{{ article.date }}</pubDate>
 {require_otp_vsn, "R14|R15"}.
 {lib_dirs, ["apps","deps"]}.
+{sub_dirs, ["apps/blogerl"]}.
 {deps_dir, "deps"}.
 {deps, [{erlydtl,  ".*", {git, "git://github.com/evanmiller/erlydtl.git", "master"}},
         {mochiweb, ".*", {git, "git://github.com/mochi/mochiweb.git", "master"}},
-        {markdown, ".*", {git, "git://github.com/hypernumbers/erlmarkdown.git", "master"}}]}.
+        {markdown, ".*", {git, "https://github.com/erlware/erlmarkdown.git", "22298f62b973d1aa1c344c1b23a22ce66fad1659"}}]}.