From feab46e1814dab2ced801649344ed92c51716849 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 21 Mar 2010 10:58:23 -0300 Subject: Adding 'aliases' parameter --- templates/site.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/site.erb') diff --git a/templates/site.erb b/templates/site.erb index 18fce97..4f5f3a1 100644 --- a/templates/site.erb +++ b/templates/site.erb @@ -5,6 +5,9 @@ DocumentRoot <%= docroot %> <% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= hosting_domain %>/<%= redirect_match %><% end %> <% if redirect != false %> Redirect <%= redirect %><% end %> +<% if aliases != false %><% aliases.each do |map| -%> + Alias <%= map %> +<% end -%><% end -%> <% if use != false %><% use.each do |instance| -%> Use <%= instance %> <% end -%><% end -%> -- cgit v1.2.3