Generate event archive
This commit is contained in:
parent
a18e920e2b
commit
c8c5bde4f4
3 changed files with 18 additions and 1 deletions
5
lib/eventhelpers.rb
Normal file
5
lib/eventhelpers.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
def generate_event_pages()
|
||||
articles = items.select { |i| i[:kind] == 'event' }
|
||||
generate_yearly_archive(articles, :startdate, '/events', 'Veranstaltungen', 'event_archive')
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue