@@ -1,26 +1,27 | |||
|
1 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
3 | 3 | <head> |
|
4 | 4 | <title><%=h @wiki.project.name %></title> |
|
5 | 5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
6 | 6 | <style> |
|
7 | 7 | body { font:80% Verdana,Tahoma,Arial,sans-serif; } |
|
8 | 8 | h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; } |
|
9 | 9 | </style> |
|
10 | 10 | </head> |
|
11 | 11 | <body> |
|
12 | 12 | |
|
13 | 13 | <strong><%= l(:label_page_index) %></strong> |
|
14 | 14 | <ul> |
|
15 | 15 | <% @pages.each do |page| %> |
|
16 | 16 | <li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li> |
|
17 | 17 | <% end %> |
|
18 | 18 | </ul> |
|
19 | 19 | |
|
20 | 20 | <% @pages.each do |page| %> |
|
21 | 21 | <hr /> |
|
22 | <a name="<%= page.title %>" /> | |
|
22 | 23 | <%= textilizable page.content.text, :wiki_links => :anchor %> |
|
23 | 24 | <% end %> |
|
24 | 25 | |
|
25 | 26 | </body> |
|
26 | 27 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now