2020-10-11 22:16:00 +02:00
|
|
|
from django.urls import path
|
2020-12-18 19:30:09 +01:00
|
|
|
from .views import MarkdownPageView
|
2020-10-11 22:16:00 +02:00
|
|
|
|
2020-12-27 12:48:08 +01:00
|
|
|
app_name = "website"
|
2020-10-11 22:16:00 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
2020-12-18 19:30:09 +01:00
|
|
|
path("", MarkdownPageView.as_view(), {"slug": ""}, name="home"),
|
|
|
|
path("<slug:slug>/", MarkdownPageView.as_view(), name="md_page"),
|
2020-10-11 22:16:00 +02:00
|
|
|
]
|