<%= erb :header %>

<%= @filename %>

<% @content.each do |line| %> <% if line =~ /^include\(/ dn = File.dirname(@filename) result = line.match /^include\s*\('(?\S+)'\)/ if result.nil? %>

<%= line %>

<% else link = File.join(dn, result[:fl]) %>

<%= line %>

<% end else %>

<%= line %>

<% end %> <% end %>
<%= erb :footer %>