diff options
Diffstat (limited to 'app/views/content/_main_navigation.html.erb')
| -rw-r--r-- | app/views/content/_main_navigation.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/content/_main_navigation.html.erb b/app/views/content/_main_navigation.html.erb new file mode 100644 index 00000000..3160fd41 --- /dev/null +++ b/app/views/content/_main_navigation.html.erb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | <div id="main_navigation"> | ||
| 2 | <ul> | ||
| 3 | <% nodes.each do |node| %> | ||
| 4 | <li><%= link_to node.head.try(:title), node.unique_name %></li> | ||
| 5 | <% end %> | ||
| 6 | </ul> | ||
| 7 | </div> \ No newline at end of file | ||
