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