Show More
@@ -0,0 +1,8 b'' | |||||
|
1 | User-agent: * | |||
|
2 | Disallow: /notifications/ | |||
|
3 | Disallow: /api/ | |||
|
4 | Disallow: /random/ | |||
|
5 | Disallow: /search/ | |||
|
6 | Disallow: /feed/ | |||
|
7 | Disallow: /settings/ | |||
|
8 | Disallow: /admin/ No newline at end of file |
@@ -1,5 +1,6 b'' | |||||
1 | from django.conf.urls import url |
|
1 | from django.conf.urls import url | |
2 | from django.urls import path |
|
2 | from django.urls import path | |
|
3 | from django.views.generic import TemplateView | |||
3 | from django.views.i18n import JavaScriptCatalog |
|
4 | from django.views.i18n import JavaScriptCatalog | |
4 |
|
5 | |||
5 | from boards import views |
|
6 | from boards import views | |
@@ -87,5 +88,9 b' urlpatterns = [' | |||||
87 | path('preview/', PostPreviewView.as_view(), name='preview'), |
|
88 | path('preview/', PostPreviewView.as_view(), name='preview'), | |
88 | path('post_xml/<int:post_id>', get_post_sync_data, |
|
89 | path('post_xml/<int:post_id>', get_post_sync_data, | |
89 | name='post_sync_data'), |
|
90 | name='post_sync_data'), | |
|
91 | ||||
|
92 | # Robots | |||
|
93 | path('robots.txt', TemplateView.as_view(template_name='boards/robots.txt', | |||
|
94 | content_type='text/plain')) | |||
90 | ] |
|
95 | ] | |
91 |
|
96 |
General Comments 0
You need to be logged in to leave comments.
Login now