diff examples/blog/src/index.html.luan @ 1217:4c2972f4d862

.html in examples
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 20 Mar 2018 15:43:16 -0600
parents 5dbb552075ff
children bc40bc9aab3a
line wrap: on
line diff
--- a/examples/blog/src/index.html.luan	Tue Mar 20 15:27:08 2018 -0600
+++ b/examples/blog/src/index.html.luan	Tue Mar 20 15:43:16 2018 -0600
@@ -31,7 +31,7 @@
 			<input type=submit value=Search>
 		</form>
 
-		<div><a href="new">Make New Post</a></div>
+		<div><a href="new.html">Make New Post</a></div>
 
 		<%
 		local posts = query and Post.search(query) or Post.get_all()
@@ -39,7 +39,7 @@
 			%>
 			<a name="p<%= post.id %>">
 			<h2><%= post.subject %></h2>
-			<p><%= Time.format(post.date) %> - <a href="edit?post=<%= post.id %>">Edit</a></p>
+			<p><%= Time.format(post.date) %> - <a href="edit.html?post=<%= post.id %>">Edit</a></p>
 			<pre><%= bbcode_to_html(html_encode(post.content)) %></pre>
 			<hr>
 			<%