lib/siteleaf/site.rb in siteleaf-1.0.3 vs lib/siteleaf/site.rb in siteleaf-1.0.4
- old
+ new
@@ -58,10 +58,10 @@
attrs['title'] = title
attrs['url'] = "http://#{domain}"
attrs['timezone'] = timezone
attrs['permalink'] = 'pretty'
- meta.each{|m| attrs[m['key']] = m['value'] == '' ? nil : m['value'].to_s.gsub("\r\n","\n")} unless meta.nil?
+ meta.each{|m| attrs[m['key']] = m['value'].to_s == '' ? nil : m['value'].to_s.gsub("\r\n","\n")} unless meta.nil?
# output uploads using v1 /assets path
attrs['collections'] = {
'uploads' => {
'title' => 'Uploads',
\ No newline at end of file