Correct selection
This commit is contained in:
parent
1158d39c57
commit
5dad6d53a1
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
|
def get_events()
|
||||||
|
items.select { |i| (i[:kind]=='event') && i.identifier.start_with?('/events') }
|
||||||
|
end
|
||||||
|
|
||||||
def generate_event_pages()
|
def generate_event_pages()
|
||||||
articles = items.select { |i| i[:kind] == 'event' }
|
articles = get_events()
|
||||||
generate_yearly_archive(articles, :startdate, '/events', 'Veranstaltungen des CCC Stuttgart', 'event_archive')
|
generate_yearly_archive(articles, :startdate, '/events', 'Veranstaltungen des CCC Stuttgart', 'event_archive')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue