denshoproject / ddr-public

Web UI for publishing DDR collections.
Other
1 stars 1 forks source link

Missing robots.txt #159

Open GeoffFroh opened 4 years ago

gjost commented 4 years ago

Fixed in ddr-public commit 4b1e5dc for the next package.

Instead of just a static file I installed the django-robots package. This lets you adjust exclusion rules using the Django shell (or admin ui which we don't use) and does the formatting properly. If we want to change this we can revisit.

gjost commented 4 years ago

Note to self: run this as part of the install:

from django.contrib.sites.models import Site
s = Site.objects.get(id=1)
s.title = 'Densho Digital Repository'
s.domain = 'ddr.densho.org'
s.save()