From a17bf3f7ab0d578a14b59847472647c4701f0ff1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Jun 2013 19:46:56 -0300 Subject: Templating fix (3) --- templates/site.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/site.erb b/templates/site.erb index acd5c33..34d1b06 100644 --- a/templates/site.erb +++ b/templates/site.erb @@ -32,7 +32,9 @@ RewriteCond %{HTTP_HOST} !=<%= canonical %> [NC] RewriteCond %{HTTP_HOST} !="" RewriteRule ^/(.*) <%= protocol %>://<%= canonical %>/$1 [L,R=301] -<%- if custom_directives != false -%><%= custom_directives %><%- end -%> +<%- if custom_directives != false -%> + <%= custom_directives %> +<%- end -%> <% end %> # end vhost for <%= title %> @@ -50,9 +52,9 @@ <% if use != false %><% use.each do |instance| -%> Use <%= instance %> <% end -%><% end -%> -<% if custom_directives != false %> +<%- if custom_directives != false -%> <%= custom_directives %> -<% end %> +<%- end -%> <% if mpm == true %> AssignUserId <%= user %> <%= gid %> -- cgit v1.2.3