feat: Adds markdown view for hugo rendering

This commit is contained in:
Vincent Mahnke 2025-11-12 20:53:22 +01:00
commit 95b97a7704
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469
3 changed files with 140 additions and 4 deletions

View file

@ -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',
),
]