diff --git a/_config.yml b/_config.yml index 90e740a..49c2176 100644 --- a/_config.yml +++ b/_config.yml @@ -29,3 +29,4 @@ paginate_path: "blog/older:num" collections: events: output: true + permalink: /:events/:events diff --git a/events/index.html b/events/index.html index e6db4b5..4bcd0d5 100644 --- a/events/index.html +++ b/events/index.html @@ -4,10 +4,10 @@ section_id: event title: Events --- -{% for item in site.events %} -

{{ item.title }}

-

{{ item.date }}

-

{{ item.title }}

+{% for event in site.events %} +

{{ event.title }}

+

{{ event.date }}

+

{{ event.title }}

{% endfor %}