Skip to content

Commit

Permalink
Remove slug generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Shark committed Apr 21, 2020
1 parent 9fea77c commit aee2b58
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
4 changes: 1 addition & 3 deletions assets/content.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { parseISO, compareAsc } from 'date-fns'
import { slugify } from '~/assets/slug'
import status from '~/content/status.yaml'
import yamlMilestones from '~/content/milestones.yaml'
import links from '~/content/links.yaml'
Expand All @@ -17,8 +16,7 @@ const events = Object.values(yamlEvents).map((e) => {
return {
...e,
type: 'event',
date: parseISO(e.date),
slug: slugify(e.name)
date: parseISO(e.date)
}
})
const milestones = yamlMilestones.map((m) => {
Expand Down
20 changes: 0 additions & 20 deletions assets/slug.js

This file was deleted.

1 change: 1 addition & 0 deletions content/events/00_qa-session.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
slug: qa-session
name: Q&A Session
date: "2020-04-14T20:00:00+02:00"
description: |
Expand Down
1 change: 1 addition & 0 deletions content/events/01_kick-off.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
slug: kick-off
name: Semester Kick-Off
date: "2020-04-23T20:00:00+02:00"
description: |
Expand Down

0 comments on commit aee2b58

Please sign in to comment.