From 34c1407e7777daa7cf3f7bfbf11c91ccbe9b1fc6 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 15 Jul 2011 12:12:44 +0000 Subject: [PATCH] move blog templates into their own directory --- webcit/blogview_renderer.c | 2 +- .../static/t/{view_blog_comment.html => view_blog/comment.html} | 0 .../t/{blog_comment_box.html => view_blog/comment_box.html} | 0 webcit/static/t/{view_blog_post.html => view_blog/post.html} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename webcit/static/t/{view_blog_comment.html => view_blog/comment.html} (100%) rename webcit/static/t/{blog_comment_box.html => view_blog/comment_box.html} (100%) rename webcit/static/t/{view_blog_post.html => view_blog/post.html} (100%) diff --git a/webcit/blogview_renderer.c b/webcit/blogview_renderer.c index f22c61dce..2254b9c05 100644 --- a/webcit/blogview_renderer.c +++ b/webcit/blogview_renderer.c @@ -69,7 +69,7 @@ void blogpost_render(struct blogpost *bp, int with_comments) for (i=1; inum_msgs; ++i) { read_message(WC->WBuf, HKEY("view_blog_comment"), bp->msgs[i], NULL, &Mime); } - do_template("blog_comment_box"); + do_template("view_blog_comment_box"); } else { diff --git a/webcit/static/t/view_blog_comment.html b/webcit/static/t/view_blog/comment.html similarity index 100% rename from webcit/static/t/view_blog_comment.html rename to webcit/static/t/view_blog/comment.html diff --git a/webcit/static/t/blog_comment_box.html b/webcit/static/t/view_blog/comment_box.html similarity index 100% rename from webcit/static/t/blog_comment_box.html rename to webcit/static/t/view_blog/comment_box.html diff --git a/webcit/static/t/view_blog_post.html b/webcit/static/t/view_blog/post.html similarity index 100% rename from webcit/static/t/view_blog_post.html rename to webcit/static/t/view_blog/post.html -- 2.30.2