feat: Adds markdown view for hugo rendering
This commit is contained in:
parent
20f30f831e
commit
95b97a7704
3 changed files with 140 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from django.urls import path
|
||||
from .api import CongressScheduleView
|
||||
from .api import CongressScheduleView, HackertoursMarkdownView
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
|
|
@ -7,4 +7,9 @@ urlpatterns = [
|
|||
CongressScheduleView.as_view(),
|
||||
name='schedule-xml',
|
||||
),
|
||||
path(
|
||||
'api/v1/event/<str:organizer>/<str:event>/schedule.md',
|
||||
HackertoursMarkdownView.as_view(),
|
||||
name='schedule-md',
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue