Commit 8c77dbf2 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Template slightly straightend out

parent 9fd21a83
<%= template_header %>
<% Hash[@config.sort].each do |section, attributes| -%>
<%- Hash[@config.sort].each do |section, attributes| -%>
[<%= section %>]
<% Hash[attributes.sort].each do |key, value|
value = value.join(' ') if value.kind_of?(Array) -%>
<%= key %>=<%= value %>
<% end -%>
<%- Hash[attributes.sort].each do |key, value| -%>
<%= key %>=<%= value.kind_of?(Array) ? value.join(' ') : value %>
<%- end -%>
<% end -%>
<%- end -%>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment