From 448cdc52bb8bfd57dcf34d16b435d035ae6116ea Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sat, 19 Apr 2014 21:25:07 -0400 Subject: [PATCH] Render doc list in index page html for search engines --- views/app.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/views/app.erb b/views/app.erb index 976fc064..ed2d87ee 100644 --- a/views/app.erb +++ b/views/app.erb @@ -17,7 +17,13 @@
-
+
+ <% unless @doc %> + <% App.docs.each do |slug, doc| %> + <%= doc['name'] %> + <% end %> + <% end %> +