diff --git a/Rules b/Rules index 3bc827f..146f9c0 100644 --- a/Rules +++ b/Rules @@ -6,7 +6,8 @@ preprocess do themas.each do |thema| content = '' attributes = { - naam: thema + identifier: thema, + naam: thema.capitalize } identifier = "/themas/#{thema}" diff --git a/layouts/verenigingen.erb b/layouts/verenigingen.erb index 0eb1e09..2d76b9d 100644 --- a/layouts/verenigingen.erb +++ b/layouts/verenigingen.erb @@ -5,7 +5,7 @@ <% for thema in themas %>
- <%= @items["/assets/themas_icon/"+thema[:naam]+".svg"].compiled_content %> + <%= @items["/assets/themas_icon/"+thema[:identifier]+".svg"].compiled_content %>

<%= thema[:naam] %>