from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='home'),
    path('news/<slug:slug>/', views.news_detail, name='news_detail'),
    path('category/<slug:slug>/', views.category_news, name='category_news'),
    path('tag/<slug:slug>/', views.tag_news, name='tag_news'),
    path('search/', views.search, name='search'),
    path('comment/<int:news_id>/', views.submit_comment, name='submit_comment'),
]
