STUB
This commit is contained in:
parent
d57e9660ac
commit
8a9aeaa01f
4 changed files with 11 additions and 1 deletions
1
Rules
1
Rules
|
@ -48,6 +48,7 @@ compile '/stylesheets/*.{sass,scss}' do
|
||||||
end
|
end
|
||||||
|
|
||||||
compile '/*.erb' do
|
compile '/*.erb' do
|
||||||
|
filter :erb
|
||||||
write item.identifier.without_ext
|
write item.identifier.without_ext
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
1
content/verenigingen.json.erb
Normal file
1
content/verenigingen.json.erb
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<%= to_json(verenigingen) %>
|
|
@ -11,4 +11,12 @@ module VerenigingenHelper
|
||||||
def konvents
|
def konvents
|
||||||
@items.find_all("**/verenigingen/*").map{|x| x[:konvent]}.uniq.compact
|
@items.find_all("**/verenigingen/*").map{|x| x[:konvent]}.uniq.compact
|
||||||
end
|
end
|
||||||
end
|
def verenigingen
|
||||||
|
@items.find_all("**/verenigingen/*").map{|x| {
|
||||||
|
"titel" => x[:titel],
|
||||||
|
"naam" => x[:naam],
|
||||||
|
"konvent" => x[:konvent],
|
||||||
|
"themas" => x[:themas]
|
||||||
|
}}.to_a
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue